systemd

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

systemd

Postby cptG » Tue Jul 31, 2012 0:26

Hello!
Has anyone ever considered/tried using systemd on sabayon?
Before you ask why: I'd like to try it. I'd also like to see just how customizable sabayon is - it seems gentoo can be bent any way desired, so I'd expect sabayon to not fall behind in this regard. And yes: I do not expect any kind of support for systemd-related problems I might face in the future in #sabayon or in this forum.
Also: I'm fine with mixing entropy and portage, I'm already doing so. I've not used gentoo before using sabayon and I've only been using sabayon for about 6 months, though.

Ok, getting on...
I just read the gentoo wiki on systemd [1] and there's a couple of things I'm not sure about:

In the wiki page it is mentioned that the kernel needs to be configured with special flags. So I'll need to compile my own kernel? I'm not sure if the options mentioned in the wiki page are already enabled, i.e. I do not know the mapping of these menu entries to values in /usr/src/linux-wallawalla/.config. Any help on that and maybe a pointer to how a custom kernel is compiled on sabayon (if needed) would be great.

Second thing: there is a systemd-overlay so I guess I'll use that. It provides baselayout-systemd, systemd-units and dnsmasq. It sounds reasonable to emerge these three in addition to the sys-apps/systemd ebuild but the "baselayout" ebuild sounds dangerous - will it mess with sys-apps/baselayout from sabayon?
Asked another way: if something goes wrong - will it be enough to de-emerge the systemd-stuff?

Any hints/help/advice would be great.

Cheers,
Thomas

[1] http://en.gentoo-wiki.com/wiki/Systemd
cptG
Baby Hen
 
Posts: 4
Joined: Sun Apr 15, 2012 0:03

Re: systemd

Postby ratcheer » Tue Jul 31, 2012 2:53

It is a pretty bold project. I'm sure you know that Sabayon uses OpenRC for the same kind of functionality systemd provides. I have used systemd on Arch Linux and I like it pretty well, but when I am on Ubuntu I use Upstart and when I'm on Sabayon I use OpenRC.

Good luck,
Tim
ratcheer
Growing Hen
 
Posts: 103
Joined: Wed Mar 14, 2012 16:41

Re: systemd

Postby ratcheer » Tue Jul 31, 2012 18:46

Ok, after I made that last post, I switched my Arch Linux system back to systemd. It worked pretty well, but not everything worked. I poked around a little more and remembered that I needed to also install a special package of systemd units for Arch. I may be wrong, but I doubt that such a package exists for Sabayon / Gentoo. If it does exist, maybe your project will not be too difficult. But, ...

Tim

PS - I can find these packages in Portage: systemd, systemd-sysv-utils, systemd-ui. There is nothing in Sabayon, at least not in the repositories I use.
ratcheer
Growing Hen
 
Posts: 103
Joined: Wed Mar 14, 2012 16:41

Re: systemd

Postby cptG » Tue Jul 31, 2012 20:31

Thanks for your reply, TIm!
There is a package systemd-units, but it's not provided by the sabayon overlay, it is in the overlay called systemd.
I think I'l just go for it, backing up my system beforehand of course.
I have my /etc managed with git so I might just get away with branching that repo before doing the switch and if something goes horribly wrong I'll be able to restore the old init system by switching back to master - who knows, I'm up for an adventure I guess ;)
cptG
Baby Hen
 
Posts: 4
Joined: Sun Apr 15, 2012 0:03

Re: systemd

Postby Fitzcarraldo » Tue Aug 21, 2012 18:09

cptG wrote:In the [Gentoo systemd] wiki page it is mentioned that the kernel needs to be configured with special flags. So I'll need to compile my own kernel? I'm not sure if the options mentioned in the wiki page are already enabled, i.e. I do not know the mapping of these menu entries to values in /usr/src/linux-wallawalla/.config. Any help on that and maybe a pointer to how a custom kernel is compiled on sabayon (if needed) would be great.

See the SL Wiki article HOWTO: Upgrade kernel using genkernel for how to rebuild the SL kernel.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7334
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom


Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 4 guests