[Bug 1981042] [NEW] /etc/localtime symlink not correctly handled when using /etc/writable

Launchpad Bug Tracker 1981042 at bugs.launchpad.net
Thu Sep 15 15:42:42 UTC 2022


You have been subscribed to a public bug by Matthieu Clemenceau (mclemenceau):

[Impact]
When using /etc/writable (e.g. Ubuntu Core) /etc/localtime is a symlink to /etc/writable/localtime (which in itself if a symlink). Systemd doesn't handle this correctly when doing firstboot or using inotify to watch for changes to localtime.

[Test Plan]
This is somewhat hard to test, the following situations need to be reproduced:
- On firstboot the timezone link will not be read correctly, it will with this change.
- Starting a timer unit and then changing timezone will cause it not to occur at the correct time.

[Where problems could occur]
This could potentially break other users of localtime, however the change is similar to existing changes which have been in Ubuntu's version of systemd for some time. The change detects the /etc/writable case and if not should have the same existing behaviour.

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

** Affects: systemd (Ubuntu Jammy)
     Importance: Undecided
         Status: Fix Committed

** Affects: systemd (Ubuntu Kinetic)
     Importance: Undecided
         Status: Fix Released


** Tags: foundations-todo fr-2547 verification-done-jammy verification-needed
-- 
/etc/localtime symlink not correctly handled when using /etc/writable
https://bugs.launchpad.net/bugs/1981042
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to the bug report.



More information about the foundations-bugs mailing list