:: Re: [DNG] Switching to OpenRC
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Martin Steigerwald
日付:  
To: dng
題目: Re: [DNG] Switching to OpenRC
Hector Gonzalez - 15.05.18, 15:55:
> On 05/15/2018 06:23 AM, Martin Steigerwald wrote:
> > This basically did it for me. But this warning has been unhelpful
> > for me:
> >
> > %:/var/lib/dpkg/info# grep -A 2 "sysv" *openrc*
> > openrc.postinst:        echo "*** WARNING: if you are replacing
> > sysv-rc by OpenRC, then you must ***" openrc.postinst-        echo
> > "*** reboot immediately using the following command:               
> > ***" openrc.postinst-        echo 'for file in /etc/rc0.d/K*; do
> > s=`basename $(readlink "$file")` ; /etc/init.d/$s stop; done'

> >
> > (Devuan Ascii with sysvinit-core, systemd package already purged)
> >
> > What this did on my system is: Stop all services and then sit there.
> > It did not reboot. I asked a co-worker to reboot the machine via
> > the hypervisor and it worked.
>
> This happens because runlevel 0 ends with "K12halt", so the warning is
> wrong, if you want to reboot you should use runlevel 6, the last
> command it runs is "K12reboot".


Hmm, I bet that is worth a bug report. In the Debian bugtracker is no
open report about it, but Debian GNU/Sid has already 0.34-2 of OpenRC.

Should a bug report go into the Debian bugtracker or into the Devuan
bugtracker or both?

--
Martin