• 0 Posts
  • 319 Comments
Joined 1 year ago
cake
Cake day: June 2nd, 2023

help-circle





  • it has to be said that a lot of systemd’s features are broken if you’re operating a system without a dbus-enabled desktop manager

    Huh? Most of systemd’s features, including all in the above list, work even if you have no GUI installed at all.

    I do wish there were a good alternative that did not (via network effects) give firm control over a big portion of the Linux userland to a big corporation like IBM and its associated development practices

    I’m not seeing it. This isn’t Chromium, where it takes an army of world-class developers just to keep it up-to-date enough to be fit for its purpose. If systemd were hard-forked right now, and the new maintainer did little more than the occasional bug fix, systemd would still be useful for the foreseeable future.




  • Because it looks cool. That’s seriously the only reason.

    And it does look cool, although yeah, it is also harder to parse visually, which I suppose is why CSS has a media query specifically for asking whether the user wants reduced transparency.

    As for suckless, the biggest target of their hate seems to be systemd, and there are quite a lot of reasons to recommend it. A few off the top of my head (all but one of which I have used at one point or another):

    • Faster startup/shutdown
    • More reliable shutdown (it hangs less often than the old shell-script-based shutdown procedure)
    • Being able to see at a glance which services failed to start (systemctl --failed)
    • Being able to see at a glance a service’s status including its last few log entries (systemctl status)
    • Keeping track of (systemd-cgls) and optionally cleaning up (KillUserProcesses in logind.conf) user sessions
    • User services started on boot (requires loginctl enable-linger)
    • Easy sandboxing/deprivileging of services (ProtectHome, InaccessiblePaths, SystemCallFilter, CapabilityBoundingSet, etc)
    • Service→device dependencies (Requisite=sys-subsystem-net-devices-wlan.device + WantedBy=sys-subsystem-net-devices-wlan.device = “don’t start hostapd unless the Wi-Fi dongle is plugged in, and stop it if the dongle is unplugged”)
    • Querying the logs like a database (journalctl -p warning -b -u smbd = “give me all log entries made by smbd, of warning level or higher, since the last reboot”)