Revert "units: add 'smackfsroot=*' option into tmp.mount when SMACK is enabled"
authorKay Sievers <kay@vrfy.org>
Sun, 18 Oct 2015 10:19:08 +0000 (12:19 +0200)
committerKay Sievers <kay@vrfy.org>
Sun, 18 Oct 2015 10:21:21 +0000 (12:21 +0200)
This reverts commit 409c2a13fd65692c611b7bcaba12e908ef7cf1e5.

It breaks the bootup of systems which enable smack at compile time, but have no
smack enabled in the kernel. This needs a different solution.

Makefile.am
units/tmp.mount [moved from units/tmp.mount.m4 with 85% similarity]

index 205f2a4..8ba4e0e 100644 (file)
@@ -616,8 +616,7 @@ EXTRA_DIST += \
        units/initrd-udevadm-cleanup-db.service.in \
        units/initrd-switch-root.service.in \
        units/systemd-nspawn@.service.in \
-       units/systemd-update-done.service.in \
-       units/tmp.mount.m4
+       units/systemd-update-done.service.in
 
 if HAVE_SYSV_COMPAT
 nodist_systemunit_DATA += \
similarity index 85%
rename from units/tmp.mount.m4
rename to units/tmp.mount
index d537746..00a0d28 100644 (file)
@@ -18,6 +18,4 @@ Before=local-fs.target umount.target
 What=tmpfs
 Where=/tmp
 Type=tmpfs
-m4_ifdef(`HAVE_SMACK',
-`Options=mode=1777,strictatime,smackfsroot=*',
-`Options=mode=1777,strictatime')
+Options=mode=1777,strictatime