summaryrefslogtreecommitdiff
path: root/tmpfiles.d/etc.conf.m4
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-10 16:36:07 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-10 16:36:07 +0200
commit78e28c98e9c954d5ffd1e2d6a2ee292a08bb3c9e (patch)
treec46bdad54e89e59ae0d7b33decb3e3db8f970303 /tmpfiles.d/etc.conf.m4
parentf33be3119806f96898dda6ade492fbdcdf8f79b8 (diff)
parent1fab0cbafcb67cff912d0e45de9677135550f924 (diff)
Merge pull request #1238 from again4you/devel/fix_smack_mtab
smack: label /etc/mtab as "_" when '--with-smack-run-label' is enabled.
Diffstat (limited to 'tmpfiles.d/etc.conf.m4')
-rw-r--r--tmpfiles.d/etc.conf.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/tmpfiles.d/etc.conf.m4 b/tmpfiles.d/etc.conf.m4
index e74b02687f..ef7b9b9541 100644
--- a/tmpfiles.d/etc.conf.m4
+++ b/tmpfiles.d/etc.conf.m4
@@ -10,6 +10,9 @@
L /etc/os-release - - - - ../usr/lib/os-release
L /etc/localtime - - - - ../usr/share/zoneinfo/UTC
L+ /etc/mtab - - - - ../proc/self/mounts
+m4_ifdef(`HAVE_SMACK_RUN_LABEL',
+t /etc/mtab - - - - security.SMACK64=_
+)m4_dnl
m4_ifdef(`ENABLE_RESOLVED',
L! /etc/resolv.conf - - - - ../run/systemd/resolve/resolv.conf
)m4_dnl