Originally posted by DesktopLinux
SysVinit 3.11 Released With An "Important Feature" At Long Last
Collapse
X
-
Originally posted by intelfx View Post
Got it wrong, though.
I prefer speed and simplicity of systemd over UNIX neckbeards' bloated, slow monstrosity of impotent tools and unsound shell scripts, thank you very much
simple != easy.
"I prefer speed and simplicity of Windows over *nix neckbeards slow monstrosity of impotent tools and unsound shell scripts" ahhh argument
Comment
-
-
Originally posted by TheMightyBuzzard View Post
In theory, yes. In practice, "lol fu".
Way too many cultist userspace programmers have made their code dependent on one specific init system when it has absolutely no reason to be. That should never have happened with anything except system utilities that deal directly with the systemd init system and no other. That's not systemd's fault but it absolutely is the fault of its cultists.
Comment
-
-
Originally posted by Raka555 View PostAlso memory/storage limited environments sometimes uses an alternate libc like musl-libc.
You can not make systemd work with the alternate libc's short of rewriting parts of systemd to not use glibc specific features.
I have completed an initial new port of systemd to musl. This patch set does not share much in common with the existing OpenEmbedded patchset. I wanted to make a fully updated patch series targetin…
Yes people have done musl-libc ports its less than 40 patches to make systemd work.
Not only do you have remove glibc specific features you have to support specific features of the alternative libc you are using. C and Posix standards don't define everything you need.
Yes the patches show that over 99% of systemd is in fact libc neutral. Yes that less than 1% means the complete thing refuses to work.
Of course the above musl patch set has the problem that it takes out glibc stuff and put in musl stuff so effectiving breaking building this patched version of systemd for musl on glibc due to now it using musl specific features.
libc items like it or not are not neutral items.
Comment
-
-
Originally posted by TheMightyBuzzard View Post
In theory, yes. In practice, "lol fu".
Way too many cultist userspace programmers have made their code dependent on one specific init system when it has absolutely no reason to be. That should never have happened with anything except system utilities that deal directly with the systemd init system and no other. That's not systemd's fault but it absolutely is the fault of its cultists.
systemd, the umbrella project, provides tons of individual components and features. why not take advantage of whats available, when it reliably works? systemd and its many projects revolutionized and continue to revolutionize linux for a reason.Last edited by mobadboy; 22 October 2024, 09:33 PM.
Comment
-
-
Originally posted by tobias View Post
Sure. But is that design decision still relevant today?
So we have a few useless lines of C code and run those as PID1 and run the interesting stuff (e.g. service management) as PID2. How does that make the overall system simpler?
I care that my system as a whole runs fine. If the service management crashes I will need to reboot. Which PID service management has is not important.
But let's assume we have a simple PID1 that starts service management and the service management crashes. What now?
1. PID1 reboots the system when PID2 stops. So PID2 crashing effectively reboots the system. That is not much different from PID1 crashing itself
2. PID1 does nothing. The system is dead now and I need to turn it off.
3. PID1 restarts service management... that means PID1 is not minimal anymore though. We are on a slippery slope towards moving the service management into PID1 :-)
Comment
-
-
Originally posted by oiaohm View PostOf course the above musl patch set has the problem that it takes out glibc stuff and put in musl stuff so effectiving breaking building this patched version of systemd for musl on glibc due to now it using musl specific features.
It's easy to support both with an #ifdef mess or #include <musl-compat.h>, etc but when upstream doesn't want it, from the perspective of the patch maintainer it's easier to maintain by ripping out all of the Glibc stuff.
Comment
-
-
Originally posted by tobias View PostSure. But is that design decision still relevant today?
Originally posted by Weasel View PostWith a million daemons running in the background?
systemd needs to be exorcised. Waste of CPU power and memory.
Originally posted by F.Ultra View PostComments like the above is why it is so hard to take anti-systemd people seriously.
I am a C++ developer for decades now, even teaching c++20 and C++23. I love it. But man, do I hate some aspects of C++, like default constructors and operators or even implicit conversions. I do Rust programming and yes, I see the benefits, and some are really good, but man do I hate the over-complex syntax (async Rust) and the runtime bloat (from the perspective of embedded) and the over-reliance of online hosted crates. Now after the .io top level domain may be going away I hope some more people see why this is not a good idea. I mean after cpan, npm, pypi are now good malware/adware providers I thought people understand this, nope. After left-pad fucked the whole world, nope... Okay, back to topic. I love coding using Zig. You know, having no runtime (just attach to kernel APIs) is great, the buildsystem being part of the language itself is great, but man do I hate it having no constructor/destructor mechanism to do RAII. defer is nice, but still is not enough. See? I try to use my brain and try to understand the pros/cons.
Originally posted by F.Ultra View PostI have no experience with embedded, but for servers/hpc, systemd is a godsend.
To make it short: On HPC system doing serious work, running for weeks or months, you really want a predictable runtime behavior. Having daemons running on the system, which start to do some work like deleting or swapping out journals and eating into your IO or CPU time can become a nightmare. This is the reason why running systemd on a HPC system may be a bad idea. And yes, I know this is an extreme example. But I want to demonstrate you, that I do not throw bullshit around. I tell this, because I encountered these issues. I really try to see the good and the bad.
Comment
-
Comment