|
|
|
|
|
by felixgallo
3449 days ago
|
|
> PrivateTmp=yes
> PrivateUsers=yes
> PrivateNetwork=yes
>The fact that systemd supports these configuration options means that there's a simple and standard way to employ them with any service. What exactly does 'PrivateUsers' do? What uid do I have? When I write that uidin a db, what value does it keep? Between invocations, does the uid change or is it per unit? If a file is owned by a private uid, what do other processes on the system see? Is PrivateUsers for this unit file only, for the unit files in this group of unit files, across the entire system, across the entire cluster? If I want two different programs to share this PrivateUsers concept, how do I do that? It turns out that gluing random shit to the side of a monolith gives you the illusion of convenience, but since the monolith will not do that thing well -- for example, identity management -- you will end up with some programs that adopt the half-assed solution, and some programs that are forced to do things a different way because their use case is complex. Now you have two problems. |
|
https://www.freedesktop.org/software/systemd/man/systemd.exe...