:: Re: [DNG] Open-RC on devuan - some …
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Rob Owens
Date:  
À: dng
Sujet: Re: [DNG] Open-RC on devuan - some questions
On Mon, Jul 18, 2016 at 1:12 PM, <emninger@???> wrote:

> Hi!
>
> On the road to a viable jwm desktop in devuan, i am using/trying
> open-rc. In advance, my excuses if what follows is not sufficiently
> technical.
>
> To the point: From Manjaro-OpenRC i knew openrc as a clean and logical
> system to manage daemons & processes. By far, from a user point of
> view, superior to sysvinit. Now, the transition from sysvinit to openrc
> in devuan is mostly painless. BUT: I'm under the impression in
> devuan/debian openrc works only as a kind of wrapper around sysvinit.
>
> An example: I installed a zram script (still when i had sysvinit as
> init manager). Now, this script is configured to openrc in this way:
>
> "rc-update add zram boot" (which adds the zram daemon to the boot level
> to have it ready early; could be added also to default). Now, when i
> remove it by "rc-update del zram boot" it is not even more present for
> openrc - but nevertheless, it is still started at any reboot. For me,
> that means, openrc is *NOT* the real init manager - at least in its
> debian implementation.
>


You got me interested and I just installed OpenRC on Devuan Jessie. I got
the following message:

**********************************************************************
*** WARNING: if you are replacing sysv-rc by OpenRC, then you must ***
*** reboot immediately using the following command:                ***
for file in /etc/rc0.d/K*; do s=`basename $(readlink "$file")` ;
/etc/init.d/$s stop; done
*** once rebooted, you could safely backup and remove /etc/rc?.d   ***
**********************************************************************


Did you follow those instructions?

I found that before I removed /etc/rc?.d, I was still running sysv init
(but most/all services did not start -- ssh for example). After a
subsequent reboot, I was running OpenRC.

I'm still testing it, though...


>
> It would be nice to have openrc implemented as it is in gentoo or
> manjaro: with the to essential directories:
>
> /etc/conf.d (where all the scripts for openrc are configured)
> /etc/init.d (where the scripts that are configured in /etc/conf.d sit)
>


I see I have no /etc/conf.d. To me this means I really do not have OpenRC,
as conf.d is one of the key benefits of OpenRC in my opinion.

-Rob