Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Nov 18, 2012 12:17 am 
Offline
Newbie

Joined: Sun Nov 18, 2012 12:09 am
Posts: 2
As Arch has now begun the transition away from sysvinit/initscripts in favor of systemd (see https://www.archlinux.org/news/end-of-i ... s-support/), how should those of us who might like to migrate to systemd go about doing so?

It is easy enough to set everything up except actually calling the systemd binary on boot, as we don't have control over the bootloader and can't just change a line in grub to init=/bin/systemd.

As sysvinit receives less and less support, it will become more and more important for Linode to provide/document a way to change over to systemd.

Thanks!

-Aaron


Top
   
PostPosted: Sun Nov 18, 2012 12:36 am 
Offline
Newbie

Joined: Sun Nov 18, 2012 12:09 am
Posts: 2
Nevermind, just found how to do it:

1. Make appropriate /etc/rc.conf changes, as per https://wiki.archlinux.org/index.php/Systemd.
2. Remove initscripts
Code:
pacman -R initscripts

3. Install systemd-sysvcompat
Code:
pacman -S systemd-sysvcompat
(This will probably prompt you about conflicting with sysvinit and ask if you want to remove sysvinit, say [Y]es.)


Top
   
PostPosted: Tue Feb 12, 2013 8:56 pm 
Offline

Joined: Thu Apr 14, 2011 10:00 am
Posts: 1
Big thanks for this!

I was nervous about swapping over to systemd on the linode. Turns out this really is all I needed to do. Once the linode rebooted I used the lish console to re-start sshd, and from there I could log in and get all my systemd services setup.


Top
   
PostPosted: Tue Feb 12, 2013 9:06 pm 
Offline
Senior Member

Joined: Tue Aug 12, 2008 8:41 am
Posts: 56
wizzrobe wrote:
Big thanks for this!

I was nervous about swapping over to systemd on the linode. Turns out this really is all I needed to do. Once the linode rebooted I used the lish console to re-start sshd, and from there I could log in and get all my systemd services setup.


As an FYI to others, once systemd is installed you can start enabling services even if it's not actually running as the init system. That way when you reboot you won't have to log in via lish and start things manually.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 6 guests


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group