Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openrc - systemd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
ysbeer
n00b
n00b


Joined: 08 Jul 2016
Posts: 65

PostPosted: Sun Jul 24, 2016 3:07 pm    Post subject: openrc - systemd Reply with quote

i am running Gentoo with OpenRC, and i am fairly new to Gentoo, so my question to a more experienced Gentoo-user:

is it worth switching from OpenRC to Systemd ?
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3687
Location: Hamburg

PostPosted: Sun Jul 24, 2016 3:48 pm    Post subject: Reply with quote

Gentoo is about choice - try it if you think you need it or if you like to play with it.

Beside that: especially this question is a good candidate to start a flame war.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6281

PostPosted: Sun Jul 24, 2016 4:23 pm    Post subject: Reply with quote

Actually, you need not "switch" in one direction or the other: You can have installed both in parallel and sometimes boot with the one and sometimes with the other. This can be very useful if one of these two breaks for whatever reason; I had used this "switch" already several times in several directions. However, for production usage, I avoid using systemd for security reasons.

The main disadvantage of having both installed is that udev will always be the one from systemd in this setup: I do not know a convenient way to have udev (from systemd) and eudev installed at the same and e.g. to select through a boot parameter which one to use...
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1655
Location: United Kingdom

PostPosted: Sun Jul 24, 2016 5:18 pm    Post subject: Reply with quote

Define "worth".

I use OpenRC and eudev on two laptops and have never felt the need to change to systemd. I use systemd in Sabayon Linux on two other laptops and find no particular benefit in using systemd.

In the early days of systemd its proponents touted its bootup speed over other init systems, but I found it only booted a couple of seconds faster than OpenRC when I benchmarked the two on a 2009 Acer Aspire 5536 laptop. As I rarely boot my machines (they're either left on all day at work or I suspend them to RAM), I'm not interested in saving a couple of seconds during boot.

Personally, I don't like the extra level of abstraction that systemd can add (I give a couple of examples in an old blog post My thoughts on systemd) but it won't bother others.

Personally, I don't find systemd makes life any easier for me. For example, I don't find configuring the system clock any more complicated in an installation using OpenRC than in an installation using systemd (you can see both done in another of my blog posts Configuring the Linux clock). In fact, I prefer using fundamental Linux commands.

I virtually never have to touch OpenRC initscripts or systemd unit configuration files. Very occasionally I've had to create or edit both and I've had no trouble with either, so cannot comment on whether or not one or the other is a better approach.

So, as a heavy desktop user, I personally don't see it as being 'worth' changing (or using both on the same machine, come to that).
_________________
Clevo W230SS: amd64 OpenRC elogind nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64 OpenRC elogind xf86-video-ati. Dual boot Win 7 Pro 64-bit.
KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 434
Location: Australia

PostPosted: Sun Jul 24, 2016 5:35 pm    Post subject: Re: openrc - systemd Reply with quote

ysbeer wrote:
i am running Gentoo with OpenRC, and i am fairly new to Gentoo, so my question to a more experienced Gentoo-user:

is it worth switching from OpenRC to Systemd ?


ysbeer,

In short: OpenRC is the default Init system for Gentoo, it's a good idea to get familiar with it.

Systemd is an alternative Init which it's probably safe to say really only exists here to support users of Gnome 3. Later versions of Gnome3 'feature' some fairly cynical shallow dependencies on Systemd which has led to it's widespread adoption through the binary distro world, and to the understandable outrage of many.

Once you're reasonably familiar with OpenRC and Gentoo, you can work around those dependencies and run Gnome 3 with OpenRC quite easily if you choose.

I use both, Systemd for Gnome3 desktops for regular users at the office (for the convenience of staying with the standard tree) as I have users that are used to and want to stay with Gnome3. So far it's been very stable in that environment and I haven't seen the need to change it. Any system not running Gnome3 gets OpenRC.

The choice is yours, but I don't think it's 'worth switching' unless you want Gnome3. As others have intimated there's a lot of resistance to systemd here.

Cheers,
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1369
Location: Montréal

PostPosted: Mon Jul 25, 2016 9:39 am    Post subject: Reply with quote

For me, the main thing who can make me be far from Gentoo or Funtoo is when emerge need my help to upgrade the system succesfully. It take time and not always I can find a solution. With Arch or Debian it is rarely a problem to upgrade and make those distributions attractive to me.

Recently I did a new Gentoo install on a Thinkpad T420 and I have been able to deal with all the problems I encounter. I choose default/linux/amd64/13.0 profile with Lxde desktop to have a functionnal system with minimal emerged packages.

I like Openrc but I install Systemd too. I played with X11vnc amd64 version who do not provide any Openrc initscript to use X11vnc as system wide. So, I install X11vnc ~amd64. This version have an Openrc initscript call x11vnc.init.d in /etc/init.d. It fail to start after configuring the /etc/conf.d/x11vnc.conf.d file related to it. After reading /etc/init.d/x11vnc.init.d I realise that this Openrc script do not source itself at all with it's related configuration file /etc/conf.d/x11vnc.conf.d. I cannot understand this.

This problem load me to install Systemd on Gentoo. I succeed to do it for the first time. My /etc/systemd/system/x11vnc.service unit work as expected. But, I cannot use the wpa_supplicant@wlan0.service unit with Systemd to connect to my Access Point for the moment. It's just dont't work. I use dhcpcd.service unit to connect. Dhcpcd have a Wpa_supplicant feature. With Openrc, the wpa_supplicant and dhcpcd init scripts work perfectly.

So, as you can see, the sky is not completely blue whatever you use. I put the systemd USE flag globally in make.conf but I haven't switch to default/linux/amd64/13.0/systemd profile. This profile unmerge consolekit who is needed with Openrc to manage permissions. I can use Openrc and Systemd but, because a lot of distributions use Systemd, learning Systemd is valid for close to all the Linux world.

A good point is that Systemd unit files are simples to understand compare to a lot of other initscripts files who need more knowledge to know what they do. Even of this, Openrc being the default initscripts system on Gentoo is correct in my opinion from the moment you can install to Systemd with painless.
_________________
Paul
Back to top
View user's profile Send private message
e3k
Guru
Guru


Joined: 01 Oct 2007
Posts: 362
Location: Inner Space

PostPosted: Mon Jul 25, 2016 9:43 pm    Post subject: Reply with quote

open rc for some years here. if your gentoo distribution supports openrc dont switch elsewhere.
_________________
((O.o))
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum