diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-06-29 05:35:36 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-06-29 05:35:49 +0200 |
commit | 825862972e75b942a51e84f99391b046d68f1c2a (patch) | |
tree | 19739a42355798a15c4f05f873f65df1d0375f6e /src/shared/bus-util.c | |
parent | tree-wide: drop double newline (diff) | |
download | systemd-825862972e75b942a51e84f99391b046d68f1c2a.tar.xz systemd-825862972e75b942a51e84f99391b046d68f1c2a.zip |
bus-util: update comment
Originally, request_name_handler_may_reload_dbus() was written for
timesyncd. But now it is also called by networkd or resolved.
Diffstat (limited to '')
-rw-r--r-- | src/shared/bus-util.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c index 8b02c6be26..c739849bf2 100644 --- a/src/shared/bus-util.c +++ b/src/shared/bus-util.c @@ -1793,11 +1793,10 @@ static int request_name_handler_may_reload_dbus(sd_bus_message *m, void *userdat "Unable to request name, will retry after reloading DBus configuration: %s", e->message); - /* If systemd-timesyncd.service enables DynamicUser= and dbus.service - * started before the dynamic user is realized, then the DBus policy - * about timesyncd has not been enabled yet. So, let's try to reload - * DBus configuration, and after that request the name again. Note that it - * seems that no privileges are necessary to call the following method. */ + /* If a service enables DynamicUser= and dbus.service started before the dynamic user is realized, + * then the DBus policy about the service has not been enabled yet. So, let's try to reload DBus + * configuration, and after that request the name again. Note that it seems that no privileges are + * necessary to call the following method. */ r = sd_bus_call_method_async( sd_bus_message_get_bus(m), |