[Merge] ~utkarsh/ubuntu/+source/systemd/+git/systemd:drop-time-daemon-provides into ~ubuntu-core-dev/ubuntu/+source/systemd:ubuntu-mantic

Julian Andres Klode mp+449863 at code.launchpad.net
Fri Aug 25 19:54:51 UTC 2023


The approach presented here doesn't achieve those goals as we figured out before, it's pretty nonsensical.

You really need all the time daemons to provide a common package and conflict against that so they can remove each other.

And then all dependencies need to be a default-time-daemon|time-daemon. So that solving works correctly. Well should be.

Then you twiddle germinate until it picks up the right time-daemon if needed, e.g. do a recommends on systemd-timesyncd or something.

But messing up the virtual package by taking systemd-timesyncd out of it is plain simply wrong. As people realised already it doesn't work correctly, chrony doesn't remove systemd-timesyncd without adding an arbitrary conflicts against it which is *not* how you handle conflicts between multiple things providing the same thing.

Keep the provides as is, add the default provider and get germinate to generate default-time-daemon|time-daemon depends and you have the correct solution.
-- 
https://code.launchpad.net/~utkarsh/ubuntu/+source/systemd/+git/systemd/+merge/449863
Your team Ubuntu Core Development Team is subscribed to branch ~ubuntu-core-dev/ubuntu/+source/systemd:ubuntu-mantic.




More information about the Ubuntu-reviews mailing list