2010-11-28 08:46:26

by gizmo

[permalink] [raw]
Subject: [refpolicy] [PATCH 1/1] hostname daemon init system hostname from dhcpcd

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

Signed-off-by: Chris Richards <[email protected]>
---
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 1fcd657..b2d76c8 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_stream_sockets_dhcpc(hostname_t)
+
miscfiles_read_localization(hostname_t)

sysnet_read_config(hostname_t)
--
1.7.3.2