r/linux • u/electromaker • Mar 11 '18
Linux Operating Systems for the Raspberry Pi
https://www.electromaker.io/blog/article/12-best-linux-operating-systems-for-the-raspberry-pi4
3
u/tristes_tigres Mar 11 '18
Which of those distributions are systemd-free, beside Gentoo?
4
u/TheNiceGuy14 Mar 12 '18
Why is that important? RPi actually runs better with systemd. It is all written in C. No funky and slow shell scripts. I had gentoo on my pi and there was a considerable difference in boot time between systemd and openrc.
-5
u/tristes_tigres Mar 12 '18
I prefer not having on my computers a buggy combine trying to assimilate most of core os functionality and riddled with exploits potential. I remember pretty well how Pottering dismissed a root exploit as "not a bug".
1
u/FryBoyter Mar 12 '18
trying to assimilate most of core os functionality
You don't want to use systemd-networkd? Then use netctl, for example. You don't want to use systemd-timesyncd? Then just use sntp. Etc. With a few exceptions, the tools of systemd are purely optional. For years.
2
u/tristes_tigres Mar 12 '18
"You don't want binary logs - just recompile and install from sources"
1
u/FryBoyter Mar 12 '18
ForwardToSyslog
https://www.freedesktop.org/software/systemd/man/journald.conf.html
There is no need to recompile anything from source.
1
u/tristes_tigres Mar 12 '18
There is no way to remove journald without recompiling from source. That's because Pottering knows better than me what is good for my system.
1
u/FryBoyter Mar 13 '18
Right journald is one of the few components that are mandatory "needed". But with ForwardToSyslog=yes (/etc/systemd/journald. conf) the entries can be forwarded from journald to e. g. rsyslog so that you can continue to have a log file in text form. And for this it is not necessary to recompile anything from the sources.
1
u/tristes_tigres Mar 13 '18
Right journald is one of the few components that are mandatory "needed"
It is not necessary from the technical point of view, which is why you put "needed" in quotes. It was a political decision to force users to have this utility on their systems even if they don't want to use it.
1
u/FryBoyter Mar 13 '18
Other parts like gcc or xorg are or were packages you had to have installed. For years now. Whether you wanted to or not. Why hasn't anyone been bothered so far? I mean, we're talking about a memory usage of less than 20 MB. For the entire systemd project. If you would compile it yourself and omit all the optional tools, you would probably get into the single-digit range without any problems.
4
u/emacsomancer Mar 12 '18
Void Linux uses runit as its init. Works very well on the RPi.
2
u/tristes_tigres Mar 12 '18
Never heard about it, interesting. How does its packaging system compares with apt?
Calculate Linux is essentially precompiled gentoo, but they don't support ARM, unfortunately
2
u/emacsomancer Mar 13 '18
xbps is perhaps a bit faster than apt, but similar functionality. Void is probably the easiest non systemd distro that you can install on the pi.
0
1
u/knobbysideup Mar 12 '18
I use my pi as my primary DNS/DHCP server and my UPS Nut server. It's running headless CentOS 7,
14
u/lambda_abstraction Mar 11 '18
Without a clearly stated criterion for "best," this is just so much clickbait. I have an embedded project on RasPis, and they run a stripped down headless Slackware ARM. For my work, this seems a good fit, but it might not be for other use cases.