Author Topic: Booting with OpenRC: An alternative to systemd  (Read 78461 times)

0 Members and 2 Guests are viewing this topic.

Offline ganjaman70

  • Neuling
  • *
  • Posts: 48
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #360 on: 27. May 2015, 04:50:43 »
Yes

Offline flippy

  • Vollwertiges Mitglied
  • ***
  • Posts: 207
  • AKA "day|flip" manjaro irc
  • Branch: Testing
  • Desktop: xmonad & bspwm
  • GPU Card: nVidia GeForce GTX 550 Ti
  • GPU driver: Nvida
  • Kernel: Got 64?
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #361 on: 27. May 2015, 05:23:07 »
We could think about providing openrc with runit instead of sysvinit.
>=0.16 support process supervision, the question is, do we need such gimmick?
I been testing out a distro that used pure runit. The boot time on runit is insane fast. On my new ssd. less then half sec boot. vs manjaro openrc 8.13 in 3 sec boot. boot time are base from grub to log in screen. or tty for me.

Offline artoo

  • OpenRC Team
  • ****
  • Posts: 2373
  • Branch: Unstable
  • Desktop: LXQT/Plasma5, openrc & eudev
  • Kernel: x86_64
  • Skill: Advanced
Re: Booting with OpenRC: An alternative to systemd
« Reply #362 on: 27. May 2015, 10:24:13 »
I been testing out a distro that used pure runit. The boot time on runit is insane fast. On my new ssd. less then half sec boot. vs manjaro openrc 8.13 in 3 sec boot. boot time are base from grub to log in screen. or tty for me.

I know runit is fst if you use it, but runit with openrc would only serve as sysinit replacement, and openrc could be configured to use runit's process supervision. But I think, it not really a pressing feature we need.

Offline mrbrklyn

  • Vollwertiges Mitglied
  • ***
  • Posts: 205
  • NYLXS
    • mrbrklyn
  • Desktop: wmaker
  • Skill: Advanced
Re: Booting with OpenRC: An alternative to systemd
« Reply #363 on: 27. May 2015, 10:40:00 »
I know runit is fst if you use it, but runit with openrc would only serve as sysinit replacement, and openrc could be configured to use runit's process supervision. But I think, it not really a pressing feature we need.

Hi

That is why I asked what differece it would make.  Boottime seriously means nothing to me since I run this on my workstations and my small servers.  Is there any other advantage?

Ruben

Offline handy

  • Global Moderator
  • *****
  • Posts: 5738
  • Desktop: Openbox 3.6.1-3 & Worker :)
  • GPU Card: intel...
  • GPU driver: open-source
  • Kernel: OpenBSD
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #364 on: 31. July 2015, 16:16:35 »
I'm on OpenRC & eudev (& loving it) & want to set up NFS between two OpenRC boxes. I've had a bit of a search on the net but haven't really found the info that I need (or at least not recognised it).

Does anyone know where I can find the information on how to set up NFS on a Manjaro OpenRC system?

Thanks in advance.
The ultimate tyranny in a society is not control
by martial law. It is control by the psychological
manipulation of consciousness, through which reality
is defined so that those who exist within do not even
realize that they are in prison.
  —  Barbara Marciniak

Offline artoo

  • OpenRC Team
  • ****
  • Posts: 2373
  • Branch: Unstable
  • Desktop: LXQT/Plasma5, openrc & eudev
  • Kernel: x86_64
  • Skill: Advanced
Re: Booting with OpenRC: An alternative to systemd
« Reply #365 on: 31. July 2015, 16:41:42 »
I'm on OpenRC & eudev (& loving it) & want to set up NFS between two OpenRC boxes. I've had a bit of a search on the net but haven't really found the info that I need (or at least not recognised it).

Does anyone know where I can find the information on how to set up NFS on a Manjaro OpenRC system?

Thanks in advance.

https://wiki.gentoo.org/wiki/NFS

:)

Offline handy

  • Global Moderator
  • *****
  • Posts: 5738
  • Desktop: Openbox 3.6.1-3 & Worker :)
  • GPU Card: intel...
  • GPU driver: open-source
  • Kernel: OpenBSD
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #366 on: 01. August 2015, 02:31:19 »
@artoo: I had already looked at that page & bookmarked it. I find it a bit hard to understand with all of the extra Gentoo stuff. [edit:] There wasn't really that much extra Gentoo stuff... ;) /

It has been years since I last setup NFS & from memory (which isn't my strong point) it was fairly easy/simple to get going (harder to fine tune).

So it looks like I'll have to use the Arch & the Gentoo wiki's to find my way through this. The Arch one is much simpler, though systemd specific, which is of course why I'm posting the question here to begin with...
« Last Edit: 01. August 2015, 07:23:25 by handy »
The ultimate tyranny in a society is not control
by martial law. It is control by the psychological
manipulation of consciousness, through which reality
is defined so that those who exist within do not even
realize that they are in prison.
  —  Barbara Marciniak

Offline handy

  • Global Moderator
  • *****
  • Posts: 5738
  • Desktop: Openbox 3.6.1-3 & Worker :)
  • GPU Card: intel...
  • GPU driver: open-source
  • Kernel: OpenBSD
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #367 on: 01. August 2015, 04:09:02 »
I think I've got the Server sorted out & now I've started on the Client, where I've struck a problem in the Gentoo wiki:

Quote
Client
Mounting remote directories

Before mounting remote directories, a few daemons must be be started first. This is the job of the nfsclient service.
root # /etc/init.d/nfsclient start

 * Starting rpcbind                                                        [ ok ]
 * Starting NFS statd                                                     [ ok ]
 * Starting NFS sm-notify                                               [ ok ]

The /etc/init.d/nfsclient script is missing from the machine which I followed the wiki instructions to convert from systemd to OpenRC/eudev yesterday.

As is /etc/init.d/nfs (& I haven't checked to see what others that don't belong to NFS may be missing?).

I'll copy them over from my full OpenRC/eudev install & see how I go from there...

I think it would be good if these files were included in the OpenRC base package. I also understand how easy it would be to miss them. ;)

[edit:] I'll post a list of the files that are in the /etc/init.d directory of the full OpenRC install that I did a few days ago, that are not on my machine that I converted according to the Manjaro wiki page yesterday. In case it is of any use to anyone (I chose not to install cups on the machine I converted yesterday):

Code: [Select]
cupsd
haveged
hdparm
nfs
nfsclient
ntp-client
ntpd
rfcomm
rpcbind
rpc.gssd
rpc.idmapd
rpc.pipefs
rpc.statd
rpc.svcgssd
rsyncd
sntp
syslog-ng
tlp
wpa_supplicant
« Last Edit: 01. August 2015, 07:23:58 by handy »
The ultimate tyranny in a society is not control
by martial law. It is control by the psychological
manipulation of consciousness, through which reality
is defined so that those who exist within do not even
realize that they are in prison.
  —  Barbara Marciniak

Offline artoo

  • OpenRC Team
  • ****
  • Posts: 2373
  • Branch: Unstable
  • Desktop: LXQT/Plasma5, openrc & eudev
  • Kernel: x86_64
  • Skill: Advanced
Re: Booting with OpenRC: An alternative to systemd
« Reply #368 on: 01. August 2015, 09:25:01 »
I think I've got the Server sorted out & now I've started on the Client, where I've struck a problem in the Gentoo wiki:

The /etc/init.d/nfsclient script is missing from the machine which I followed the wiki instructions to convert from systemd to OpenRC/eudev yesterday.

As is /etc/init.d/nfs (& I haven't checked to see what others that don't belong to NFS may be missing?).

I'll copy them over from my full OpenRC/eudev install & see how I go from there...

I think it would be good if these files were included in the OpenRC base package. I also understand how easy it would be to miss them. ;)

[edit:] I'll post a list of the files that are in the /etc/init.d directory of the full OpenRC install that I did a few days ago, that are not on my machine that I converted according to the Manjaro wiki page yesterday. In case it is of any use to anyone (I chose not to install cups on the machine I converted yesterday):

Code: [Select]
cupsd
haveged
hdparm
nfs
nfsclient
ntp-client
ntpd
rfcomm
rpcbind
rpc.gssd
rpc.idmapd
rpc.pipefs
rpc.statd
rpc.svcgssd
rsyncd
sntp
syslog-ng
tlp
wpa_supplicant


Code: [Select]
sudo pacman -S nfs-utils-openrc
You mean like putting nfs-utils-openrc in openrc-base group?

Code: [Select]
pacman -Sgq openrc-base
cronie-openrc
cryptsetup-openrc
dbus-openrc
device-mapper-openrc
dhcpcd-openrc
glibc-openrc
inetutils-openrc
lvm2-openrc
mdadm-openrc
« Last Edit: 01. August 2015, 09:28:25 by artoo »

Offline handy

  • Global Moderator
  • *****
  • Posts: 5738
  • Desktop: Openbox 3.6.1-3 & Worker :)
  • GPU Card: intel...
  • GPU driver: open-source
  • Kernel: OpenBSD
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #369 on: 01. August 2015, 10:36:55 »
@artoo: What does the nfs-utils-openrc bring to the game? I didn't have that installed on my client machine, but I have my NFS4 network functioning?
The ultimate tyranny in a society is not control
by martial law. It is control by the psychological
manipulation of consciousness, through which reality
is defined so that those who exist within do not even
realize that they are in prison.
  —  Barbara Marciniak

Offline artoo

  • OpenRC Team
  • ****
  • Posts: 2373
  • Branch: Unstable
  • Desktop: LXQT/Plasma5, openrc & eudev
  • Kernel: x86_64
  • Skill: Advanced
Re: Booting with OpenRC: An alternative to systemd
« Reply #370 on: 01. August 2015, 11:09:09 »
@artoo: What does the nfs-utils-openrc bring to the game? I didn't have that installed on my client machine, but I have my NFS4 network functioning?

It installs client and server init scripts.
So you wouldn't have to manually copy them like you did. :)

Offline handy

  • Global Moderator
  • *****
  • Posts: 5738
  • Desktop: Openbox 3.6.1-3 & Worker :)
  • GPU Card: intel...
  • GPU driver: open-source
  • Kernel: OpenBSD
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #371 on: 01. August 2015, 11:14:00 »
I'm in the process of attempting to get autofs running & it looks like it doesn't install properly. When I tried to run the following command:

Code: [Select]
sudo /etc/init.d/autofs start
as per the Gentoo wiki, I get the following error:

Code: [Select]
sudo: /etc/init.d/autofs: command not found
I had a bit of a ferret around inside of /etc but I can't find the file? Had a look in the pacman.log & it just says "transaction completed" there are no error messages.

So I really don't know where to go, no clues...
The ultimate tyranny in a society is not control
by martial law. It is control by the psychological
manipulation of consciousness, through which reality
is defined so that those who exist within do not even
realize that they are in prison.
  —  Barbara Marciniak

Offline handy

  • Global Moderator
  • *****
  • Posts: 5738
  • Desktop: Openbox 3.6.1-3 & Worker :)
  • GPU Card: intel...
  • GPU driver: open-source
  • Kernel: OpenBSD
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #372 on: 01. August 2015, 11:14:34 »
It installs client and server init scripts.
So you wouldn't have to manually copy them like you did. :)

That makes sense. :)
The ultimate tyranny in a society is not control
by martial law. It is control by the psychological
manipulation of consciousness, through which reality
is defined so that those who exist within do not even
realize that they are in prison.
  —  Barbara Marciniak

Offline artoo

  • OpenRC Team
  • ****
  • Posts: 2373
  • Branch: Unstable
  • Desktop: LXQT/Plasma5, openrc & eudev
  • Kernel: x86_64
  • Skill: Advanced
Re: Booting with OpenRC: An alternative to systemd
« Reply #373 on: 01. August 2015, 11:34:47 »
I'm in the process of attempting to get autofs running & it looks like it doesn't install properly. When I tried to run the following command:

Code: [Select]
sudo /etc/init.d/autofs start
as per the Gentoo wiki, I get the following error:

Code: [Select]
sudo: /etc/init.d/autofs: command not found
I had a bit of a ferret around inside of /etc but I can't find the file? Had a look in the pacman.log & it just says "transaction completed" there are no error messages.

So I really don't know where to go, no clues...

Code: [Select]
sudo pacman -S autofs-openrc
All *-openrc packages except openrc-core provide initscripts for the package they depend on.

eg cronie-openrc depends on cronie, syslog-ng-openrc depends on syslog-ng and so on.

You basically got an openrc layer on top of default packages you can use to pull in what you want.
Just have a look at openrc pacman groups with octopi  for example.
« Last Edit: 01. August 2015, 11:55:22 by artoo »

Offline handy

  • Global Moderator
  • *****
  • Posts: 5738
  • Desktop: Openbox 3.6.1-3 & Worker :)
  • GPU Card: intel...
  • GPU driver: open-source
  • Kernel: OpenBSD
  • Skill: Intermediate
Re: Booting with OpenRC: An alternative to systemd
« Reply #374 on: 01. August 2015, 15:26:27 »
Thanks aarto. :)

By the way, I've never seen any of the GUI package managers for Arch/Manjaro. Call me old fashioned... ;)
The ultimate tyranny in a society is not control
by martial law. It is control by the psychological
manipulation of consciousness, through which reality
is defined so that those who exist within do not even
realize that they are in prison.
  —  Barbara Marciniak