Making it possible to uninstall initscripts / insserv and facilities

Felipe Sateler fsateler at debian.org
Tue Nov 24 19:13:59 GMT 2015


On 24 November 2015 at 15:59, Michael Biebl <biebl at debian.org> wrote:
> Am 24.11.2015 um 19:37 schrieb Felipe Sateler:
>> e/ Patch insserv to look for a flag file/setting somewhere in
>> /etc/insserv{,.conf.d}, which causes it to treat Required-* as Should*
>> (ie, conffile-version of --force). Then initscripts could ship such a
>> configuration, thus demoting dependencies only when initscripts is not
>> installed.
>
> The flag file could be /sbin/init pointing to /lib/systemd/systemd. At
> least I don't see a specific benefit of introducing (yet) another config
> file.

That would potentially leave initscripts with wrong ordering, thus
breaking a boot back to sysvinit (via syvinit package).

> So we are mostly back to idea b/ with the only difference that you would
> not ship a hard-coded list of which packages to demote to Should, but
> would do it for all packages.

Yes, that would be an effect of my alternatives. And I find it better,
because if such a hard-dependency would be found in another package,
then the solution would be to make that package demote to Should-*.
This would save us busywork.


Although TBH I found alternative (f) nicer, where we modify an already
debian-specific program rather than insserv itself.


-- 

Saludos,
Felipe Sateler




More information about the Pkg-systemd-maintainers mailing list