[TUHS] What qualifies as unix history?
Steffen Nurpmeso via TUHS
tuhs at tuhs.org
Thu Nov 26 06:46:59 AEST 2026
Marco Moock via TUHS wrote in
<b20829c1-f968-4aeb-9324-2ef22fc2aff7 at dorfdsl.de>:
|Am 25.11.26 um 19:31 schrieb Jon Steinhart via TUHS:
|> I think that this is why so much of Linux looks like Windows now, \
|> people who
|> got educated on Windows are now contributors to Linux. It can be \
|> summed up
|> in a single word: "systemd".
|
|Linux runs on Laptops that need standby, hotplugged devices and changing
|network connections.
|
|Such needs were not satisfied by the Unix concepts back then, that is
|why systemd evolved and is now so widespread.
Eh, i use Linux on laptops without systemd. (BSD-style CRUX
Linux.) Wonderful!
In fact i use the wonderful EFI stub plus kexec and custom
kernels even, with kernel on EFI plus same kernel on encrypted
device, then with all modules and firmware. It is wonderful!
Thank you all!
Having said that, i think FreeBSD is even better when the hardware
support is proper. (It is ever so astonishing, Linux had billions
of cash already decades ago, with so many developer time, FreeBSD
runs with so little!)
That is owed to its super decentralistic design, instead of the
BSDish holistic approach.
For example, if you have an encrypted hard disk, and you suspend
the laptop, then it should be unmounted. When you wake up, what
is needed? You need to enter a password (/ plug in a xy stick) to
unencrypt the disk again, then "simply resume".
That is not much to do, actually, and the kernel, the protection
of which in memory is another thing, i think Linux is currently in
the works a bit said lwn, it likely has just about anything
necessary, and i *think* FreeBSD "simply can".
And the documentation, that covers that holisticism.
Not Linux, oh no. Instead code exists, which claims from itself
that it "needs systemd", even though what actually matters is the
possibility to have hierarchical process cgroups, so that one can
simply access "cgroup.freeze" to shut down cleanly and ordered
entire such. So it then does that, switches to some ramfs, in
order to be able to drive the cryptsetup program etc, suspends,
and on resume the opposite happens.
A lot of concepts exist on Linux, finit, runit, whatever, you know
all that. The former supports cgroups and anything. Look what it
needs to do provide a minimal "libsystemd".
The problem is that the money is not interested.
You can pretty much "easily" create separated hierarchies with
UNIX-style chains of "ip netns exec" plus "env -i .." plus
"unshare ..." and also "capsh ..". You are almost there!
Sure you need "overflayfs" mounts for separation, or so.
(I always found it a pity FreeBSD has nothing such for jails, ie,
simple overlay where you say "i need base + network, plus X bytes
of [persistent] storage", and then a somewhat useful filesystem
image is automatically created from the base system. Logs and
such, always a problem. Still. Same is true for Linux.)
Sure! I do understand one thing. I do have running software, it
has a nice mainloop, why not simply add a few hundred bytes of
code to query current time via NTP / xy to keep the current system
time in sync. And some to keep a hot cache for TTLd DNS entries.
Etc. But that is not UNIX.
I for one look a bit scared into the future. Shall Linux no
longer be truly usable without systemd, say eudev (thanks!) and
all such, yes, it seems even thinkable that certain environments
and program suites no longer work, and that also affects the BSDs
then, and i do not know (Open)Solaris, Haiku, you name it, .. well
maybe it does not affect FreeDOS.
In my opinion this is sick.
Btw i also do not like that "NoNewPrivs" thing certain big Linux
distributions seem to strive for, moving the complexity of setuid
and setgid and capabilities over some complex dbus protocol or so
to the complex systemd.
This is a very large field. But i for one prefer it otherwise,
with UNIX-style daemons which take care for privilege separation,
that is a lesson learned.
What then would be needed would be a good interface to work with
that privilege separation; there was that CloudABI well
experiment, but i think sometimes things would be so easy, you
know; for example, OpenBSD has a syslog "systemcall"; on Linux,
with the GNU libc, it is just plain impossible to do it right,
because so many different system calls were, are, and/or may be
needed, noone knows, so you effectively have to fork away
a dedicated syslog "thread" instead, because you just cannot do it
right. And such continues.
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)
More information about the TUHS
mailing list