Descriptiondhcpcd-dbus.c::msg_handler(): Call raise() instead of handle_signal(),
since the latter is looking for something on the internal signal pipe,
and not paying attention to its argument.
TEST=Send org.chromium.dhcpcd.Release method to dhcpcd, note that it exits (possibly by sending the method call twice and noting that it fails to contact dhcpcd the second time).
Details: Start a dhcpcd with a known DBus ID by running "dbus-monitor --system interface=org.chromium.dhcpcd" and plugging in an Ethernet cable; look for the "sender=" value.
Send the release command with "dbus-send --system --print-reply --dest=[DBus ID] /org/chromium/dhcpcd org.chromium.dhcpcd.Release"
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|