diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/init.d/zfs.fedora.in | 6 | ||||
-rw-r--r-- | etc/init.d/zfs.lsb.in | 8 | ||||
-rw-r--r-- | etc/init.d/zfs.redhat.in | 6 |
3 files changed, 0 insertions, 20 deletions
diff --git a/etc/init.d/zfs.fedora.in b/etc/init.d/zfs.fedora.in index 178637800..86f430dce 100644 --- a/etc/init.d/zfs.fedora.in +++ b/etc/init.d/zfs.fedora.in @@ -126,12 +126,6 @@ start() return 5 } - # Requires selinux policy which has not been written. - if [ -r "/selinux/enforce" ] && - [ "$(cat /selinux/enforce)" = "1" ]; then - action $"SELinux ZFS policy required: " /bin/false || return 6 - fi - # Delay until all required block devices are present. udevadm settle diff --git a/etc/init.d/zfs.lsb.in b/etc/init.d/zfs.lsb.in index e626f7905..8a61349e8 100644 --- a/etc/init.d/zfs.lsb.in +++ b/etc/init.d/zfs.lsb.in @@ -49,14 +49,6 @@ start() { [ -f "$LOCKFILE" ] && return 3 - # Requires selinux policy which has not been written. - if [ -r "/selinux/enforce" ] && - [ "$(cat /selinux/enforce)" = "1" ]; then - - log_failure_msg "SELinux ZFS policy required" - return 4 - fi - # Delay until all required block devices are present. udevadm settle diff --git a/etc/init.d/zfs.redhat.in b/etc/init.d/zfs.redhat.in index 227787d22..5fa3275b9 100644 --- a/etc/init.d/zfs.redhat.in +++ b/etc/init.d/zfs.redhat.in @@ -76,12 +76,6 @@ start() return 5 } - # Requires selinux policy which has not been written. - if [ -r "/selinux/enforce" ] && - [ "$(cat /selinux/enforce)" = "1" ]; then - action $"SELinux ZFS policy required: " /bin/false || return 6 - fi - # Delay until all required block devices are present. if [ -x /sbin/udevadm ]; then /sbin/udevadm settle |