Bug 784069 - SELinux is preventing /usr/bin/certwatch from 'getattr' accesses on the None /etc/passwd.
Summary: SELinux is preventing /usr/bin/certwatch from 'getattr' accesses on the None ...
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:2422d7d573f157076dd0669eea2...
: 784070 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-23 18:15 UTC by Nicolas Mailhot
Modified: 2012-01-31 09:57 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-31 09:57:43 UTC
Type: ---


Attachments (Terms of Use)

Description Nicolas Mailhot 2012-01-23 18:15:38 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.1-5.fc17.x86_64
reason:         SELinux is preventing /usr/bin/certwatch from 'getattr' accesses on the None /etc/passwd.
time:           lun. 23 janv. 2012 19:15:27 CET

description:
:SELinux is preventing /usr/bin/certwatch from 'getattr' accesses on the None /etc/passwd.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that certwatch should be allowed getattr access on the passwd <Inconnu> 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 certwatch /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:certwatch_t:s0-s0:c0.c1023
:Target Context                system_u:object_r:passwd_file_t:s0
:Target Objects                /etc/passwd [ None ]
:Source                        certwatch
:Source Path                   /usr/bin/certwatch
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           crypto-utils-2.4.1-32.x86_64
:Target RPM Packages           setup-2.8.47-1.fc17.noarch
:Policy RPM                    selinux-policy-3.10.0-76.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.1-5.fc17.x86_64 #1 SMP Tue Jan
:                              17 18:57:18 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    lun. 23 janv. 2012 03:10:02 CET
:Last Seen                     lun. 23 janv. 2012 03:10:02 CET
:Local ID                      16fe5a3c-5954-4975-88dc-f668fdc77780
:
:Raw Audit Messages
:type=AVC msg=audit(1327284602.226:1823): avc:  denied  { getattr } for  pid=15617 comm="certwatch" path="/etc/passwd" dev=dm-1 ino=94678 scontext=system_u:system_r:certwatch_t:s0-s0:c0.c1023 tcontext=system_u:object_r:passwd_file_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1327284602.226:1823): arch=c000003e syscall=4 success=yes exit=0 a0=300c84194e a1=7fffa2655950 a2=7fffa2655950 a3=a7d301f8a3 items=0 ppid=15611 pid=15617 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=113 comm="certwatch" exe="/usr/bin/certwatch" subj=system_u:system_r:certwatch_t:s0-s0:c0.c1023 key=(null)
:
:
:Hash: certwatch,certwatch_t,passwd_file_t,None,getattr
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-01-24 09:19:44 UTC
*** Bug 784070 has been marked as a duplicate of this bug. ***

Comment 2 Miroslav Grepl 2012-01-24 09:33:54 UTC
Fixed in selinux-policy-3.10.0-79.fc17.noarch


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