Red Hat Bugzilla – Bug 1462166
[Cavium 7.4 Bug] L4 iSCSI boot failure after OS installation
Last modified: 2018-01-10 11:53:32 EST
Created attachment 1288316 [details]
OS boot failure screenshot
Description of problem:
L4 iSCSI boot fails to boot after successful OS installation as SElinux denies open-iscsi services to start.
Version-Release number of selected component (if applicable):
RHEL 7.4 Snapshot2
Steps to Reproduce:
1. Start L4 iSCSI boot installation
2. At the kernel command line blacklist the qed,qede,qedi,qedf modules
3. Provide dud containing out of box qed,qede,qedi,qedf drivers
4. Complete the OS installation
5. Reboot the system to see OS boot failure
OS boot failure
OS should boot successfully
1. SElinux denies open-iscsi services to start after pivot-root causing OS boot failure as root device is not found. (attached the failure screenshot)
2. Disabling SElinux (selinux=0) at kernel command line enables the OS to boot successfully.
The screenshot shows denials for access to what I think is the /var/lock/iscsi/lock file with a target context of "system_u:object_r:var_lock_t:s0"
On a working 7.4 iSCSI setup (different hardware) I see an context for that lock file of "unconfined_u:object_r:iscsi_lock_t:s0"
So it looks like the install process involving the DUD created a lock file while the SELinux context wasn't loaded?
Deleting or re-labelling that file should work.
I'll see if I can tell where it's going wrong.