| Summary: | SELinux is preventing /usr/sbin/vnstatd from 'getattr' accesses on the filesystem /. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | mdeggers |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:7faa78fafd3f8f6c134fca93f889df81080ddd8c0c7838996aeef493a6ab0aa1 | ||
| Fixed In Version: | selinux-policy-3.9.7-42.fc14 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-07-12 05:16:35 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Fixed in selinux-policy-3.9.7-41.fc14 and also in F15 policy. selinux-policy-3.9.7-42.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-42.fc14 Package selinux-policy-3.9.7-42.fc14: * should fix your issue, * was pushed to the Fedora 14 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.9.7-42.fc14' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-42.fc14 then log in and leave karma (feedback). selinux-policy-3.9.7-42.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |
SELinux is preventing /usr/sbin/vnstatd from 'getattr' accesses on the filesystem /. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that vnstatd should be allowed getattr access on the filesystem 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 vnstatd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:system_r:vnstatd_t:s0 Target Context system_u:object_r:fs_t:s0 Target Objects / [ filesystem ] Source vnstatd Source Path /usr/sbin/vnstatd Port <Unknown> Host (removed) Source RPM Packages vnstat-1.10-1.fc13 Target RPM Packages filesystem-2.4.35-1.fc14 Policy RPM selinux-policy-3.9.7-40.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.35.12-90.fc14.i686 #1 SMP Fri Apr 22 16:14:44 UTC 2011 i686 i686 Alert Count 1 First Seen Sat 30 Apr 2011 11:35:30 AM PDT Last Seen Sat 30 Apr 2011 11:35:30 AM PDT Local ID 17d444d1-6388-4115-844b-f43bf93406bd Raw Audit Messages type=AVC msg=audit(1304188530.858:536): avc: denied { getattr } for pid=20618 comm="vnstatd" name="/" dev=dm-0 ino=2 scontext=unconfined_u:system_r:vnstatd_t:s0 tcontext=system_u:object_r:fs_t:s0 tclass=filesystem type=SYSCALL msg=audit(1304188530.858:536): arch=i386 syscall=statfs success=yes exit=0 a0=bfa5c42c a1=bfa5c36c a2=36cff4 a3=bfa5c42c items=0 ppid=1 pid=20618 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm=vnstatd exe=/usr/sbin/vnstatd subj=unconfined_u:system_r:vnstatd_t:s0 key=(null) Hash: vnstatd,vnstatd_t,fs_t,filesystem,getattr audit2allow #============= vnstatd_t ============== allow vnstatd_t fs_t:filesystem getattr; audit2allow -R #============= vnstatd_t ============== allow vnstatd_t fs_t:filesystem getattr;