Bug 118153
| Summary: | 'env: /etc/init.d/yum: Permission denied' while upgrading | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tim Waugh <twaugh> |
| Component: | yum | Assignee: | Jeff Johnson <jbj> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | dwalsh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-06-10 01:38:17 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: | 122683 | ||
I'm not sure how this is a yum bug. It sounds more like a policy issue. This probably long since fixed. certainly not seen by me. |
Description of problem: While upgrading yum to yum-2.0.5.20040310-1 (from previous build), I got this error: [root@tornado RPMS]# rpm -Fvh stunnel* tk* yum* yelp* patchutils* error: failed to stat /var/lib/rpc_pipes: Permission denied Preparing... ########################################### [100%] 1:tk ########################################### [ 20%] 2:stunnel ########################################### [ 40%] 3:yum ########################################### [ 60%] env: /etc/init.d/yum: Permission denied 4:yelp ########################################### [ 80%] 5:patchutils ########################################### [100%] dmesg shows: avc: denied { transition } for pid=3481 exe=/bin/env path=/etc/rc.d/init.d/yum dev=hdb1 ino=344128 scontext=root:sysadm_r:rpm_script_t tcontext=root:system_r:initrc_t tclass=process and audit2allow says: allow rpm_script_t initrc_t:process { transition }; Version-Release number of selected component (if applicable): yum-2.0.5.20040310-1 policy-1.8-11 (I had added 'role sysadm_r types ldconfig_t;' to /etc/security/selinux/src/policy/domains/program/ldconfig.te and reloaded policy in order to get package upgrading to work this well.) How reproducible: Not sure.