After using preupgrade-cli to upgrade to Fedora 14 from Fedora 13, I had this same nuisance where a user could only mount USB sticks and DVD drives as root, not as themselves. Yum also had to be used from the root account and could not be used via the yum GUI from a user account, as it didn't ask for the root password.
Looking at /var/log/messages, I started seeing errors in the form:
Jun 11 19:01:42 HCTMAIN kernel: [ 921.015360] type=1400 audit(1307840502.004:25911): avc: denied { read } for pid=1157 comm="polkitd" name="ConsoleKit" dev=dm-1 ino=16757 scontext=system_u:system_r:policykit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:consolekit_var_run_t:s0 tclass=dir
Jun 11 19:01:46 HCTMAIN kernel: [ 925.013952] type=1400 audit(1307840506.002:25912): avc: denied { read } for pid=1157 comm="polkitd" name="ConsoleKit" dev=dm-1 ino=16757 scontext=system_u:system_r:policykit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:consolekit_var_run_t:s0 tclass=dir
Attempting to correct the problem via use of
semanage,
fixfiles, and
restorecon failed to fix the problem, though in the process it was found that there are two other areas where selinux has the wrong file label for ConsoleKit files also.
semanage fcontext -a -t policykit_t "/var/run/console-kit-deamon.pid" appeared to work.
restorecon -R -v /var/run/console-kit-deamon.pid fails for permission denied,
as root.
fixfiles -f relabel "/var/run" fails on the above file for permission denied,
as root.
What fixed the problem was:
1. Changing some of the File Labels of the ConsoleKit entries to have the policykit_t.
2. Changing the Process Domain for policykit to Permissive.
After the above, a plain user could mount a usb stick or camera. See
http://happycattech.com/content/fedo...ng-usb-and-dvd for the images of
system-config-selinux File Label and Process Domain tabs.
This solution is not optimal, and the exact policy entry that is in question needs to be fixed, rather than the shotgun method of disabling the process domain.
June 12, 2011 - Found that selinux had been updated and is currently in Quality Assurance. But the testing repo had the update available regardless. There are still issues with selinux as I'm getting different avc errors, but this one appears fixed in as far as the logs show. See bug 703596 at
https://bugzilla.redhat.com/show_bug.cgi?id=703596