]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-alpine: mount tmpfs under /run 1097/head
authorJakub Jirutka <jakub@jirutka.cz>
Sat, 23 Jul 2016 17:57:36 +0000 (19:57 +0200)
committerJakub Jirutka <jakub@jirutka.cz>
Sat, 23 Jul 2016 19:26:33 +0000 (21:26 +0200)
When running under grsecurity kernel or userns, it can't be mounted from inside.

Signed-off-by: Jakub Jirutka <jakub@jirutka.cz>
config/templates/alpine.common.conf.in

index 034a33b13f170b2596a09ac9125c5e03a0fd9acb..55ea3d20aeaeecad42b2a88b3b7997b0ae98f3cd 100644 (file)
@@ -18,3 +18,6 @@ lxc.cap.drop = sys_resource
 lxc.cap.drop = sys_tty_config
 lxc.cap.drop = syslog
 lxc.cap.drop = wake_alarm
+
+# Mount tmpfs under /run.
+lxc.mount.entry=run run tmpfs rw,nodev,relatime,mode=755 0 0