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.
This commit is contained in:
Yu Watanabe 2018-06-29 12:35:36 +09:00
parent afb76fdbff
commit 825862972e

View file

@ -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", "Unable to request name, will retry after reloading DBus configuration: %s",
e->message); e->message);
/* If systemd-timesyncd.service enables DynamicUser= and dbus.service /* If a service enables DynamicUser= and dbus.service started before the dynamic user is realized,
* started before the dynamic user is realized, then the DBus policy * then the DBus policy about the service has not been enabled yet. So, let's try to reload DBus
* about timesyncd has not been enabled yet. So, let's try to reload * configuration, and after that request the name again. Note that it seems that no privileges are
* DBus configuration, and after that request the name again. Note that it * necessary to call the following method. */
* seems that no privileges are necessary to call the following method. */
r = sd_bus_call_method_async( r = sd_bus_call_method_async(
sd_bus_message_get_bus(m), sd_bus_message_get_bus(m),