Am 03.09.23 um 19:25 schrieb Mark Hindley:
Control: reassign -1 initscriptsMichael, We have decided that initscripts from src:sysvinit is a better fit for /etc/init.d/udev. Therefore reassigning. I have prepared a branch[1]. The only outstanding item I am aware of is to add versioned Breaks/Replaces against the version of udev that no longer ships the file. In my testing of this transition, it became apparent that if udev uses either dpkg-maintscript-helper rm_conffile or dpkg remove-on-upgrade, user modifications to /etc/init.d/udev are not preserved. So, I would ask that you not do that until Forky so we can be sure that any changes to those files are correctly preserved. Can you see any other issues?
This doesn't work. Once the ownership of the conffile has moved to initscripts, the udev package can no longer remove it (in forky), as this would be an instant RC bug.
So what I'm going to do instead is to a one-time clean-up via "rm_conffile /etc/init.d/udev" in udev (+ cleaning up the enablement symlinks in /etc/rc?.d/)
If /etc/init.d/udev was modified, rm_conffile will create a backup file /etc/init.d/udev.dpkg-bak
You can then adopt this backup file in initscripts, if you want.What you do with it, is up to you: merge the changes in your init script, show an info message, etc.
If you want to steal the logic we used in src:systemd to move conffiles between packages, see e.g.
https://salsa.debian.org/systemd-team/systemd/-/commit/d6483013d57
OpenPGP_signature.asc
Description: OpenPGP digital signature

