Written by: Martin Orr Let dhclient use init fds, so it can output to console It also seems to need to read /dev/console to give output (write console is given by logging_send_syslog_msg) - I can't see why Without this, we see no output from dhclient run from /etc/init.d/networking But there is no avc message because this is dontaudited by init_daemon_domain Not to be merged upstream Index: policy/modules/system/sysnetwork.te =================================================================== --- policy/modules/system/sysnetwork.te.orig +++ policy/modules/system/sysnetwork.te @@ -125,12 +125,14 @@ fs_getattr_all_fs(dhcpc_t) fs_search_auto_mountpoints(dhcpc_t) +term_use_console(dhcpc_t) term_dontaudit_use_all_ttys(dhcpc_t) term_dontaudit_use_all_ptys(dhcpc_t) term_dontaudit_use_unallocated_ttys(dhcpc_t) term_dontaudit_use_generic_ptys(dhcpc_t) init_rw_utmp(dhcpc_t) +init_use_fds(dhcpc_t) logging_send_syslog_msg(dhcpc_t)