SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was wanting to remove systemd from Opensuse and could not find out any information on how to do so or if it was even possible to remove systemd in favor of sysvinit.
Looking around I finally found that you can remove systemd and use sysvinit from this link.
It says "uninstall systemd. This should be done only with maximum care because the risk of having a system not booting is high;
At least if you have the rpm systemd-sysvinit remove it, otherwise /sbin/init is symlinked to systemd. [see also below]"
So what is the right and preferred way to remove systemd. I saw that xorg and yast is required by the systemd package. And also I install the sysvinit package first then remove systemd then reboot and inside the kernel command line add init=/sbin/init then the system will boot without systemd, right?
So the order that I will want to do this in is:
1.) download sysvinit package
2.) remove systemd and its dependencies
3.) reboot system
4.) add init=/sbin/init
5.) boot to desktop
Thank You!
Last edited by bagginmtdoom; 11-23-2015 at 12:43 PM.
AFAIK, unlike Debian in openSuse you are not really meant to slash out the init system and replace it with something else. This means that many packages likely are compiled with systemd support and may or may not be broken when systemd is missing or not running as PID 1. In any case you will need to have deep understanding about openSuse and its inner workings for such an operation. My recommendation if you don't want to run systemd would be to not use openSuse, go for Slackware, Gentoo, CRUX or Void Linux, in all of them systemd is either not present or not the default. You may also go for Debian and switch out systemd with SysVInit, Debian supports that and it is quite easy to do.
My recommendation if you don't want to run systemd would be to not use openSuse
Agreed
If you don't want to use systemd, then don't use an OS that defaults to systemd and doesn't provide an easy and supported method for getting rid of it. You will likely break nearly every other package in the system by trying to do this, and there's really no point when there are plenty of other distros that don't use systemd in the first place.
So you have actually got opensuse to run without systemd? What steps did you take to do it? I already know, that I would have to recompile some packages like X, kernel, and GRUB.
Last edited by bagginmtdoom; 11-27-2015 at 09:24 AM.
AFAIK, unlike Debian in openSuse you are not really meant to slash out the init system and replace it with something else. This means that many packages likely are compiled with systemd support and may or may not be broken when systemd is missing or not running as PID 1. In any case you will need to have deep understanding about openSuse and its inner workings for such an operation. My recommendation if you don't want to run systemd would be to not use openSuse, go for Slackware, Gentoo, CRUX or Void Linux, in all of them systemd is either not present or not the default. You may also go for Debian and switch out systemd with SysVInit, Debian supports that and it is quite easy to do.
I know that switching init systems will possibly break my system. I also know that I can change to another distro to fulfill my non systemd needs. I like .rpm distros because of the ease of use of the package system and the ease of the spec file and the fact that their is the spec file. But their are no non systemd based .rpm distros or guides to remove systemd, as .rpm distros are heavily intergrated with systemd. So when I found that article the said it was possible to replace systemd I was excited. Its going to take a lot of work, but hopefully I can get it to a half way state.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.