Bug 694256
Summary: | SELinux is preventing /sbin/iscsid from 'create' accesses on the directory iscsi. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sandro Mathys <sandro> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 15 | CC: | awilliam, dwalsh, mgrepl, sandro |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | setroubleshoot_trace_hash:a24aa0a6700071b850691e166e2994bbcf564bb4677e1b63b2f1b06fdc877c85 AcceptedBlocker | ||
Fixed In Version: | selinux-policy-3.9.16-15.fc15 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-04-15 21:33:05 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: | |||
Bug Depends On: | |||
Bug Blocks: | 617261 |
Description
Sandro Mathys
2011-04-06 19:55:52 UTC
So during installation, I set up my /home on an iscsi device. After the installation, /home was never mounted (and systemd is actually stuck with activating RAID/LVM/etc during bootup so I had to remove /home from fstab). Now I checked the config and everything seems fine so I did a service iscsid restart and oops, setroubleshootd shows the above message. Due to this SELinux denial I see the following behaviour in my syslog: Apr 6 21:54:43 zalem iscsid: transport class version 2.0-870. iscsid version 2.0-872 Apr 6 21:54:43 zalem iscsid: iSCSI daemon with pid=11685 started! Apr 6 21:54:43 zalem iscsid: Could not open /var/lock/iscsi. Exiting Apr 6 21:54:43 zalem iscsid: Could not read discovery record for 192.168.0.11:3260. So it seems that SELinux indeed breaks this use case: http://fedoraproject.org/wiki/QA:Testcase_Anaconda_ISCSI_No_Authentication Particularly, this expected result can't be verified: "4. The installed system boots with all filesystems on the iSCSI device mounted." Therefore I propose this a beta blocker. /var/lock/iscsi should be labeled iscsid_lock_t. Since it is no longer created by the rpm, I need to add policy to create it Fixed in selinux-policy-3.9.16-13.fc15 iscsi is Final stuff, not Beta. if that test case is labelled beta it should be changed to final. from Final criteria - "The installer must be able to complete an installation using IDE, SATA, SCSI and iSCSI storage devices " That's right, it's final not beta - my bad, didn't look straight. Good catch, Adam. selinux-policy-3.9.16-14.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-14.fc15 Package selinux-policy-3.9.16-14.fc15: * should fix your issue, * was pushed to the Fedora 15 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.16-14.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-14.fc15 then log in and leave karma (feedback). selinux-policy-3.9.16-15.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-15.fc15 Discussed at 2011-04-15 blocker review meeting, accepted as a blocker per criterion "# The installer must be able to complete an installation using IDE, SATA, SCSI and iSCSI storage devices ". Sandro, can you test the fix? -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers selinux-policy-3.9.16-15.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. Fix confirmed, thanks. |