In netutils.te these are called: term_use_all_terms(ping_t) term_use_all_terms(traceroute_t) However this probably breaks the following: tunable_policy(`user_ping',` term_use_all_ttys(traceroute_t) term_use_all_ptys(traceroute_t) ') tunable_policy(`user_ping',` term_use_all_ttys(ping_t) term_use_all_ptys(ping_t) ') I suspect the: term_use_all_terms(ping_t) term_use_all_terms(traceroute_t) .. should be removed.
I think these were added because of problems during boot up and these processes running against unassigned terminals and devices. A better solution would be to dontaudit them.
Theres also userdom_use_user_terminals() called for both ping_t and traceroute_t so i suspect these should be removed or dontaudited as well.
This is what i am currently testing (i also removed the term_use_all_terms(ping_t) term_use_all_terms(traceroute_t) in a previous commit. Trying to make user_ping work Signed-off-by: Dominick Grift <domg472> ----------------------- policy/modules/admin/netutils.te ---------------------- index 32b7bc2..d353a15 100644 @@ -139,8 +139,6 @@ miscfiles_read_localization(ping_t) -userdom_use_user_terminals(ping_t) - ifdef(`hide_broken_symptoms',` init_dontaudit_use_fds(ping_t) @@ -152,6 +150,9 @@ tunable_policy(`user_ping',` term_use_all_ttys(ping_t) term_use_all_ptys(ping_t) +',` + term_dontaudit_use_all_ttys(traceroute_t) + term_dontaudit_use_all_ptys(traceroute_t) ') optional_policy(` @@ -207,6 +208,7 @@ domain_use_interactive_fds(traceroute_t) files_read_etc_files(traceroute_t) +files_read_usr_files(traceroute_t) files_dontaudit_search_var(traceroute_t) init_use_fds(traceroute_t) @@ -216,15 +218,15 @@ logging_send_syslog_msg(traceroute_t) miscfiles_read_localization(traceroute_t) - -userdom_use_user_terminals(traceroute_t) #rules needed for nmap dev_read_rand(traceroute_t) dev_read_urand(traceroute_t) -files_read_usr_files(traceroute_t) tunable_policy(`user_ping',` term_use_all_ttys(traceroute_t) term_use_all_ptys(traceroute_t) +',` + term_dontaudit_use_all_ttys(traceroute_t) + term_dontaudit_use_all_ptys(traceroute_t) ')
overlooking my own patch i found a bug it introduced: tunable_policy(`user_ping',` term_use_all_ttys(ping_t) term_use_all_ptys(ping_t) +',` + term_dontaudit_use_all_ttys(traceroute_t) + term_dontaudit_use_all_ptys(traceroute_t) ') should be ping_t not traceroute_t there
Fixed?
Added to Rawhide. Miroslav can you make these changes to F13 and RHEL6
Fixed in selinux-policy-3.7.19-36.fc13.
selinux-policy-3.7.19-37.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-37.fc13
selinux-policy-3.7.19-37.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-37.fc13
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
This message is a reminder that Fedora 13 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '13'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 13's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 13 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.