Fedora26 (Rawhide)-- have successfully configured system to boot and run without any running instances of systemd
FedoraThis forum is for the discussion of the Fedora Project.
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.
Fedora26 (Rawhide)-- have successfully configured system to boot and run without any running instances of systemd
I now have a fedora26 system running on SysV init instead of systemd, which, according to all sources that I could find online, is an impossible setup. This "project" of mine is in its VERY early stages, so, as would be expected, not everything works yet. However, based on the vast array of programs and functions that DO work without problems, and that also have systemd listed as dependencies, I am very seriously starting to question the credibility of declared dependencies of packages.
(I have not at this time *removed* the systemd files, and have no immediate plans to do so-- mainly to satisfy dependencies. But the fact that those programs whose dependencies I am satisfying by keeping systemd in place have full functionality while there are no systemd processes running on the system at all is why I question whether or not that dependency should even exist.)
For example, the package manager, DNF. Since I've been booting with sysvinit, I have had absolutely *ZERO* DNF related issues. None. Packages still install just as they should, system updates still update as one would expect them to, etc.. I decided to run the command "dnf remove systemd" (not to actually remove it, but to have a look at what removing it would do to the system). I got the error message that the package manager itself requires systemd. Yet, systemd is not running on the system and the package manager still works.
This does not make sense to me. If dnf TRULY needed systemd, then I would expect dnf to not work while systemd is sitting there inactive. Yet, dnf does work. I have heard similar accounts of other packages that supposedly require systemd, but they are known to still run with full functionality without systemd. It makes me feel as though we are being told things that are not true in order to lock us into being dependent on certain programs and software...in other words, to take away users' freedom. Can anyone provide a concrete reason why dnf would depend on systemd? Beyond, "your distribution knows what's best-- just trust them, no questioning allowed"? If there is a legitimate reason, I would truly like to know.. I like to understand the inter-workings of my system as thoroughly as I possibly can.
Thank you for your work.
The whole Systemd thing didn't make sense to me. Be careful, some think that just asking about Systemd is some kind of major crime.
Chris.
Last edited by happydog500; 11-22-2016 at 12:53 PM.
Can anyone provide a concrete reason why dnf would depend on systemd? Beyond, "your distribution knows what's best-- just trust them, no questioning allowed"? If there is a legitimate reason, I would truly like to know.. I like to understand the inter-workings of my system as thoroughly as I possibly can.
Who told you that dnf required systemd? Maybe the rpm to install dnf depends on systemd (because its spec file lists it as a requirement) but if you look at the source code of dnf, it's pretty clear that systemd is not required.
firejuggler86, you should look at the sources of applications and not the ready-made packages, especially since you are presumably re-building a lot of them anyway. What a package tells you is required is not necessarily what `ldd` will tell you.
A package is arbitrary. The author(s) can define anything in a package, whether it's actually required for compilation, runtime, or not required at all. Saying that the ready-made dnf rpm requires systemd is not the same as saying that the executable 'dnf' requires systemd.
If you're rebuilding the Fedora distribution to exist without systemd, you should 1) post your work somewhere so everyone can benefit, because you're doing amazing work and 2) ignore what Fedora packaging is telling you (because Fedora naturally assumes that systemd is part of the core) and look at the source (which will not assume systemd).
Dare I play devil's advocate and say that the only way you'll truly find out if systemD is inactive is by maybe truncating the binary or libraries to 0 bytes? Just because it's not running as an init system, doesn't mean the other applications aren't using parts of it in other ways.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.