Trying as-is on armhf:

After install I see the reported fail:
$ systemctl status chrony
● chrony.service - chrony, an NTP client/server
     Loaded: loaded (/lib/systemd/system/chrony.service; enabled; vendor 
preset: enabled)
     Active: failed (Result: protocol) since Wed 2020-05-27 08:40:07 UTC; 1min 
18s ago
       Docs: man:chronyd(8)
             man:chronyc(1)
             man:chrony.conf(5)

May 27 08:40:06 ubuntu systemd[1]: Starting chrony, an NTP client/server...
May 27 08:40:06 ubuntu chronyd[27223]: chronyd version 3.5 starting (+CMDMON 
+NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +SECHASH +IPV6 -DEBUG)
May 27 08:40:06 ubuntu chronyd[27223]: Initial frequency 11.023 ppm
May 27 08:40:07 ubuntu systemd[1]: chrony.service: New main PID 27223 does not 
exist or is a zombie.
May 27 08:40:07 ubuntu systemd[1]: chrony.service: Failed with result 
'protocol'.
May 27 08:40:07 ubuntu systemd[1]: Failed to start chrony, an NTP client/server.


Trying the daemon directly:
$ sudo chronyd -d -n -F 1
2020-05-27T08:43:29Z chronyd version 3.5 starting (+CMDMON +NTP +REFCLOCK +RTC 
+PRIVDROP +SCFILTER +SIGND +ASYNCDNS +SECHASH +IPV6 -DEBUG)
2020-05-27T08:43:29Z Frequency 18.044 +/- 39.335 ppm read from 
/var/lib/chrony/chrony.drift
Bad system call

Installing the fix from proposed:

Upgrade works:
$ sudo apt install chrony
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  chrony
1 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
Need to get 201 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports focal-proposed/main armhf chrony 
armhf 3.5-6ubuntu6.1 [201 kB]
Fetched 201 kB in 0s (1241 kB/s)
(Reading database ... 99010 files and directories currently installed.)
Preparing to unpack .../chrony_3.5-6ubuntu6.1_armhf.deb ...
Unpacking chrony (3.5-6ubuntu6.1) over (3.5-6ubuntu6) ...
Setting up chrony (3.5-6ubuntu6.1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for systemd (245.4-4ubuntu3.1) ...


Now the process is fine

$ systemctl status chrony
● chrony.service - chrony, an NTP client/server
     Loaded: loaded (/lib/systemd/system/chrony.service; enabled; vendor 
preset: enabled)
     Active: active (running) since Wed 2020-05-27 08:47:50 UTC; 58s ago
       Docs: man:chronyd(8)
             man:chronyc(1)
             man:chrony.conf(5)
   Main PID: 28356 (chronyd)
      Tasks: 2 (limit: 4915)
     CGroup: /system.slice/chrony.service
             ├─28356 /usr/sbin/chronyd -F -1
             └─28357 /usr/sbin/chronyd -F -1

May 27 08:47:50 ubuntu systemd[1]: Starting chrony, an NTP client/server...
May 27 08:47:50 ubuntu chronyd[28356]: chronyd version 3.5 starting (+CMDMON 
+NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +SECHASH +IPV6 -DEBUG)
May 27 08:47:50 ubuntu chronyd[28356]: Frequency 18.044 +/- 39.335 ppm read 
from /var/lib/chrony/chrony.drift
May 27 08:47:50 ubuntu chronyd[28356]: Loaded seccomp filter
May 27 08:47:50 ubuntu systemd[1]: Started chrony, an NTP client/server.
May 27 08:47:59 ubuntu chronyd[28356]: Selected source 131.188.3.220


When running directly no abort after seccomp filter is applied:

$ sudo chronyd -d -n -F 1
2020-05-27T08:49:24Z chronyd version 3.5 starting (+CMDMON +NTP +REFCLOCK +RTC 
+PRIVDROP +SCFILTER +SIGND +ASYNCDNS +SECHASH +IPV6 -DEBUG)
2020-05-27T08:49:24Z Frequency 14.709 +/- 17.455 ppm read from 
/var/lib/chrony/chrony.drift
2020-05-27T08:49:24Z Loaded seccomp filter
2020-05-27T08:49:33Z Selected source 131.188.3.220

Setting tags as being verified

** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878005

Title:
  Chrony crashes on install from raspberry pi 2

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to