[systemd-devel] DynamicUser in instantiated (and socket-activated) units

Leonid Isaev leonid.isaev at ifax.com
Tue Jan 21 16:02:06 UTC 2020


On Tue, Jan 21, 2020 at 03:53:10PM +0000, Leonid Isaev wrote:
> 	I am trying to sandbox processes that run via instantiated units and
> the DynamicUser feature seems like a nice solution. However, when I start
> several such units simultaneously, the dynamic UID, while random, is the same
> for all instances (see below). Is this expected behavior and is there any way
> to make UID different for each instance?

Sorry, forgot to mention, it is systemd 244 on Arch Linux.

Thanks,
L.

-- 
Leonid Isaev


More information about the systemd-devel mailing list