:: Re: [DNG] OpenRC and Devuan
Etusivu
Poista viesti
Vastaa
Lähettäjä: Simon Hobson
Päiväys:  
Vastaanottaja: Jaromil
Kopio: dng
Aihe: Re: [DNG] OpenRC and Devuan
Jaromil <jaromil@???> wrote:

>> Instead of an openRC effort at this point, I'd rather see a hook
>> for apt-get / aptitude / etc, to move all files specific to init
>> systems not being used to their own file hierarchies, eg.
>>
>>  /var/cache/init-systems
>>    /sysvinit
>>      /etc
>>      /lib
>>      /usr
>>    /openrc
>>      /etc
>>      /lib
>>      /usr
>>    /systemd
>>      /etc
>>      /lib
>>      /usr


> This is an important suggestion, which parazyd himself was evaluating
> yesterday, noting that among the errors made in the previous openrc
> packages was this one: put the files of each init system in the same
> /etc/init.d directory, basically making them overlap.
>
> I agree we should adopt the policy you are proposing in Devuan.


How does that work in terms of getting the right files into place ? Is it a case of the switching process will copy the files into /etc and so on ? Or will they be symlinked, or what ? And possibly more important, what's the process for removing them when switching to another init ? And what about having two systems installed for those who want to try one but leave the other selectable at boot time (for if it doesn't work out ?)
I'm thinking back to the "debate" over /bin and /usr/bin and the discussions related to what needs to be mounted early during boot - /var isn't typically mounted until relatively late.

From that basis, would it be better to perhaps put openrc scripts in /etc/init-orc or something like that ?