A Slint fanboy from Berlin.

  • 0 Posts
  • 22 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle

  • The kernal of course has exactly the same functionality as kernels in systemd distributions. What good is that without the user space using the functionality though? A portable init tool will not use any of that… as soon as they do, the portability is gone and they are linux-only.

    Systemd-logind delegates priviledged operations like cgroup creation, power management, and such to PID1 (systemd) because that is the process with the necessary privileges and global view of the entire system to perform them. Managing that stuff is the one job systemd-PID1 has, logind is in a layer above and uses the foundational interfaces from the layer beneath it.

    Elogind removes that integration by necessity. No idea what it does instead, but going by elogind devs stating that consolekit was good enough and that logind is just a power grab, I doubt they do a very thorough job. That elogind is basically only updated when a new gnome version uses interfaces not provided by elogind does not indicate a very pro-active maintainer team to me.

    But you do what you think is best for your systems, I do what I think is best for mine.


  • IMHO supporting several init tools does more harm than good to any distribution. Its a lot of extra effort that few users will even notice.

    Traditionally we used a script to boot. Those of course looked different in each distribution, but the “init tool” was the same. Then we switched over to sysv init (and man did people complain about this overcomplicated mess of symlinks!), yet pretty much all distributions switched to that. Of course they shipped widely different init scripts, but the tool was pretty much the same everywhere. The Linux Standard Base even prescribed the sysv init and any compliant distribution had to use that. We never had a time where distributions offered options wrt. init tooling.

    I doubt the portability issue reporting from gentoo makes any difference whatsoever for the BSDs. They come up with all kinds of Linux compatibility stuff and that gets them the software they want.





  • Alpine is a wonderful distribution if you can afford to opt out of all thr security improvements made in the last 20 years.

    Just try to log the keystrokes of another user (as root/some other user or even from a program running as the same user) and compare that to a modern systemd system. It is amazing what a difference the new kernel features make (revoking access, only allowing one process access) together with systemd-logind to pass access around to the right processes. There are tons more examples… any progress made right now is in systemd first. In fact most progress is never taken up outside systemd at all.


  • Out of interest: Which init system is used on several OSes by default? Last I checked all OSes wanted init systems that made actual use of their unique kernel features. Any POSIX compliant init tool will by definition not support OS specific features out of the box. Maybe you can hack them on?

    I see this “they depend on systemd-specific features”: Of course. The systemd project listens when user space developers report the probpems they face with their problems and tries to solve them. Of course developers are going to use that, why would they want to hack around a problem poorly instead of using a proper solution that is more stable, robust and has seen way more testing than anything they could write themselves? The problem is not systemd here, its nobody else bothering to do something.


  • The security theater is strong in this one.

    “Nothing on this page asks for your faith.”, immediently followed by a whole list of “trust me” (to manage the keys correctly, that the person notices the keys getting stolen, that she manage the entire signing process correctly, …). No HW is used that could make it harder to steal keys, just some offline USB storage and a password manager. Every mainstream distro does way better than this, incl. Void linux this is based on.

    No systemd with all the security improvements that brings either, but I guess that will bring in a small fan base:-)



  • Tobias Hunger@programming.devtoLinux@programming.dev•Init Systems
    link
    fedilink
    arrow-up
    6
    arrow-down
    2
    ·
    5 months ago

    Systemd said on its first website that its a system management daemon. That is where the name came from. It was never supposed to be just an init system.

    No need to buy out udevd, considering the guy doing that was on board with systemd from the start and made sure that systemd-init can make maximum use of udev and the other way around… you typically do want to start stuff in response to hardware appearing and disappearing. Now they can do that safely by just asking systemd-init to manage the services. They needed to run stuff thenselves before, which pretty often ended up blocking the udev daemon from recognizing new events… a quality of live improvement for everybody involved:-)

    The rest has similar stories (only run network services when the network is up, start services only after the system clock has a sane value over starting the service and then adjusting the time at some later point (which some services handle really poorly), … . There are some damn good reasons for the stuff systemd does. That bootloader is a pretty central piece in the image by the way.

    Oh, and did I mention that anyone using or talking about non-systemd methods of doing things tends to get painted as “oh that’s OLD and OUTDATED and OBSOLETE, just use the systemd way it’s Modern™ and good”?

    That is pretty much the only thing I can agree with:-) And that is because the systemd ways are ofentimes way more robust and able to deal with corner cases way better.







  • When going so far back: Please do not leave out the FL part of FLOSS. Free/Libre software kicked this all off, the OSS is a later attempt to “sell” the development process FL software came up with to companies, stripping out all the pesky ideas about society benefiting for moving all the benefits over to the companies using OSS. Free/libre softwsre and OSS are technically the same, but the idea behind the licenses are so very different: Free/libre software wsnt to give rights to end users, OSS cares about the freedom of the developers between yourself and end users – giving the companies the right to commercialize your work for you.

    The moment you stop caring for the social and societal aspects of software, it becomes OK to host on a proprietary service. That was never the case for the free/libre parts of our community. Those projects tend to shun proprietary services like discord, github and stuff. Pretty old fashined… not very sexy for young devs:-(