Slashdot Mirror


In Which Linus Torvalds Makes An 'Init' Joke (lkml.org)

Long-time Slashdot reader jawtheshark writes: In a recent Linux Kernel Mailing List post, Linux Torvalds finishes his mail with a little poke towards a certain init system. It is a very faint criticism, compared to his usual style. While Linus has no direct influence on the "choices" of distro maintainers, his opinion is usually valued.
In a discussion about how to set rlimit default values for setuid execs, Linus concluded his email by writing, "And yes, a large part of this may be that I no longer feel like I can trust "init" to do the sane thing. You all presumably know why."

12 of 359 comments (clear)

  1. Eventually systemd will replace the kernel by Anonymous Coward · · Score: 5, Funny

    Linus knows his time is short

    Repent, Linus, and maybe systemd will allow your kernel to run as a background process for housekeeping and legacy tasks.

  2. Re:You all presumably know why. by darkHanzz · · Score: 5, Insightful

    Presumably, this is a poke towards systemD. It has suffered from feature-creep, which directly opposes the unix-philosophy of doing only one thing, but doing it well. Recently, there was a problem with, I believe the DNS server which is part of systemD.

  3. Not very sytemd like by Mostly+a+lurker · · Score: 5, Funny

    Surely in the systemd era, we should be deprecating setuid on executables, and replacing it with some kind of systemd api. This provides a much more modern "unified" approach then all that minimalist, modular rubbish that infected the system for so long.

  4. Re:You all presumably know why. by QuietLagoon · · Score: 5, Insightful

    ...For all these things and many more there has been a turf war along the lines of "We will fix this in the kernel!", "Oh no you won't, we will fix this with our daemon", "Oh no you won't, my userland administration tool will fix this"....

    At that point, the need for an overall system-level architect comes into play. Someone who looks at the overall system, its architecture and design goals and decides the best way to implement features and fixes.

    .
    To this Linux outsider, it seems that systemd was implemented more because someone decided to do it, rather than being done because it was the appropriate solution to a problem.

  5. Re:You all presumably know why. by Anonymous Coward · · Score: 5, Insightful

    sysvinit was decrepit and unsuitable for modern systems,

    This is complete bullshit. My (modern) computer worked perfectly fine before systemd. There was zero improvement after my preferred distro replaced init with systemd. Maybe it booted up 2 seconds faster? I don't know, it's linux, I don't ever fucking reboot it. The only change in my life was how much time I had to spend learning systemd bullshit that added ZERO VALUE to my use of linux on my pc.

    So you better get a LOT more specific as to which system was "unsuited" for sysvinit before you start making blanket statements like that or people are going to continue to call you out on your bullshit.

  6. You were warned by Anonymous Coward · · Score: 5, Insightful

    SystemD is a trainwreck from day one and just keeps on piling more of it. If it were only init, things would've been more than fine. But no. It's a whole project of reinvented crapware that is reinvented BADLY. And distros blindly install more and more from the "project". Like Ubuntu and their idiotic decision to switch to systemd-resolved which was wrought with nothing but trouble, rendered Ubuntu 17.04 dead in the DNS water for a month since its release! I wonder which maintainer got paid to subvert Ubuntu with that.

    * networkd assuming dhcp client role, but then not renewing lease (freedesktop bug #82731 -- open for 3 years now!!), among many other issues
    * resolved assuming DNS resolver role, but then not being nearly compliant with RFC, among many other issues, some even serious security vulnerabilities
    * consoled taking over console, but then someone realized it's a REALLY dumb idea so they scraped it (for now)
    * timesyncd assuming ntpd role, but then doing stupid things like defaulting to Google NTP which is NOT a normal NTP service! Asked by google to not do that, responded EWONTFIX (systemd github issues #437), among many other issues ...

    In fact, it's even bad at being "just an init". Good luck with those NFS mounts and systemd. Good luck with "A start job is running" when it encounters a trivial situation that every. other. init. can. work. around.

    It's a shitshow fueled by arrogance of "we know better than all of you combined", just a quick look in the github issues is sufficient to see this. It's so out of control, that issues found to be 10 on vulnerability scales are closed as not a bug (CVE-2017-1000082).

    Every software has bugs, but systemd bugs are closed EWONTFIX because the principal developer has zero clue about modern operating systems. The principal developer of an init for a traditionally server oriented operating system* who, by his own words, never administered servers. And who, by his own words, disables read ahead prefetch because "systemd developers all run laptops with SSDs and don't need it"....... !!

    It's a sinking ship, rats are fleeing, and more and more professionals are getting SICK of it. You were warned, you laughed, you called us luddites, now enjoy the turd.

    *) With a server market share of more than 50% (look up Netcraft monthly stats), and a desktop market share of 1% -- so guess where the priorities are

  7. Re: You all presumably know why. by Anonymous Coward · · Score: 5, Informative

    Don't forget the recent severity 9.8 CVE regarding invalid username handling that Poettering closed as NOTABUG. It's a trainwreck of bad design driven by an egotistic idiot.

  8. Re:You all presumably know why. by TWX · · Score: 5, Insightful

    That's because in-part design-by-committee ends up with the noisiest, stupidest person on the committee calling the shots, that project ends up catering to the lowest common denominator.

    A large part of why Linux itself is successful is that while there's a lot of input, there's a single point of decision making in the form of Torvalds himself, and he's both smart enough to generally make good choices, and to listen to the debate and weigh the arguments to make a decision.

    Lennart Poettering is no Linus Torvalds. Perhaps something to replace System V and BSD inits is necessary, but Poettering's work with pulseaudio is itself incomplete; the init system is far too important to trust to him when his sound daemon, a relatively small but important piece of the desktop system, isn't really finished to a polished state.

    Besides, with the advent of the VM model for hosting and "cloud" where VMs are created and destroyed on an as-needed basis and automatically, stripping down the init process to the bare-minimum needed for a VM and using some kind of staging system to spawn the right conditions in the VM init process is probably more important than some all-knowing, all-seeing system that seems more tailored toward long-running, general-purpose computing anyway. The problem that SystemD solves isn't the new problem, it's the old one.

    --
    Do not look into laser with remaining eye.
  9. Re:You all presumably know why. by bferrell · · Score: 5, Interesting

    I quote myself...

    More pointedly, systemD has recently been found declareing usernames that are considered valid by the system at large and by POSIX standards, to be invalid and selecting a new userid at random (on some very common systems, root) and silently running processes under that user id.

    This is an EXTREMELY non-standard behavior and as such, unexpected by the user community at large. By many, it is considered a security breech. Based on the comment from Linus, I suspect he does not consider this to be sane behavior.

    The systemD developer community has demonstrated reluctance to correct this observed behavior.

    This isn't "change is scary". This is, the damned thing is broken and the developers went into Pewee Herman mode (I meant to do that! I won't fix it).

    THAT is scary. The rude and dismissive attitude around the cult of SystemD is even more scary.

  10. Re: You all presumably know why. by Anonymous Coward · · Score: 5, Insightful

    The username starts with a zero thing where closed days ago.

    Why the fuck should an init system even CARE what the user name is?

    Why the fuck did that init system reinvent user handling that the OS was ALREADY doing?

    Why the FUCK does systemd have it's own fucking DNS implementation?!?!

    Calling systemd SHIT is an insult to every piece of excrement, feces, turd, and dung that will ever be egested in the entire past and future history of this and every other fucking universe.

  11. Re: You all presumably know why. by Anonymous Coward · · Score: 5, Informative

    you are one of those special idiots my mother warned me about... EWONTFIX/Closed is NOT fixing...
    Updating manuals to (now) state that systemd only accepts usernames adhering to: [a-z_][a-z0-9_-]*$? is not a fix.
    Systemd hasn't fixed teh issue, they man paged what it doesn't like. someone creating a username starting with a 0 will still get executed as root. Even worse!!! a username with a "." in it will also do it... Periods have been permitted for ages (just not starting...) and this means if a linux machine is part of an AD it could cause issues...

    https://lists.freedesktop.org/archives/systemd-devel/2017-July/039237.html
    > 1. We do not permit empty usernames
    > 2. We don't permit the first character to be numeric
    > (This also filters out fully numeric user names)
    > 3. We do not permit dots in usernames, neither at the beginning nor in
    > the middle.
    > 4. We do not permit "-" at the beginning of usernames (something which
    > POSIX explicitly suggests, btw)
    > 5. We require that the user name fits in the utmp user name field, so
    > that we can always log properly about it.

  12. Re:Systemd: What Does It Solve? by chihowa · · Score: 5, Interesting

    It's a trojan horse story.

    Maintaining unit files seemed easier than maintaining sysvinit scripts, so the distro maintainers liked it (along with a couple of other init replacement contenders). It's also shiny and new and backed by RedHat.

    There was feature creep and capricious architectural design before most distros picked it up, but perhaps people didn't think that it would keep getting worse and worse. Now the project encroaches on more and more system roles and doesn't play well with the existing tools.

    --
    If you want a vision of the future, imagine a youtube comments section scrolling - forever.