Hi,

> I notice that /lib/systemd/system/systemd-timesyncd.service contains both the 
> lines:
>   DynamicUser=yes
> and
>   User=systemd-timesync
> but there is no such user as 'systemd-timesync' in /etc/passwd; if I add such 
> a user, the service starts up correctly, running as that user.

sudo aptitude install libnss-systemd
description: nss module providing dynamic user and group name resolution

sudo vi /etc/nsswitch.conf
passwd:         compat systemd
group:          compat systemd

no need to add timesyncd user to /etc/passwd

p.s.: man systemd.exec -> DynamicUser=

-- 
mlnl

Reply via email to