Page 1 of 1

Are We There Yet? Systemd

PostPosted: Wed Oct 23, 2013 22:50
by sqlpython
This past 4 days or so I updated my Sabayon Xfce to 13.11 with all accompanying apps on my system.
Looks like this Now after some adjustments...
Code: Select all
 [email protected] ~ $ systemd --version
systemd 204
+PAM +LIBWRAP -AUDIT -SELINUX +IMA -SYSVINIT +LIBCRYPTSETUP -GCRYPT +ACL +XZ
[email protected] ~ $ lsb_release -a
LSB Version:   n/a
Distributor ID:   Sabayon
Description:   Sabayon Linux x86 13.11
Release:   n/a
Codename:   n/a

And I am really impressed with this update, artwork also.
Great packaging and execution..

Problem is this....
Grub was also updated and did wipe out my modification to boot into systemd.
I didn't notice at first because the boot times on the sysvinit is much improved.
But when I was checking with
Code: Select all
systemdctl -a

and such command I was getting dbus connection failures. This due to systemd not running at the time.
So, I corrected my grub to boot to systemd..
and
Code: Select all
eselect sysvinit set systemd

Rebooted again and all seems ok now.
After demonstrating the problem and adjustments the Question is:
Why didn't the Update just come up smiling as systemd but instead went back to sysvinit?
I thought since 13 that all installs would default to systemd including Grub info.

Perhaps is this because my install on this laptop started life as a fresh Sabayon 11 install?

If I could please get some dev feed back..
Or anyone that might know...

Re: Are We There Yet? Systemd

PostPosted: Thu Oct 24, 2013 16:30
by wolfden
I was having similar issues with an install prior to the systemd push, but than I had hard drive failure and never got to sort it out and when I did a fresh install with a default systemd sabayon, all was good. So I'm guessing prior installs may have some things to sort out.

Re: Are We There Yet? Systemd

PostPosted: Thu Oct 24, 2013 21:33
by sqlpython
Yes, thanks for that..
Confirms my suspicions as to my version 11 not bringing all scripts up to a 13.xx systemd level.
Not a big deal, just wanted some confirmation.

Really happy with the latest !!
Quick and tightly built.

Re: Are We There Yet? Systemd

PostPosted: Mon Nov 04, 2013 18:48
by Cb7
Actually on my install dating from Sabayon 11, there was no problem switching to systemd.
I haven't done anything but "eselect init" and adjusting services that were supposed to start, and it worked. No changes in grub were needed.

Re: Are We There Yet? Systemd

PostPosted: Mon Nov 04, 2013 20:01
by sqlpython
Thanks, Good info. Don't know why then I had issues. Works now and I will just move forward.

Re: Are We There Yet? Systemd

PostPosted: Wed Nov 06, 2013 3:52
by tollgate
Are there some definitive instructions somewhere for upgrading to systemd? I tried upgrading one machine by using "eselect init set systemd" (which I came across in the forum somewhere), rebooted and x would no longer start. I haven't really tried to fix this but now get x to start by booting a previous kernel version and it's not using systemd.

Re: Are We There Yet? Systemd

PostPosted: Wed Nov 06, 2013 4:58
by sqlpython
I posted my method in a thread here but it certainly isn't definitive except that it defines what I did..
viewtopic.php?f=57&t=29996&p=162887&hilit=+systemd#p162887

Re: Are We There Yet? Systemd

PostPosted: Wed Nov 06, 2013 8:08
by lxnay
That seems waaaay too complicate.
You just need to use eselect init and enable the services you use in openrc on systemd. "rc-update show" will tell you the former, "systemctl list-units" the latter. "systemctl enable/disable foo.service" is what you need, and the available units are in /usr/lib/systemd/system. You most likely need to either enable the gdm, kdm, lightdm, lxdm units basing on what is your login manager.

Re: Are We There Yet? Systemd

PostPosted: Wed Nov 06, 2013 9:37
by tollgate
Thanks for the instructions Lxnay. I will try again. I never realised about enabling the kdm unit so that's the most likely reason KDE would not start.

Re: Are We There Yet? Systemd

PostPosted: Mon Nov 18, 2013 16:14
by sqlpython
^^ lxnay.. sorry missed that post earlier
That seems waaaay too complicate.

I am a complicated Guy. :lol:

Now that I examine the latest advancements, You are of course Right.
I was continuing to follow the original How to ... that was outlined by Yourself when we introduced Systemd into the Sabayon. Unfortunately, I failed to keep up with Your improvements.. Noted and updated, Thanks.