Am 16.07.2016 um 14:28 schrieb Benda Xu: > Michael Biebl <bi...@debian.org> writes:
>>> This is the only reason to stop openrc from providing sysv-rc. But >>> systemd-sysv in sid no longer depend on sysv-rc. No need to do that >>> anymore, if we don't want to touch jessie. > >> I think dropping that Provides is logically correct and should be done >> in any case, maybe not for stretch, but in sid for sure. > > In the long run, yes. It was a hack as a drop-in replacement of sysv-rc. Ok, good we have agreement here. >>>> <mbiebl_> plus depends on initscripts, to be safe and add Depends: >>>> initscripts >>> >>> I don't think so. >>> >>> initscripts Depends: sysv-rc | file-rc >>> >>> and openrc provides sysv-rc. The dependence relation is already there. > >> Ahem, no. It's the inverse dependency >> With initscripts no longer being installed by default, nothing will >> guarantee that initscripts will be installed. > > I can see sysvinit-core Depends: initscripts (>= 2.88dsf-13.3). Sure. My point was, that installing openrc should lead to a system booting with openrc as init. This was my premise. And sysvinit-core depending on initscripts would therefor not help. You made clear that this is *not* how you want openrc to be seen. Afaics, you only want providers of /sbin/init to be treated as init system. And only those packages need to make sure that the resulting system is bootable. I acknowledge there is some logic in that. >> If openrc depends on initscripts to boot a system successfully, it >> should depend on it. > > Hmm, I think we can express the dependency chain as > > sysvinit-core -> sysv-rc/openrc -> initscripts > > and drop sysvinit-core -> initscripts. Well, given your explanations about how you see the purpose of openrc, I no longer think this change is needed. So, with Benda's input here, I think what should happen is a/ Add a Pre-Depends: init-system-helpers to openrc for #829488 b/ Make the Conflicts: openrc in systemd versioned, related to #829488, as it avoids the switch to file-rc during the dist-upgrade c1/ Drop the Provides: sysv-rc from openrc c2/ Update initscripts and sysvinit-core and add openrc as an alternative to sysv-rc | file-rc d/ Clarify the openrc package description, make it clear that it is not supposed to be an init system and that booting with openrc requires a compatible /sbin/init to be installed. Benda, is that a fair summary in your POV? If so, we should probably merge #830991 and #831053 and retitle it, asking for a clarification in the package description. I think c/ is related to #829488 as well. systemd in jessie has a Depends: sysv-rc, as this was supposed to ensure compatible implementations of invoke-rc.d/update-rc.d are installed. That obviously did not work out, due to openrc providing sysv-rc. So I think, dropping Provides: sysv-rc should be done as part of #829488. Or instead of merging #830991 and #831053 we repurpose one to deal with Provides: sysv-rc. Benda, any preferences? Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature