[PKG-OpenRC-Debian] Bug#830991: Bug#830991: Summary of needed changes
Benda Xu
heroxbd at gentoo.org
Sat Jul 16 14:14:10 UTC 2016
Hi Michael,
Very nice wrap-up. Thank you!
Michael Biebl <biebl at debian.org> writes:
>> 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.
On a second thought, this is not optimal. We'd better do
sysvinit-core -> initscripts -> sysv-rc/openrc
> Well, given your explanations about how you see the purpose of openrc, I
> no longer think this change is needed.
FYI, I am planning to introduce openrc-native initscripts packaged as
"openrc-initscripts" as an alternative to initscripts. Also in bug
827733, we will have busybox-init in the future. All the following
systems are valid to boot:
sysvinit-core | busybox-init -> initscripts -> sysv-rc | file-rc | openrc
sysvinit-core | busybox-init -> openrc-initscripts -> openrc
> So, with Benda's input here, I think what should happen is
>
> a/ Add a Pre-Depends: init-system-helpers to openrc for #829488
Done in openrc package git repo.
> b/ Make the Conflicts: openrc in systemd versioned, related to #829488,
> as it avoids the switch to file-rc during the dist-upgrade
Done in systemd package git repo.
> c1/ Drop the Provides: sysv-rc from openrc
Yes, but c2 should happen first.
> 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.
Done in openrc package git repo.
> Benda, is that a fair summary in your POV?
Yes, we are reaching consensus here.
> we should probably merge #830991 and #831053 and retitle it, asking
> for a clarification in the package description.
Yeah!
> 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?
I prefer the former.
Cool. I can sense an ultimate resolution around the corner.
Benda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openrc-devel/attachments/20160716/a9f380d9/attachment-0001.sig>
More information about the OpenRC-devel
mailing list