Bug 172830
Summary: | HALD no longer auto-mounts usb devices (as of RHEL4-U2) | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Greg Hosler <ghosler> |
Component: | selinux-policy-targeted | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | CC: | abo, k.georgiou |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHBA-2006-0049 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-03-07 18:13:57 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 168429 |
Description
Greg Hosler
2005-11-10 05:38:59 UTC
This problem seems related to the selinux-policy-targeted/selinux-policy-targeted-sources errata update. If I apply the selinux-policy-targeted/selinux-policy-targeted-sources errata (1.17.30-2.110), then HALD no longer automounts. If I revert back to the U0 version (1.17.30-2.52.1), and reboot, then the original behaviour of automounting usb hard drives when plugged in is restored. so apparently there is a glitch in the selinux-policy-targeted (or sources) rule set. best rgds, -Greg A bunch of policy has been fixed for the u3 update. You can get the prerelease packages here: ftp://people.redhat.com/dwalsh/SELinux/RHEL4/u3 Check if that solves your problem. selinux-policy-targeted-1.17.30-2.118.noarch.rpm (from Dan's site above) fixes this with the following patch: diff -ru targeted.mine/src/policy/domains/program/initrc.te targeted/src/policy/domains/program/initrc.te --- targeted.mine/src/policy/domains/program/initrc.te 2005-09-13 03:26:49.000000000 +1000 +++ targeted/src/policy/domains/program/initrc.te 2005-11-10 02:28:52.000000000 +1100 @@ -271,8 +282,11 @@ typealias bin_t alias run_init_exec_t; type run_init_t, domain; domain_auto_trans(unconfined_t, initrc_exec_t, initrc_t) +allow unconfined_t initrc_t:dbus { acquire_svc send_msg }; +allow initrc_t unconfined_t:dbus { acquire_svc send_msg }; domain_trans(initrc_t, shell_exec_t, unconfined_t) allow initrc_t unconfined_t:system syslog_mod; +role sysadm_r types initrc_t; ', ` ################################# # An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2006-0049.html |