Activity log for bug #1937238

Date Who What changed Old value New value Message
2021-07-22 09:40:53 Rasmus Bondesson bug added bug
2021-07-23 15:38:46 Dan Streetman description When I start my server running Ubuntu 20.04 the systemd-time-wait-sync.service is stuck in "activating" state. I noticed this because none of the systemd timer units triggered, because all the timers depend on systemd-time-wait-sync.service. Running "systemctl restart systemd-time-wait-sync.service" manually works around the problem. Some logs and command outputs: raek@mizar:~$ lsb_release -rd Description: Ubuntu 20.04.2 LTS Release: 20.04 raek@mizar:~$ systemctl | grep systemd-time-wait-sync.service systemd-time-wait-sync.service loaded activating start start Wait Until Kernel Time Synchronized raek@mizar:~$ systemctl status systemd-time-wait-sync.service ● systemd-time-wait-sync.service - Wait Until Kernel Time Synchronized Loaded: loaded (/lib/systemd/system/systemd-time-wait-sync.service; enabled; vendor preset: enabled) Active: activating (start) since Thu 2021-07-22 11:06:52 CEST; 27min ago Docs: man:systemd-time-wait-sync.service(8) Main PID: 514 (systemd-time-wa) Tasks: 1 (limit: 9415) Memory: 972.0K CGroup: /system.slice/systemd-time-wait-sync.service └─514 /lib/systemd/systemd-time-wait-sync Jul 22 11:06:52 mizar systemd-time-wait-sync[514]: adjtime state 5 status 40 time Thu 2021-07-22 09:06:52.216338 UTC Warning: journal has been rotated since unit was started, output may be incomplete. raek@mizar:~$ journalctl -b -u systemd-time-wait-sync.service -- Logs begin at Wed 2020-07-08 16:34:13 CEST, end at Thu 2021-07-22 11:36:44 CEST. -- Jul 22 11:06:52 mizar systemd-time-wait-sync[514]: adjtime state 5 status 40 time Thu 2021-07-22 09:06:52.216338 UTC raek@mizar:~$ dpkg -S /lib/systemd/system/systemd-time-wait-sync.service systemd: /lib/systemd/system/systemd-time-wait-sync.service raek@mizar:~$ apt-cache policy systemd systemd: Installed: 245.4-4ubuntu3.11 Candidate: 245.4-4ubuntu3.11 Version table: *** 245.4-4ubuntu3.11 500 500 http://se.archive.ubuntu.com/ubuntu focal-security/main amd64 Packages 100 /var/lib/dpkg/status 245.4-4ubuntu3.10 500 500 http://se.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages 245.4-4ubuntu3.8 400 400 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages 245.4-4ubuntu3 500 500 http://se.archive.ubuntu.com/ubuntu focal/main amd64 Packages [impact] systemd-time-wait-sync service never completes when systemd-timesyncd package is not installed [test case] remove the systemd-timesyncd package and enable the systemd-time-wait-sync service, and reboot. Check status of the service to see it's stuck in 'activating' state, e.g.: ubuntu@lp1937238-f:~$ sudo systemctl status systemd-time-wait-sync.service ● systemd-time-wait-sync.service - Wait Until Kernel Time Synchronized Loaded: loaded (/lib/systemd/system/systemd-time-wait-sync.service; enabled; vendor preset: enabled) Active: activating (start) since Fri 2021-07-23 15:32:12 UTC; 19s ago [regression potential] TBD [scope] this is needed in f and later the systemd-timesyncd package was split out from the main systemd package starting in focal, so this problem exists in f and later the service doesn't exist in b, so this is not needed there [original description] When I start my server running Ubuntu 20.04 the systemd-time-wait-sync.service is stuck in "activating" state. I noticed this because none of the systemd timer units triggered, because all the timers depend on systemd-time-wait-sync.service. Running "systemctl restart systemd-time-wait-sync.service" manually works around the problem. Some logs and command outputs: raek@mizar:~$ lsb_release -rd Description: Ubuntu 20.04.2 LTS Release: 20.04 raek@mizar:~$ systemctl | grep systemd-time-wait-sync.service   systemd-time-wait-sync.service loaded activating start start Wait Until Kernel Time Synchronized raek@mizar:~$ systemctl status systemd-time-wait-sync.service ● systemd-time-wait-sync.service - Wait Until Kernel Time Synchronized      Loaded: loaded (/lib/systemd/system/systemd-time-wait-sync.service; enabled; vendor preset: enabled)      Active: activating (start) since Thu 2021-07-22 11:06:52 CEST; 27min ago        Docs: man:systemd-time-wait-sync.service(8)    Main PID: 514 (systemd-time-wa)       Tasks: 1 (limit: 9415)      Memory: 972.0K      CGroup: /system.slice/systemd-time-wait-sync.service              └─514 /lib/systemd/systemd-time-wait-sync Jul 22 11:06:52 mizar systemd-time-wait-sync[514]: adjtime state 5 status 40 time Thu 2021-07-22 09:06:52.216338 UTC Warning: journal has been rotated since unit was started, output may be incomplete. raek@mizar:~$ journalctl -b -u systemd-time-wait-sync.service -- Logs begin at Wed 2020-07-08 16:34:13 CEST, end at Thu 2021-07-22 11:36:44 CEST. -- Jul 22 11:06:52 mizar systemd-time-wait-sync[514]: adjtime state 5 status 40 time Thu 2021-07-22 09:06:52.216338 UTC raek@mizar:~$ dpkg -S /lib/systemd/system/systemd-time-wait-sync.service systemd: /lib/systemd/system/systemd-time-wait-sync.service raek@mizar:~$ apt-cache policy systemd systemd:   Installed: 245.4-4ubuntu3.11   Candidate: 245.4-4ubuntu3.11   Version table:  *** 245.4-4ubuntu3.11 500         500 http://se.archive.ubuntu.com/ubuntu focal-security/main amd64 Packages         100 /var/lib/dpkg/status      245.4-4ubuntu3.10 500         500 http://se.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages      245.4-4ubuntu3.8 400         400 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages      245.4-4ubuntu3 500         500 http://se.archive.ubuntu.com/ubuntu focal/main amd64 Packages
2021-07-23 15:38:54 Dan Streetman nominated for series Ubuntu Focal
2021-07-23 15:38:54 Dan Streetman bug task added systemd (Ubuntu Focal)
2021-07-23 15:38:54 Dan Streetman nominated for series Ubuntu Hirsute
2021-07-23 15:38:54 Dan Streetman bug task added systemd (Ubuntu Hirsute)
2021-07-23 15:38:54 Dan Streetman nominated for series Ubuntu Groovy
2021-07-23 15:38:54 Dan Streetman bug task added systemd (Ubuntu Groovy)
2021-07-23 15:38:54 Dan Streetman nominated for series Ubuntu Impish
2021-07-23 15:38:54 Dan Streetman bug task added systemd (Ubuntu Impish)
2021-07-23 15:39:06 Dan Streetman bug added subscriber Dan Streetman
2021-07-26 15:48:41 Dan Streetman bug task deleted systemd (Ubuntu Focal)
2021-07-26 15:48:46 Dan Streetman bug task deleted systemd (Ubuntu Groovy)
2021-07-26 15:48:50 Dan Streetman bug task deleted systemd (Ubuntu Hirsute)
2021-07-26 15:48:54 Dan Streetman bug task deleted systemd (Ubuntu Impish)
2021-07-26 15:49:09 Dan Streetman description [impact] systemd-time-wait-sync service never completes when systemd-timesyncd package is not installed [test case] remove the systemd-timesyncd package and enable the systemd-time-wait-sync service, and reboot. Check status of the service to see it's stuck in 'activating' state, e.g.: ubuntu@lp1937238-f:~$ sudo systemctl status systemd-time-wait-sync.service ● systemd-time-wait-sync.service - Wait Until Kernel Time Synchronized Loaded: loaded (/lib/systemd/system/systemd-time-wait-sync.service; enabled; vendor preset: enabled) Active: activating (start) since Fri 2021-07-23 15:32:12 UTC; 19s ago [regression potential] TBD [scope] this is needed in f and later the systemd-timesyncd package was split out from the main systemd package starting in focal, so this problem exists in f and later the service doesn't exist in b, so this is not needed there [original description] When I start my server running Ubuntu 20.04 the systemd-time-wait-sync.service is stuck in "activating" state. I noticed this because none of the systemd timer units triggered, because all the timers depend on systemd-time-wait-sync.service. Running "systemctl restart systemd-time-wait-sync.service" manually works around the problem. Some logs and command outputs: raek@mizar:~$ lsb_release -rd Description: Ubuntu 20.04.2 LTS Release: 20.04 raek@mizar:~$ systemctl | grep systemd-time-wait-sync.service   systemd-time-wait-sync.service loaded activating start start Wait Until Kernel Time Synchronized raek@mizar:~$ systemctl status systemd-time-wait-sync.service ● systemd-time-wait-sync.service - Wait Until Kernel Time Synchronized      Loaded: loaded (/lib/systemd/system/systemd-time-wait-sync.service; enabled; vendor preset: enabled)      Active: activating (start) since Thu 2021-07-22 11:06:52 CEST; 27min ago        Docs: man:systemd-time-wait-sync.service(8)    Main PID: 514 (systemd-time-wa)       Tasks: 1 (limit: 9415)      Memory: 972.0K      CGroup: /system.slice/systemd-time-wait-sync.service              └─514 /lib/systemd/systemd-time-wait-sync Jul 22 11:06:52 mizar systemd-time-wait-sync[514]: adjtime state 5 status 40 time Thu 2021-07-22 09:06:52.216338 UTC Warning: journal has been rotated since unit was started, output may be incomplete. raek@mizar:~$ journalctl -b -u systemd-time-wait-sync.service -- Logs begin at Wed 2020-07-08 16:34:13 CEST, end at Thu 2021-07-22 11:36:44 CEST. -- Jul 22 11:06:52 mizar systemd-time-wait-sync[514]: adjtime state 5 status 40 time Thu 2021-07-22 09:06:52.216338 UTC raek@mizar:~$ dpkg -S /lib/systemd/system/systemd-time-wait-sync.service systemd: /lib/systemd/system/systemd-time-wait-sync.service raek@mizar:~$ apt-cache policy systemd systemd:   Installed: 245.4-4ubuntu3.11   Candidate: 245.4-4ubuntu3.11   Version table:  *** 245.4-4ubuntu3.11 500         500 http://se.archive.ubuntu.com/ubuntu focal-security/main amd64 Packages         100 /var/lib/dpkg/status      245.4-4ubuntu3.10 500         500 http://se.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages      245.4-4ubuntu3.8 400         400 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages      245.4-4ubuntu3 500         500 http://se.archive.ubuntu.com/ubuntu focal/main amd64 Packages When I start my server running Ubuntu 20.04 the systemd-time-wait-sync.service is stuck in "activating" state. I noticed this because none of the systemd timer units triggered, because all the timers depend on systemd-time-wait-sync.service. Running "systemctl restart systemd-time-wait-sync.service" manually works around the problem. Some logs and command outputs: raek@mizar:~$ lsb_release -rd Description: Ubuntu 20.04.2 LTS Release: 20.04 raek@mizar:~$ systemctl | grep systemd-time-wait-sync.service   systemd-time-wait-sync.service loaded activating start start Wait Until Kernel Time Synchronized raek@mizar:~$ systemctl status systemd-time-wait-sync.service ● systemd-time-wait-sync.service - Wait Until Kernel Time Synchronized      Loaded: loaded (/lib/systemd/system/systemd-time-wait-sync.service; enabled; vendor preset: enabled)      Active: activating (start) since Thu 2021-07-22 11:06:52 CEST; 27min ago        Docs: man:systemd-time-wait-sync.service(8)    Main PID: 514 (systemd-time-wa)       Tasks: 1 (limit: 9415)      Memory: 972.0K      CGroup: /system.slice/systemd-time-wait-sync.service              └─514 /lib/systemd/systemd-time-wait-sync Jul 22 11:06:52 mizar systemd-time-wait-sync[514]: adjtime state 5 status 40 time Thu 2021-07-22 09:06:52.216338 UTC Warning: journal has been rotated since unit was started, output may be incomplete. raek@mizar:~$ journalctl -b -u systemd-time-wait-sync.service -- Logs begin at Wed 2020-07-08 16:34:13 CEST, end at Thu 2021-07-22 11:36:44 CEST. -- Jul 22 11:06:52 mizar systemd-time-wait-sync[514]: adjtime state 5 status 40 time Thu 2021-07-22 09:06:52.216338 UTC raek@mizar:~$ dpkg -S /lib/systemd/system/systemd-time-wait-sync.service systemd: /lib/systemd/system/systemd-time-wait-sync.service raek@mizar:~$ apt-cache policy systemd systemd:   Installed: 245.4-4ubuntu3.11   Candidate: 245.4-4ubuntu3.11   Version table:  *** 245.4-4ubuntu3.11 500         500 http://se.archive.ubuntu.com/ubuntu focal-security/main amd64 Packages         100 /var/lib/dpkg/status      245.4-4ubuntu3.10 500         500 http://se.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages      245.4-4ubuntu3.8 400         400 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages      245.4-4ubuntu3 500         500 http://se.archive.ubuntu.com/ubuntu focal/main amd64 Packages
2021-07-26 15:49:16 Dan Streetman systemd (Ubuntu): status New Incomplete
2021-07-26 20:35:17 Rasmus Bondesson attachment added redacted_journal.txt https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1937238/+attachment/5513859/+files/redacted_journal.txt
2021-07-26 20:49:27 Rasmus Bondesson bug watch added https://github.com/home-assistant/operating-system/issues/896
2021-07-26 20:49:27 Rasmus Bondesson bug watch added https://github.com/systemd/systemd/issues/8683
2021-07-26 20:56:41 Rasmus Bondesson attachment added redacted_journal2.txt https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1937238/+attachment/5513863/+files/redacted_journal2.txt
2021-07-27 16:31:12 Dan Streetman description When I start my server running Ubuntu 20.04 the systemd-time-wait-sync.service is stuck in "activating" state. I noticed this because none of the systemd timer units triggered, because all the timers depend on systemd-time-wait-sync.service. Running "systemctl restart systemd-time-wait-sync.service" manually works around the problem. Some logs and command outputs: raek@mizar:~$ lsb_release -rd Description: Ubuntu 20.04.2 LTS Release: 20.04 raek@mizar:~$ systemctl | grep systemd-time-wait-sync.service   systemd-time-wait-sync.service loaded activating start start Wait Until Kernel Time Synchronized raek@mizar:~$ systemctl status systemd-time-wait-sync.service ● systemd-time-wait-sync.service - Wait Until Kernel Time Synchronized      Loaded: loaded (/lib/systemd/system/systemd-time-wait-sync.service; enabled; vendor preset: enabled)      Active: activating (start) since Thu 2021-07-22 11:06:52 CEST; 27min ago        Docs: man:systemd-time-wait-sync.service(8)    Main PID: 514 (systemd-time-wa)       Tasks: 1 (limit: 9415)      Memory: 972.0K      CGroup: /system.slice/systemd-time-wait-sync.service              └─514 /lib/systemd/systemd-time-wait-sync Jul 22 11:06:52 mizar systemd-time-wait-sync[514]: adjtime state 5 status 40 time Thu 2021-07-22 09:06:52.216338 UTC Warning: journal has been rotated since unit was started, output may be incomplete. raek@mizar:~$ journalctl -b -u systemd-time-wait-sync.service -- Logs begin at Wed 2020-07-08 16:34:13 CEST, end at Thu 2021-07-22 11:36:44 CEST. -- Jul 22 11:06:52 mizar systemd-time-wait-sync[514]: adjtime state 5 status 40 time Thu 2021-07-22 09:06:52.216338 UTC raek@mizar:~$ dpkg -S /lib/systemd/system/systemd-time-wait-sync.service systemd: /lib/systemd/system/systemd-time-wait-sync.service raek@mizar:~$ apt-cache policy systemd systemd:   Installed: 245.4-4ubuntu3.11   Candidate: 245.4-4ubuntu3.11   Version table:  *** 245.4-4ubuntu3.11 500         500 http://se.archive.ubuntu.com/ubuntu focal-security/main amd64 Packages         100 /var/lib/dpkg/status      245.4-4ubuntu3.10 500         500 http://se.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages      245.4-4ubuntu3.8 400         400 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages      245.4-4ubuntu3 500         500 http://se.archive.ubuntu.com/ubuntu focal/main amd64 Packages [impact] systemd-time-wait-sync service sometimes misses sync completed event and remains in 'activating' state [test case] this isn't consistently reproducable, see original description for test case [regression potential] possible problems with the systemd-time-wait-sync service completing too early or not completing on time [scope] this is needed only for f this is fixed upstream with commit f6f4f5fe5395a57f10dd446c7266c53f0673eaac which is in v246, so this is fixed in h and later already the service does not exist in b so this does not apply there [original description] When I start my server running Ubuntu 20.04 the systemd-time-wait-sync.service is stuck in "activating" state. I noticed this because none of the systemd timer units triggered, because all the timers depend on systemd-time-wait-sync.service. Running "systemctl restart systemd-time-wait-sync.service" manually works around the problem. Some logs and command outputs: raek@mizar:~$ lsb_release -rd Description: Ubuntu 20.04.2 LTS Release: 20.04 raek@mizar:~$ systemctl | grep systemd-time-wait-sync.service   systemd-time-wait-sync.service loaded activating start start Wait Until Kernel Time Synchronized raek@mizar:~$ systemctl status systemd-time-wait-sync.service ● systemd-time-wait-sync.service - Wait Until Kernel Time Synchronized      Loaded: loaded (/lib/systemd/system/systemd-time-wait-sync.service; enabled; vendor preset: enabled)      Active: activating (start) since Thu 2021-07-22 11:06:52 CEST; 27min ago        Docs: man:systemd-time-wait-sync.service(8)    Main PID: 514 (systemd-time-wa)       Tasks: 1 (limit: 9415)      Memory: 972.0K      CGroup: /system.slice/systemd-time-wait-sync.service              └─514 /lib/systemd/systemd-time-wait-sync Jul 22 11:06:52 mizar systemd-time-wait-sync[514]: adjtime state 5 status 40 time Thu 2021-07-22 09:06:52.216338 UTC Warning: journal has been rotated since unit was started, output may be incomplete. raek@mizar:~$ journalctl -b -u systemd-time-wait-sync.service -- Logs begin at Wed 2020-07-08 16:34:13 CEST, end at Thu 2021-07-22 11:36:44 CEST. -- Jul 22 11:06:52 mizar systemd-time-wait-sync[514]: adjtime state 5 status 40 time Thu 2021-07-22 09:06:52.216338 UTC raek@mizar:~$ dpkg -S /lib/systemd/system/systemd-time-wait-sync.service systemd: /lib/systemd/system/systemd-time-wait-sync.service raek@mizar:~$ apt-cache policy systemd systemd:   Installed: 245.4-4ubuntu3.11   Candidate: 245.4-4ubuntu3.11   Version table:  *** 245.4-4ubuntu3.11 500         500 http://se.archive.ubuntu.com/ubuntu focal-security/main amd64 Packages         100 /var/lib/dpkg/status      245.4-4ubuntu3.10 500         500 http://se.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages      245.4-4ubuntu3.8 400         400 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages      245.4-4ubuntu3 500         500 http://se.archive.ubuntu.com/ubuntu focal/main amd64 Packages
2021-07-27 16:31:17 Dan Streetman nominated for series Ubuntu Focal
2021-07-27 16:31:17 Dan Streetman bug task added systemd (Ubuntu Focal)
2021-07-27 16:31:23 Dan Streetman systemd (Ubuntu): status Incomplete Fix Released
2021-07-27 16:31:25 Dan Streetman systemd (Ubuntu Focal): status New In Progress
2021-07-27 16:31:28 Dan Streetman systemd (Ubuntu Focal): importance Undecided Low
2021-07-27 16:31:30 Dan Streetman systemd (Ubuntu Focal): assignee Dan Streetman (ddstreet)
2021-09-02 12:48:45 Łukasz Zemczak systemd (Ubuntu Focal): status In Progress Fix Committed
2021-09-02 12:48:46 Łukasz Zemczak bug added subscriber Ubuntu Stable Release Updates Team
2021-09-02 12:48:47 Łukasz Zemczak bug added subscriber SRU Verification
2021-09-02 12:48:51 Łukasz Zemczak tags verification-needed verification-needed-focal
2021-09-05 21:31:54 Dan Streetman tags verification-needed verification-needed-focal verification-done verification-done-focal
2021-09-07 21:07:23 Brian Murray tags verification-done verification-done-focal verification-needed verification-needed-focal
2021-09-09 14:04:15 Dan Streetman tags verification-needed verification-needed-focal verification-done verification-done-focal
2021-09-15 03:17:07 Chris Halse Rogers removed subscriber Ubuntu Stable Release Updates Team
2021-09-15 03:24:04 Launchpad Janitor systemd (Ubuntu Focal): status Fix Committed Fix Released