← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1756987] [NEW] chrony install does not stop systemd-timesyncd

 

Public bug reported:

1.
root@ubuntu:~# lsb_release -rd
Description:	Ubuntu 16.04.4 LTS
Release:	16.04

root@ubuntu:~# uname -a
Linux ubuntu 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

2. 
root@ubuntu:~# apt-cache policy systemd
systemd:
  Installed: 229-4ubuntu21.1
  Candidate: 229-4ubuntu21.1
  Version table:
 *** 229-4ubuntu21.1 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        100 /var/lib/dpkg/status
     229-4ubuntu4 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
root@ubuntu:~# apt-cache policy chrony
chrony:
  Installed: 2.1.1-1
  Candidate: 2.1.1-1
  Version table:
 *** 2.1.1-1 500
        500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

3. installing chrony should stop systemd-timesyncd so they both don't
try to adjust time

4. after chrony is installed both systemd-timesyncd and chronyd are
running.

root@ubuntu:~# ps aux | egrep "(chrony|timesync)"
systemd+  1086  0.0  0.2 100324  2368 ?        Ssl  19:34   0:00 /lib/systemd/systemd-timesyncd
_chrony   2770  0.0  0.2 105780  2920 ?        S    19:38   0:00 /usr/sbin/chronyd
root      3077  0.0  0.0  12944   924 pts/0    S+   19:52   0:00 grep -E --color=auto (chrony|timesync)


Note, on bionic the chrony package successfully stops systemd-timesyncd and only chronyd remains running after install.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: chrony 2.1.1-1
ProcVersionSignature: Ubuntu 4.4.0-116.140-generic 4.4.98
Uname: Linux 4.4.0-116-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Mon Mar 19 19:51:06 2018
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: chrony
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: chrony (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: chrony (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: chrony (Ubuntu Artful)
     Importance: Undecided
         Status: New

** Affects: chrony (Ubuntu Bionic)
     Importance: Undecided
         Status: Fix Released


** Tags: amd64 apport-bug uec-images xenial

** Also affects: chrony (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: chrony (Ubuntu Artful)
   Importance: Undecided
       Status: New

** Also affects: chrony (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: chrony (Ubuntu Bionic)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1756987

Title:
  chrony install does not stop systemd-timesyncd

Status in chrony package in Ubuntu:
  Fix Released
Status in chrony source package in Xenial:
  New
Status in chrony source package in Artful:
  New
Status in chrony source package in Bionic:
  Fix Released

Bug description:
  1.
  root@ubuntu:~# lsb_release -rd
  Description:	Ubuntu 16.04.4 LTS
  Release:	16.04

  root@ubuntu:~# uname -a
  Linux ubuntu 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

  2. 
  root@ubuntu:~# apt-cache policy systemd
  systemd:
    Installed: 229-4ubuntu21.1
    Candidate: 229-4ubuntu21.1
    Version table:
   *** 229-4ubuntu21.1 500
          500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
          500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
          100 /var/lib/dpkg/status
       229-4ubuntu4 500
          500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
  root@ubuntu:~# apt-cache policy chrony
  chrony:
    Installed: 2.1.1-1
    Candidate: 2.1.1-1
    Version table:
   *** 2.1.1-1 500
          500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
          100 /var/lib/dpkg/status

  3. installing chrony should stop systemd-timesyncd so they both don't
  try to adjust time

  4. after chrony is installed both systemd-timesyncd and chronyd are
  running.

  root@ubuntu:~# ps aux | egrep "(chrony|timesync)"
  systemd+  1086  0.0  0.2 100324  2368 ?        Ssl  19:34   0:00 /lib/systemd/systemd-timesyncd
  _chrony   2770  0.0  0.2 105780  2920 ?        S    19:38   0:00 /usr/sbin/chronyd
  root      3077  0.0  0.0  12944   924 pts/0    S+   19:52   0:00 grep -E --color=auto (chrony|timesync)

  
  Note, on bionic the chrony package successfully stops systemd-timesyncd and only chronyd remains running after install.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: chrony 2.1.1-1
  ProcVersionSignature: Ubuntu 4.4.0-116.140-generic 4.4.98
  Uname: Linux 4.4.0-116-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  Date: Mon Mar 19 19:51:06 2018
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: chrony
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chrony/+bug/1756987/+subscriptions


Follow ups