mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 06:00:08 +01:00
dhcp: store dhclient's pid file in "/var/run/NetworkManager" instead of "/var/run"
The pid-file is private to NetworkManager. It should reside in NetworkManager's run directory instead of "/var/run". I don't think that changing this location can break existing uses. Why would somebody outside of NetworkManager care about this file? https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/157
This commit is contained in:
parent
b18cda2671
commit
eebcbfae75
1 changed files with 1 additions and 1 deletions
|
|
@ -376,7 +376,7 @@ dhclient_start (NMDhcpClient *client,
|
|||
iface = nm_dhcp_client_get_iface (client);
|
||||
uuid = nm_dhcp_client_get_uuid (client);
|
||||
|
||||
pid_file = g_strdup_printf (RUNSTATEDIR "/dhclient%s-%s.pid",
|
||||
pid_file = g_strdup_printf (NMRUNDIR "/dhclient%s-%s.pid",
|
||||
_addr_family_to_path_part (addr_family),
|
||||
iface);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue