[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#727708: additional OpenRC information: OpenRC now in Debian Experimental!



On 01/03/2014 01:25 AM, Russ Allbery wrote:
> As I mentioned in some of my previous notes, I was unable to evaluate
> OpenRC in a meaningful way during my general experiments for a few
> reasons.  My impression was formed based on previous discussion and what
> documentation I could find, which was fairly minimal.
> 
> Thomas Goirand sent me considerably more information, including some
> details about OpenRC project goals that corrects information in my
> original writeup.  With his permission, I'm including that here for the
> benefit of everyone else who is following this debate.
> 
> Thomas, please follow up with anything that I left out or anything else
> that you think people should be aware of.

Well, there's something that people should be aware of...

OpenRC is now in Debian experimental! \o/

Also:

* I have solved the problem with reinstalling the initscript package (it
was only a missing /etc/runlevels/single folder, which by the way is now
populated with the correct symlinks so single user mode also works from
now on).

* The first reboot can be done using:

for file in /etc/rc0.d/K*; do
	s=`basename $(readlink "$file")`
	/etc/init.d/$s stop
done

That fits on a single line, so the postinst script of OpenRC just warns
that this command should be performed by the user when migrating from
sysv-rc to OpenRC. When doing this, the first shutdown is kind of clean.
While not perfect (yet), that's a workaround. Unfortunately, with
sysv-rc, there's no way to know which daemon is started, so it's also
impossible to stop them cleanly. Though probably attempting to stop them
all should work. I'm open to any suggestion to make this better, and
maybe have a way to build a script that users could call directly. Note
that when migrating back from OpenRC to sysv-rc, there's no such a
problem, it just works (since sysv-rc is stateless).

I of course welcome anyone to try OpenRC and report bugs.

Cheers,

Thomas Goirand (zigo)

P.S: I'd like to publicly thank Patrick Lauer, Benda (李明宇), Bill
Wang, Roger Leigh, WilliamH & qnikst (sorry, I only know the IRC nicks
of these last 2 persons) for their help and support when porting OpenRC
to Debian.


Reply to: