diff options
author | Dan Williams <dcbw@redhat.com> | 2013-02-24 10:45:32 +0100 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2013-04-08 11:30:31 -0500 |
commit | b69171061c03aa1a240c976d6de74097f930abf8 (patch) | |
tree | 38279370438d6a9f92149bf03e616f171a812b01 /.gitignore | |
parent | 8e0b75eb0c9d492a126c26be058758dc5e3e5ce5 (diff) |
dhcp: use private socket to return status if available
Allows DHCP to work when a bus daemon isn't running. This also
fixes a race condition where when multiple interfaces are attempting
to get a DHCP lease at the same time, if one DHCP client instance
triggers the callout, that instance gets the bus name, and any
other client triggering the callout at that time will fail because
the bus name is already taken. Since this commit allows using
a private socket, where no process has a bus name, this race is
avoided.
Also move the DHCP helper from callouts/ to src/dhcp-manager/ to
consolidate all the DHCP stuff and clean up some of the helper's
code.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions