Re: uuidd user / DynamicUser?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 30, 2022 at 04:50:24PM +0200, Chris Hofstaedtler wrote:
> Hi,
> 
> Debian sets up a uuidd user, for uuidd to run as. We also set the
> home directory for this user to /run/uuidd, which is on a tmpfs, so
> not ideal.
>
> I was wondering what other distributions do for the home directory?

RHEL/Fedora spec file:

getent group uuidd >/dev/null || groupadd -r uuidd
getent passwd uuidd >/dev/null || \
useradd -r -g uuidd -d /var/lib/libuuid -s /sbin/nologin \
    -c "UUID generator helper daemon" uuidd

So it uses /var/lib/libuuid as a home directory.

> Also, is anyone using DynamicUser for uuidd.service?

For Fedora and the next RHEL we plan to use 
https://www.freedesktop.org/software/systemd/man/systemd-sysusers.html

It means explicitly define uuidd user in sysusers.d. 

I'm not sure if our users will be happy with DynamicUser as uuidd is
critical for then and stability with minimal variability is expected
in setup and runtime.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux