issue with assembly of named arrays w/selinux==permissive on CentOS7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	On a reasonably vanilla CentOS 7 platform, we're having trouble
assembling *named* mdadm arrays using selinux==permissive.  An example
from mdadm.conf

ARRAY /dev/md/upper7  UUID=e1203894:e9f3cd5d:94472a7f:3553137b
name=upper7 devices=/dev/dm-[0-9]*

	mdadm will quietly exit code 2 when we attempt assembly.  If selinux is
disabled outright, OR the array definition is changed to something more
conventional, ala

ARRAY /dev/md17  UUID=e1203894:e9f3cd5d:94472a7f:3553137b
devices=/dev/dm-[0-9]*

	It assembles just fine, reports healthy, etc.  Any insight?

#basic sysinfo
root@dass01:~# cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
root@dass01:~# uname -r
3.10.0-327.36.3.el7.x86_64
root@dass01:~# mdadm --version
mdadm - v3.3.2 - 21st August 2014



	
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux