callouts: don't queue the DHCP callout's bus name request (bgo #680041)

If queueing the name isn't allowed, and two instances that start in
close succession, one instance will fail because it can't claim the
bus name.
This commit is contained in:
Dan Williams
2012-07-16 19:53:04 -05:00
parent 757a34fcdd
commit a03e7fb74f

View File

@@ -251,10 +251,7 @@ dbus_init (void)
dbus_connection_set_exit_on_disconnect (connection, FALSE);
dbus_error_init (&error);
ret = dbus_bus_request_name (connection,
NM_DHCP_CLIENT_DBUS_SERVICE,
DBUS_NAME_FLAG_DO_NOT_QUEUE,
&error);
ret = dbus_bus_request_name (connection, NM_DHCP_CLIENT_DBUS_SERVICE, 0, &error);
if (dbus_error_is_set (&error)) {
fprintf (stderr, "Error: Could not acquire the NM DHCP client service. "
"Message: (%s) %s\n",