Bug 854504
| Summary: | SELinux is preventing pwconv from 'read' accesses on the file /proc/<pid>/mounts. | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Kamil Páral <kparal> | ||||||||
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 18 | CC: | dominick.grift, dwalsh, mgrepl, robatino | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | i686 | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | abrt_hash:66d6d4805ac97d5acd1102cd2b56a2ee87afebc0ecd8eaae49e6c8fdeae907ab | ||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2012-09-12 23:51:25 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: | 752661 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Kamil Páral
2012-09-05 08:23:51 UTC
Created attachment 609891 [details]
File: type
Created attachment 609892 [details]
File: hashmarkername
Created attachment 609893 [details]
File: description
I see this alert when doing a system installation from Fedora 18 Alpha TC5 Live GNOME i686. After the installation has finished, this was in the list of alerts. Proposing as Final blocker. Our criteria only speaks about installed system boot, not about selinux alerts during installation. I don't know whether it applies: " In most cases, there must be no SELinux 'AVC: denied' messages or abrt crash notifications on initial boot and subsequent login (see Blocker_Bug_FAQ) " https://fedoraproject.org/wiki/Fedora_18_Final_Release_Criteria We should either fix the alert or disable SELinux troubleshooter when Live is run, so that the users are not bothered with cryptic messages. Kamil, could you attach raw AVC msgs from the /var/log/audit/audit.log for all your bugs related to Alpha TC5 Live? I am interested in syscall field. I used Alpha TC6 Live, but it seems to behave exactly same. Here is the excerpt from audit.log:
type=AVC msg=audit(1347019807.634:88): avc: denied { read } for pid=3588 comm="pwconv" path="/proc/2177/mounts" dev="proc" ino=24633 scontext=unconfined_u:unconfined_r:sysadm_passwd_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=file
type=AVC msg=audit(1347019807.634:89): avc: denied { read write } for pid=3588 comm="pwconv" path=2F746D702F6666695973654F5A50202864656C6574656429 dev="tmpfs" ino=25047 scontext=unconfined_u:unconfined_r:sysadm_passwd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file
type=AVC msg=audit(1347019807.634:90): avc: denied { read write } for pid=3588 comm="pwconv" path="/dev/mapper/control" dev="devtmpfs" ino=6286 scontext=unconfined_u:unconfined_r:sysadm_passwd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lvm_control_t:s0 tclass=chr_file
type=AVC msg=audit(1347019809.936:91): avc: denied { read write } for pid=3624 comm="restorecon" path="/dev/mapper/control" dev="devtmpfs" ino=6286 scontext=unconfined_u:unconfined_r:setfiles_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lvm_control_t:s0 tclass=chr_file
rpm -q selinux-policy (In reply to comment #8) > rpm -q selinux-policy selinux-policy-3.11.1-7.fc18.noarch So old F18 policy. The latest F18 policy build should be used. selinux-policy-3.11.1-18.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/FEDORA-2012-13554/selinux-policy-3.11.1-18.fc18 Package selinux-policy-3.11.1-18.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-18.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-13554/selinux-policy-3.11.1-18.fc18 then log in and leave karma (feedback). selinux-policy-3.11.1-18.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |