|
|
Subscribe / Log in / New account

User=0day considered harmful in systemd

User=0day considered harmful in systemd

Posted Jul 12, 2017 18:00 UTC (Wed) by drag (guest, #31333)
In reply to: User=0day considered harmful in systemd by dskoll
Parent article: User=0day considered harmful in systemd

Systemd is intended to be consumed by people designing operating systems. So it's expected that they should understand the software they are working with as well as be willing and able to make modifications when necessary It's a upstream project intended to be consumed by experts. If end users get burned by a systemd default it's at least partially the distribution's fault for not taking the time to configure it correctly for the users.

What we have here, at least in some ways, is a balancing act between the need for secure defaults and the need to have service files not only be backward compatible, but compatible between different distributions.

I think the solution to this problem may actually be a sort of 'systemd-lint' program. Something you can run that will check your service files for bogus lines, bad users, and other common pitfalls. There are multiple places that you can find configurations for any single service definition and requiring visual inspection of the code for correctness is really just setting up users and system administrators to fail.


to post comments

User=0day considered harmful in systemd

Posted Jul 12, 2017 18:39 UTC (Wed) by zdzichu (subscriber, #17118) [Link] (1 responses)

Regarding last paragraph of your reply, systemd-verify exists. Maybe it needs to be extended to check if rvalues are correct – https://www.freedesktop.org/software/systemd/man/systemd-...

User=0day considered harmful in systemd

Posted Jul 12, 2017 20:23 UTC (Wed) by zuki (subscriber, #41808) [Link]

Of course it checks that rvalues are correct ;)


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds