| Summary: | SELinux is preventing /usr/sbin/tgtd "search" access on /sys. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Omkar <omkarlagu> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Milos Malik <mmalik> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0 | CC: | dwalsh, mmalik, omkarlagu |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-09-13 05:45:36 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Omkar
2011-09-12 12:42:01 UTC
This is allowed in F16 policy. And this is also fixed in the latest RHEL6. You can download pre-release from http://people.redhat.com/dwalsh/SELinux/RHEL6/noarch/ Looks like tgtd is creating the file in "/tmp/.TGT_IPC_ABSTRACT_NAMESPACE.0" </snip> [root@punb200m2labs04vm5 bin]# /etc/init.d/tgtd status tgtd is stopped [root@punb200m2labs04vm5 bin]# ls -l /tmp/.TGT_IPC_ABSTRACT_NAMESPACE.0 ls: cannot access /tmp/.TGT_IPC_ABSTRACT_NAMESPACE.0: No such file or directory [root@punb200m2labs04vm5 bin]# date Tue Sep 13 22:57:57 IST 2011 [root@punb200m2labs04vm5 bin]# /etc/init.d/tgtd start Starting SCSI target daemon: [ OK ] [root@punb200m2labs04vm5 bin]# ls -l /tmp/.TGT_IPC_ABSTRACT_NAMESPACE.0 srwxr-xr-x. 1 root root 0 Sep 13 22:58 /tmp/.TGT_IPC_ABSTRACT_NAMESPACE.0 </snip> But interestingly I am not hitting the issue. After removing the file and rebooting the server and again starting /etc/init.d/tgtd start. I tried one more reboot and start of tgtd, Still cannot hit the issue. |