Bug#902971: dbus-daemon[25]: Unknown username "systemd-timesync" in message bus configuration file

Michael Biebl biebl at debian.org
Wed Jul 4 12:01:05 BST 2018


Am 04.07.2018 um 09:09 schrieb Ryutaroh Matsumoto:
> Package: systemd
> Version: 239-4
> Severity: minor
> 
> Dear Maintainer,
> 
> When I run journalctl, I saw the following messages:
> 
> Jul 04 15:35:45 gtx1080ti-unstable dbus-daemon[25]: dbus[25]: Unknown username "systemd-resolve" in message bus configuration file
> Jul 04 15:35:45 gtx1080ti-unstable dbus-daemon[25]: dbus[25]: Unknown username "systemd-timesync" in message bus configuration file
> Jul 04 15:35:46 gtx1080ti-unstable dbus-daemon[25]: Unknown username "systemd-timesync" in message bus configuration file
> 
> The following users are configured in the dbus config files:
> 
> /usr/share/dbus-1/system.d/org.freedesktop.network1.conf:        <policy user="systemd-network">
> /usr/share/dbus-1/system.d/org.freedesktop.resolve1.conf:        <policy user="systemd-resolve">
> /usr/share/dbus-1/system.d/org.freedesktop.timesync1.conf:        <policy user="systemd-timesync">
> 
> Maybe the users "systemd-network", "systemd-resolve" and
> "systemd-timesync" should be created during the installation
> of "systemd" package, or "policy user" in the above config files
> should be different.

Those daemons do use DynamicUser=yes [1]. As a result I decided to drop
the creation of static system users from postinst [2].
This means, that the users are only resolvable (via NSS) if
libnss-systemd is installed and the corresponding service is running.
It feels like having ephemeral users and static configuration files
which reference those are somewhat contradicting concepts.

Regards,
Michael


[1] http://0pointer.net/blog/dynamic-users-with-systemd.html
[2]
https://salsa.debian.org/systemd-team/systemd/commit/4a1eb53f529c3268b0a559edd924cc143069cd41

https://salsa.debian.org/systemd-team/systemd/commit/f786e808ea0fe20ac3f498bcc1c7ade6378ed7fb

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20180704/acad6756/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list