Bug 906993
| Summary: | SELinux is preventing /usr/bin/uuidgen from 'getattr' accesses on the chr_file /dev/random. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vugar Dzhamalov <imnotreplying> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:ca09f9516b54584c2c685f385dfb51f716b7ea4151e5cb046834ef62ba5008bf | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-11 04:55:34 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Fixed in selinux-policy-3.11.1-75.fc18.noarch selinux-policy-3.11.1-76.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-76.fc18 Package selinux-policy-3.11.1-76.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-76.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-2101/selinux-policy-3.11.1-76.fc18 then log in and leave karma (feedback). selinux-policy-3.11.1-76.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: I have install openvswithtch and started the service via systemctl SELinux is preventing /usr/bin/uuidgen from 'getattr' accesses on the chr_file /dev/random. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that uuidgen should be allowed getattr access on the random chr_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 uuidgen /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:openvswitch_t:s0 Target Context system_u:object_r:random_device_t:s0 Target Objects /dev/random [ chr_file ] Source uuidgen Source Path /usr/bin/uuidgen Port <Unknown> Host (removed) Source RPM Packages util-linux-2.22.2-2.fc18.x86_64 Target RPM Packages Policy RPM selinux-policy-3.11.1-74.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.7.5-201.fc18.x86_64 #1 SMP Mon Jan 28 19:54:41 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-02-03 01:05:37 NZDT Last Seen 2013-02-03 01:05:37 NZDT Local ID 2c04445b-521c-43db-a43e-adfc96f6200a Raw Audit Messages type=AVC msg=audit(1359806737.320:348): avc: denied { getattr } for pid=3147 comm="uuidgen" path="/dev/random" dev="devtmpfs" ino=1032 scontext=system_u:system_r:openvswitch_t:s0 tcontext=system_u:object_r:random_device_t:s0 tclass=chr_file type=SYSCALL msg=audit(1359806737.320:348): arch=x86_64 syscall=stat success=yes exit=0 a0=30c9602acb a1=7fff08b22030 a2=7fff08b22030 a3=b items=0 ppid=3024 pid=3147 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=uuidgen exe=/usr/bin/uuidgen subj=system_u:system_r:openvswitch_t:s0 key=(null) Hash: uuidgen,openvswitch_t,random_device_t,chr_file,getattr audit2allow #============= openvswitch_t ============== allow openvswitch_t random_device_t:chr_file getattr; audit2allow -R #============= openvswitch_t ============== allow openvswitch_t random_device_t:chr_file getattr; Additional info: hashmarkername: setroubleshoot kernel: 3.7.5-201.fc18.x86_64 type: libreport