systemd-time-wait-sync.service should be part of systemd-timesyncd package

Bug #1938058 reported by Dan Streetman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
Low
Unassigned
Focal
Won't Fix
Low
Unassigned
Hirsute
Won't Fix
Undecided
Unassigned
Impish
Won't Fix
Undecided
Unassigned
Jammy
Won't Fix
Undecided
Unassigned
Noble
Won't Fix
Low
Unassigned

Bug 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

[other info]

originally noticed in bug 1937238, but create this new bug in case that bug was actually a separate problem

Dan Streetman (ddstreet)
no longer affects: systemd (Ubuntu Groovy)
Revision history for this message
Brian Murray (brian-murray) wrote :

The Hirsute Hippo has reached End of Life, so this bug will not be fixed for that release.

Changed in systemd (Ubuntu Hirsute):
status: New → Won't Fix
Nick Rosbrook (enr0n)
Changed in systemd (Ubuntu Impish):
status: New → Won't Fix
Revision history for this message
Nick Rosbrook (enr0n) wrote :

Not sure yet about SRU'ing this, but this should at least be fixed in devel.

Changed in systemd (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Changed in systemd (Ubuntu Focal):
status: New → Triaged
importance: Undecided → Low
tags: added: foundations-todo
Nick Rosbrook (enr0n)
Changed in systemd (Ubuntu Focal):
status: Triaged → Won't Fix
Changed in systemd (Ubuntu Jammy):
status: New → Won't Fix
Changed in systemd (Ubuntu Noble):
status: Triaged → Won't Fix
Revision history for this message
Nick Rosbrook (enr0n) wrote :

Fixed in https://salsa.debian.org/systemd-team/systemd/-/merge_requests/267, so we will get it in Ubuntu soon.

Changed in systemd (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 256.4-2ubuntu1

---------------
systemd (256.4-2ubuntu1) oracular; urgency=medium

  * Merge with Debian unstable. Remaining changes:
    - debian/tests/tests-in-lxd: run some autopkgtests in LXD too
    - debian/tests/boot-and-services:
      + skip apparmor tests on armhf
      + consume stderr in systemctl status call in test_service
      + drop test_no_failed
    - debian/systemd.postinst:
      + skip daemon-reexec and try-restarts during shutdown
      + manually call systemd-tmpfiles --create in postinst
    - debian/systemd-resolved.postinst: copy existing /etc/resolv.conf to
      /run/systemd/resolve/stub-resolv.conf
    - debian/rules:
      + Remove unneeded efi artifacts on i386 to avoid debugedit errors
    - debian/rules,debian/control,debian/tests/control:
      + Do not build with tpm libraries on i386
      + Do not build with libqrencode on i386
    - debian/gbp.conf,debian/extra/wrap_cl.py:
      Use a customization script to add LP commit links to changelog
    - debian/control:
      + Add Recommends: networkd-dispatcher systemd-resolved to systemd package
      + Give systemd-resolved Priority: important
      + Add Recommends: systemd-hwe-hwdb to udev package
      + Add Breaks: systemd (<< ${binary:Version}) to udev package so that
        systemd is upgraded as well when upgrading udev
      + Make systemd-sysv Depends: on matching version of systemd
      + Drop Recommends: libnss-myhostname libnss-resolve from systemd-resolved
      + Build-Depends: linux-tools-generic
    - debian/tests/upstream: export QEMU_MEM="1024M" for all tests
    - debian/systemd.links: mask systemd-gpt-auto-generator by default
    - debian/systemd.install: exclude files that are not built for i386
    - debian/systemd.manpages: do not ship un-built manpages on i386
    - debian/tests/control: only install systemd-boot-efi for supported arches
    - switch-root: use MS_MOVE for /run when switchig from initrd
    - debian/systemd.postinst: do not create /etc/tmpfiles.d/tmp.conf on upgrades.
      We want the upgrades on Ubuntu to be aligned with what a new install
      would look like.
    - d/control: do not build systemd-boot-efi-{amd64,arm64}-signed-template

systemd (256.4-2) unstable; urgency=medium

  * autopkgtest: allow localectl in localed tests.

 -- Nick Rosbrook <email address hidden> Tue, 30 Jul 2024 10:44:28 -0400

Changed in systemd (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.