timesync: try to reload DBus configuration when RequestName() fails
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 30 Apr 2018 14:51:04 +0000 (23:51 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 3 May 2018 09:05:14 +0000 (18:05 +0900)
commitc583dd564c2fd89edb785aa94e1869650732dbcb
tree29f7c0a44ee4d6c9f7799a54a37ca7e0d7d7e1bc
parente7dd394767330bb336e3aee68369aae3628e599f
timesync: try to reload DBus configuration when RequestName() fails

If dbus.service starts earlier than the dynamic user systemd-timesync
is realized, then the dbus policy file for timesyncd does not loaded
and timesyncd fails to request name.
To support such case, try to reload dbus configuration when requesting
name fails.
src/timesync/timesyncd-bus.c