summaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-core/smack-system-setup/files/tmp.mount.conf
blob: 388986e82f0ed76c9f5eee917625126452993936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Mount /tmp publicly accessable. Based on patch by Michael Demeter <michael.demeter@intel.com>.
# Upstream systemd temporarily had SmackFileSystemRoot for this (https://github.com/systemd/systemd/pull/1664),
# but it was removed again (https://github.com/systemd/systemd/issues/1696) because
# util-linux mount will ignore smackfsroot when Smack is not active. However,
# busybox is not that intelligent.
#
# When using busybox mount, adding smackfsroot=* and booting without
# Smack (i.e. security=none), tmp.mount will fail with an error about
# "Bad mount option smackfsroot".
[Mount]
Options=smackfsroot=*