[refpolicy] [PATCH 1/1] hostname daemon init hostname from dhcpcd, try 2

gizmo at giz-works.com gizmo at giz-works.com
Mon Dec 20 16:29:18 CST 2010


From: Chris Richards <gizmo at giz-works.com>

Allow the hostname daemon to configure the system hostname according
to information obtained from dhcpcd DHCP Client daemon.

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

diff --git a/policy/modules/system/hostname.te b/policy/modules/system/hostname.te
index c310775..8509560 100644
--- a/policy/modules/system/hostname.te
+++ b/policy/modules/system/hostname.te
@@ -49,6 +49,8 @@ init_use_script_ptys(hostname_t)
 
 logging_send_syslog_msg(hostname_t)
 
+sysnet_rw_dhcpc_stream_sockets(hostname_t)
+
 miscfiles_read_localization(hostname_t)
 
 sysnet_read_config(hostname_t)
-- 
1.7.3.2



More information about the refpolicy mailing list