| Summary: | SELinux is preventing /usr/bin/certwatch from 'read' accesses on the fichier /etc/passwd. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nicolas Mailhot <nicolas.mailhot> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:ca7d8a37f3eda01b632dc61aa40508f967fd15abb51c927adfc3cdc436836706 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-24 09:19:44 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 784069 *** |
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 'read' accesses on the fichier /etc/passwd. time: lun. 23 janv. 2012 19:15:54 CET description: :SELinux is preventing /usr/bin/certwatch from 'read' accesses on the fichier /etc/passwd. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that certwatch should be allowed read access on the passwd file 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 [ file ] :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 3558c3d5-5553-424b-84e3-6cfb055578a3 : :Raw Audit Messages :type=AVC msg=audit(1327284602.226:1824): avc: denied { read } for pid=15617 comm="certwatch" name="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=AVC msg=audit(1327284602.226:1824): avc: denied { open } for pid=15617 comm="certwatch" name="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=file : : :type=SYSCALL msg=audit(1327284602.226:1824): arch=x86_64 syscall=open success=yes exit=ESRCH a0=300c84194e a1=0 a2=1b6 a3=238 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,file,read : :audit2allow : :#============= certwatch_t ============== :allow certwatch_t passwd_file_t:file { read open }; : :audit2allow -R : :#============= certwatch_t ============== :allow certwatch_t passwd_file_t:file { read open }; :