Bug#888850: systemd-timesyncd fails to start
mlnl
mlnl at mailbox.org
Tue Jan 30 20:58:02 GMT 2018
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
More information about the Pkg-systemd-maintainers
mailing list