User=0day considered harmful in systemd
User=0day considered harmful in systemd
Posted Jul 13, 2017 14:30 UTC (Thu) by giggls (subscriber, #48434)In reply to: User=0day considered harmful in systemd by dskoll
Parent article: User=0day considered harmful in systemd
Especially when they need to have the same userid across different machines.
I used to do this for the sudo group in some setups.
Posted Jul 14, 2017 10:52 UTC (Fri)
by dskoll (subscriber, #1630)
[Link]
In that case, those unit files should depend on the databases being started first and should be re-parsed at that time. It gets a bit ugly... you need to parse the unit files once to get dependencies and not care about unknown users at that point, but care about unknown users when you actually go to start the service. I think it's manageable, though.
User=0day considered harmful in systemd