[refpolicy] [PATCH 1/2] DHCPC daemon init network interface, try 4

Chris Richards gizmo at giz-works.com
Thu Dec 30 18:12:30 CST 2010


Allow dhcpcd DHCP CLient daemon to start.

Relabel /var/run/dhcpcd from var_run_t to dhcpc_var_run_t

Signed-off-by: Chris Richards <gizmo at giz-works.com>
---
 policy/modules/system/sysnetwork.fc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/policy/modules/system/sysnetwork.fc b/policy/modules/system/sysnetwork.fc
index 726619b..11a2306 100644
--- a/policy/modules/system/sysnetwork.fc
+++ b/policy/modules/system/sysnetwork.fc
@@ -63,4 +62,5 @@ ifdef(`distro_redhat',`
 
 ifdef(`distro_gentoo',`
 /var/lib/dhcpc(/.*)?		gen_context(system_u:object_r:dhcpc_state_t,s0)
+/var/run/dhcpcd(/.*)?		gen_context(system_u:object_r:dhcpc_state_t,s0)
 ')
-- 
1.7.3.4



More information about the refpolicy mailing list