Bug 854504 - SELinux is preventing pwconv from 'read' accesses on the file /proc/<pid>/mounts.
Summary: SELinux is preventing pwconv from 'read' accesses on the file /proc/<pid>/mou...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:66d6d4805ac97d5acd1102cd2b5...
Depends On:
Blocks: F18Blocker, F18FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2012-09-05 08:23 UTC by Kamil Páral
Modified: 2012-09-12 23:51 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-09-12 23:51:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-09-05 08:23 UTC, Kamil Páral
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-09-05 08:23 UTC, Kamil Páral
no flags Details
File: description (2.11 KB, text/plain)
2012-09-05 08:23 UTC, Kamil Páral
no flags Details

Description Kamil Páral 2012-09-05 08:23:51 UTC
Description of problem:


Version-Release number of selected component:
(null)

Additional info:
libreport version: 2.0.12
kernel:         3.6.0-0.rc2.git2.1.fc18.i686

Comment 1 Kamil Páral 2012-09-05 08:23:53 UTC
Created attachment 609891 [details]
File: type

Comment 2 Kamil Páral 2012-09-05 08:23:56 UTC
Created attachment 609892 [details]
File: hashmarkername

Comment 3 Kamil Páral 2012-09-05 08:23:58 UTC
Created attachment 609893 [details]
File: description

Comment 4 Kamil Páral 2012-09-05 08:30:56 UTC
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.

Comment 5 Miroslav Grepl 2012-09-06 11:46:09 UTC
Kamil, 
could you attach raw AVC msgs from the /var/log/audit/audit.log for all your bugs related to Alpha TC5 Live?

Comment 6 Miroslav Grepl 2012-09-06 12:09:23 UTC
I am interested in syscall field.

Comment 7 Kamil Páral 2012-09-07 12:37:25 UTC
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

Comment 8 Miroslav Grepl 2012-09-10 06:50:40 UTC
rpm -q selinux-policy

Comment 9 Kamil Páral 2012-09-10 08:43:15 UTC
(In reply to comment #8)
> rpm -q selinux-policy

selinux-policy-3.11.1-7.fc18.noarch

Comment 10 Miroslav Grepl 2012-09-11 05:54:40 UTC
So old F18 policy. The latest F18 policy build should be used.

Comment 11 Fedora Update System 2012-09-12 12:27:39 UTC
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

Comment 12 Fedora Update System 2012-09-12 19:12:33 UTC
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).

Comment 13 Fedora Update System 2012-09-12 23:51:25 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.