LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   OpenRC (https://www.linuxquestions.org/questions/linux-from-scratch-13/openrc-4175535261/)

ReaperX7 02-27-2015 04:38 AM

OpenRC
 
Just a curiosity but has anyone attempted to build and use OpenRC on LFS with any luck?

moonfrog 03-05-2015 04:39 AM

I was wondering the same thing and hoping you'd get a response.

Anyway, here's a bump and another curious OpenRC fan.

re_nelson 03-05-2015 11:48 AM

Quote:

Originally Posted by ReaperX7 (Post 5324152)
Just a curiosity but has anyone attempted to build and use OpenRC on LFS with any luck?

Sheer inertia has kept me from pursuing anything other than the default SysV init. LFS is my everyday working platform on a desktop. I seldom reboot so the startup process is rather rare for me.

ReaperX7 03-05-2015 03:00 PM

I've looked at the package, and saw the Gentoo init files as examples and most of them are extremely complex in formulation to using OpenRC as a service handler (yes it still requires sysvinit as a backbone), and most of these scripts look similar but not so similar to s6 and Runit scripts, but with much higher detail.

However, I'm not comfortable with this system because the package is geared solely to Gentoo, kFreeBSD, and such that it's hard to decipher where files go outside of Gentoo.

I could easily say it's not worth pursuing, so unless anyone could show a better example of the scripts and the Gentoo core init scripts, this package might not be worth trying.

To be honest, using a bsdinit style might be better and even then you could still do tree based dependency loading with multiple scripts for background startup with minimal notifications.

re_nelson 03-05-2015 03:59 PM

I do keep my LFS/BLFS userland very bleeding edge and go far beyond the book(s) especially with multimedia apps which I generally build from fresh GIT sources. As for the task of launching the system, as much as I stay current on other things, I stick with the familiar and stable. In short, in that regard I'll never be another Lennart. That said, I do very much like his PulseAudio package so I guess he ain't all bad. :)

bstaletic 03-05-2015 05:31 PM

Today I booted with OpenRC, works fine.

ReaperX7 03-05-2015 06:20 PM

You built and installed the package and reworked all the LFS/BLFS init files to operate under openrc-run?

replica9000 03-05-2015 10:27 PM

Debian also has OpenRC. I suppose you could compare the scripts between Debian and Gentoo.

bstaletic 03-06-2015 05:34 AM

I have built and installed OpenRC, but have used the scripts I have for Arch.

ReaperX7 03-06-2015 06:32 PM

If you care to share, can you draft up a step by step basis on how to get it working?

bstaletic 03-08-2015 05:17 PM

1) Download the source from github
2) Follow the README

Precise command I used was "MKSELINUX=no MKTERMCAP=ncurses PKG_PREFIX=/usr make install"

The scripts can be found here.

ReaperX7 03-08-2015 07:34 PM

I'll have to check it prior to installation to make sure the package paths are completely LFS friendly.

To be honest, I wish LFS would eventually get an official OpenRC package.


All times are GMT -5. The time now is 05:25 AM.