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."

19 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 TechyImmigrant · · Score: 4, Informative

    Make no mistake, this is a turf war.

    Who's in charge? The user? The kernel? Ring-0?
    The answer to this is different depending on the topic. The topic here is init and who gets to say what the rlimits are and how. There are lots of other topics - random numbers, filesystems, network attach-detatch, routing etc. 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".

    This is generally fine, but for each there will be a slashdot thread with many jerks represented.

    --
    I should use this sig to advertise my book ISBN-13 : 978-1501515132.
  5. 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.

  6. 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.

  7. 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

  8. 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.

  9. 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.
  10. Re:You all presumably know why. by Anonymous Coward · · Score: 4, Interesting

    And yet that part isn't 100% separate... it cannot operate on its own, it requires libsystemd -> it isn't separate. While it is true it is mostly unused it is a gross misrepresentation to say it is 100% separate.

    Systemd is a poorly thought out concept.. Half of the feature-creep is because of a lack of understanding and the other half due to NIH.
    The recent "username starting with a number" bullshit is clear proof of that... username start with a number & wanting a unitfile executed as said user ? TOBAD... executing as ROOT... Systemd still hasn't resolved this & their preferred solution right now is redefine what a valid user is ... sure starting with a number is bad BUT blocking a "." in the name... that SMB and AD issues right there...

    Or what about the rapid polling of getpid() ?

    its a flawed concept

  11. Re:You all presumably know why. by TWX · · Score: 4, Funny

    So what editor do you use?

    --
    Do not look into laser with remaining eye.
  12. 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.

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

    No. The problems in systemd were closed because the maintainer didn't like people pointing out that his design is shit.

  14. Re: You all presumably know why. by DeHackEd · · Score: 4, Insightful

    No, logs are preserved by shipping them off to another system over the network. Binary logs are harder to forge, but not impossible. Faking wtmp entries is a thing, for example.

  15. 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.

  16. 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.

  17. Systemd: What Does It Solve? by Frosty+Piss · · Score: 4, Interesting

    I am not questioning you opinions on systemd, particularly since my father, a retired CE and lifelong *nix user dislikes it with a passion. But I'm way to ignorant of the dirty mechanics and politics of Linux to understand how, with so many presumably knowledgeable folks who dislike systemd, it became a standard in the more popular distros. Does it solve some vexing issue for the maintainers of these distros? What do these people find so compelling as to make such a fundamental change?

    --
    If you want news from today, you have to come back tomorrow.
    1. 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.
  18. Re: You all presumably know why. by KiloByte · · Score: 4, Insightful

    There are so many ways to add an username Poettering won't like. The majority of programs for creating new accounts (except for adduser). Samba+AD, as you said. LDAP. Any random "pull authentication from a database" script. Using an editor on /etc/passwd. Etc.

    POSIX defines a minimal set that must be supported, and systemd fails to handle even that.

    But this is not the damning part -- every piece of software can have bugs, any non-trivial piece of software has bugs. This is natural. What's totally, utterly unacceptable, is responding to an obvious, critical bug, that also contradict the standard without providing a rationale, with a WONTFIX.

    On a shit package that applies rainbow colors to a line of text, this would be grounds for immediate purging.

    On something that wants to replace init+rc+mount+pm-utils+DNS+lxc+about everything else, it's grounds for nuking an entire distribution from the orbit.

    --
    The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.