Bug 787323 - SELinux is preventing /bin/bash from 'read' accesses on the None passwd.
Summary: SELinux is preventing /bin/bash from 'read' accesses on the None passwd.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:cf8225accd6aae7276ec744e70e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-04 00:09 UTC by Flóki Pálsson
Modified: 2012-02-06 11:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-06 11:36:56 UTC
Type: ---


Attachments (Terms of Use)

Description Flóki Pálsson 2012-02-04 00:09:42 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.3.0-0.rc2.git2.1.fc17.x86_64
reason:         SELinux is preventing /bin/bash from 'read' accesses on the None passwd.
time:           lau  4.feb 2012, 00:09:28 GMT

description:
:SELinux is preventing /bin/bash from 'read' accesses on the None passwd.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that bash should be allowed read access on the passwd <Unknown> by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# grep sh /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:fsdaemon_t:s0
:Target Context                system_u:object_r:passwd_file_t:s0
:Target Objects                passwd [ None ]
:Source                        sh
:Source Path                   /bin/bash
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           bash-4.2.20-3.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-81.2.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.0-0.rc2.git2.1.fc17.x86_64 #1
:                              SMP Thu Feb 2 22:24:52 UTC 2012 x86_64 x86_64
:Alert Count                   3
:First Seen                    fös  3.feb 2012, 23:53:22 GMT
:Last Seen                     fös  3.feb 2012, 23:54:23 GMT
:Local ID                      e6e42ee5-072a-4994-95b6-d742fcbe285c
:
:Raw Audit Messages
:type=AVC msg=audit(1328313263.274:55): avc:  denied  { read } for  pid=869 comm="smartdnotify" name="passwd" dev="sdc14" ino=293602 scontext=system_u:system_r:fsdaemon_t:s0 tcontext=system_u:object_r:passwd_file_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1328313263.274:55): arch=c000003e syscall=2 success=no exit=-13 a0=7fbd43bc26ba a1=80000 a2=1b6 a3=238 items=0 ppid=868 pid=869 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="smartdnotify" exe="/bin/bash" subj=system_u:system_r:fsdaemon_t:s0 key=(null)
:
:
:Hash: sh,fsdaemon_t,passwd_file_t,None,read
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-02-06 11:36:56 UTC
Fixed in selinux-policy-3.10.0-83.fc17


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