Arch Linux systemd Migration
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
3 Replies
1. Make appropriate /etc/rc.conf changes, as per
2. Remove initscripts````
pacman -R initscripts
3\. Install systemd-sysvcompat````
pacman -S systemd-sysvcompat
(This will probably prompt you about conflicting with sysvinit and ask if you want to remove sysvinit, say [Y]es.)
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.
@wizzrobe:
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.