Skip to contentSkip to conversation

DHCPC daemon init network interface, try 4

PATCH New Chris Richards 2 participants 2 messages Dec 31, 2010 – Jan 10, 2011

lore
Share & tools
lore
#0 lore raw

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

Allow dhcpcd DHCP CLient daemon to start.

Relabel /var/run/dhcpcd from var_run_t to dhcpc_var_run_t

---
 policy/modules/system/sysnetwork.fc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
policy/modules/system/sysnetwork.fc +1 -0
index 726619b..11a2306 100644
@@ -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)
 ')
Signature · 1 line
1.7.3.4
#1 lore raw

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

Quoted 14 lines · Chris Richards

Allow dhcpcd DHCP CLient daemon to start.

Relabel /var/run/dhcpcd from var_run_t to dhcpc_var_run_t

---
 policy/modules/system/sysnetwork.fc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
policy/modules/system/sysnetwork.fc +0 -0
index 726619b..11a2306 100644

policy/modules/system/sysnetwork.fc ifdef(`distro_redhat',` · line 66

Quoted 5 lines
policy/modules/system/sysnetwork.fc +1 -0
@@ -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)
 ')

Looks like a copy-paste error? Your comment says dhcpc_var_run_t but the fc says dhcpc_state_t.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com