Red Hat Bugzilla – Bug 122624
selinux doesn't understand sudo with respect to yum
Last modified: 2014-01-21 17:49:22 EST
Description of problem: selinux doesn't understand sudo
Version-Release number of selected component (if applicable):
How reproducible: Every time
Steps to Reproduce:
1. sudo yum -y update
2. Watch for selinux-related warnings/errors
Expected results: Works.
Not sure where to file this, as it's a combo of sudo, yum, and
selinux. I guessed policy.
Created attachment 100042 [details]
Full transcript of "sudo yum -y update"
Note: I hit <ctrl>-c toward the end of this run, hence some of the latter
yum needs to be run from the role "sysadm_r".
sudo su -
is one way to achieve the sysadm_r role. There is
sudo -r sysadm_r yum update iirc, check the man page.
*** Bug 122620 has been marked as a duplicate of this bug. ***