Elektrine lite

← Feed

@ska@social.treehouse.systems

Post #1103737

2026-04-09 16:22 UTC

@mia@shrimptest.0x0.st It's not even security, because there is no privilege boundary breach here: everything is running as root, it's all collaborative. The whole reason for this entire mess is that systemd's supervisor is monolithic (ooooh, the M-word - it actually applies here) and uses one single socket to receive notifications from all its units. So, it needs to authenticate the clients when they send their notification message. It could pass a pipe to the units instead, or, as @navi@social.vlhl.dev suggests, one end of a socketpair if they need two-way communication and fd-passing. That would work perfectly. But it's systemd, so it uses a suboptimal solution and adds hacks upon hacks in order to make it work. Yes, this is madness. But we are not all putting up with it. It's just that, unfortunately, systemd has wildly expanded thanks to an aggressive deployment policy backed up by Red Hat and such. We are trying to reconquer ground, but it goes slowly because we're lacking manpower. (Edit: clarity and accuracy)

Replies (2)

  • @tknarr@mstdn.social 2026-04-09 17:31

    @ska@social.treehouse.systems @mia@shrimptest.0x0.st @navi@social.vlhl.dev Should I worry that I find your pipe/socketpair solution blindingly obvious and probably the way it was done when I first used Unix (BSD4.1, although I recall 2.something before that)? WTF were the systemd devs thinking...

    Open ##1103734

  • @mia@shrimptest.0x0.st 2026-04-09 16:36

    @ska@social.treehouse.systems @navi@social.vlhl.dev you’re doing absolutely necessary work

    Open ##2270206