Are We There Yet? Systemd

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

Moderator: Moderators

Are We There Yet? Systemd

Postby sqlpython » Wed Oct 23, 2013 22:50

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...
Last edited by sqlpython on Fri Oct 25, 2013 4:14, edited 1 time in total.
Criticism accepted for Solutions that work. ;^)
Sabayon 13-DEBIAN 8- #! -Sid-Slackware 14-Calculate 13-Bridge
sqlpython
Technological Hen
 
Posts: 386
Joined: Mon Jun 18, 2007 7:01
Location: If It Moves Compile It

Re: Are We There Yet? Systemd

Postby wolfden » Thu Oct 24, 2013 16:30

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.
wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Are We There Yet? Systemd

Postby sqlpython » Thu Oct 24, 2013 21:33

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.
Criticism accepted for Solutions that work. ;^)
Sabayon 13-DEBIAN 8- #! -Sid-Slackware 14-Calculate 13-Bridge
sqlpython
Technological Hen
 
Posts: 386
Joined: Mon Jun 18, 2007 7:01
Location: If It Moves Compile It

Re: Are We There Yet? Systemd

Postby Cb7 » Mon Nov 04, 2013 18:48

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.
Why, and how to add "[Solved]" to your post. Please read. ← credits to Fitzcarraldo

Kind regards
~Zetok Zalbavar
Cb7
Growing Hen
 
Posts: 104
Joined: Sun Apr 07, 2013 7:13

Re: Are We There Yet? Systemd

Postby sqlpython » Mon Nov 04, 2013 20:01

Thanks, Good info. Don't know why then I had issues. Works now and I will just move forward.
Criticism accepted for Solutions that work. ;^)
Sabayon 13-DEBIAN 8- #! -Sid-Slackware 14-Calculate 13-Bridge
sqlpython
Technological Hen
 
Posts: 386
Joined: Mon Jun 18, 2007 7:01
Location: If It Moves Compile It

Re: Are We There Yet? Systemd

Postby tollgate » Wed Nov 06, 2013 3:52

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.
tollgate
Growing Hen
 
Posts: 105
Joined: Thu May 31, 2012 3:57
Location: Jomtien, Thailand

Re: Are We There Yet? Systemd

Postby sqlpython » Wed Nov 06, 2013 4:58

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
Criticism accepted for Solutions that work. ;^)
Sabayon 13-DEBIAN 8- #! -Sid-Slackware 14-Calculate 13-Bridge
sqlpython
Technological Hen
 
Posts: 386
Joined: Mon Jun 18, 2007 7:01
Location: If It Moves Compile It

Re: Are We There Yet? Systemd

Postby lxnay » Wed Nov 06, 2013 8:08

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.
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3595
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Are We There Yet? Systemd

Postby tollgate » Wed Nov 06, 2013 9:37

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.
tollgate
Growing Hen
 
Posts: 105
Joined: Thu May 31, 2012 3:57
Location: Jomtien, Thailand

Re: Are We There Yet? Systemd

Postby sqlpython » Mon Nov 18, 2013 16:14

^^ 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.
Criticism accepted for Solutions that work. ;^)
Sabayon 13-DEBIAN 8- #! -Sid-Slackware 14-Calculate 13-Bridge
sqlpython
Technological Hen
 
Posts: 386
Joined: Mon Jun 18, 2007 7:01
Location: If It Moves Compile It


Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron