]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
add pstore to container fstab
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 13 Sep 2013 20:43:56 +0000 (15:43 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 13 Sep 2013 20:55:08 +0000 (15:55 -0500)
Otherwise user-namespace containers will hang on mountall.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-ubuntu-cloud.in
templates/lxc-ubuntu.in

index 0abc9328a654701b422d20f6a061125f27c41adc..b024de8f70a0db23a9b92bd8a4d99eba2fc77578 100644 (file)
@@ -116,6 +116,7 @@ sysfs           sys          sysfs defaults  0 0
 /sys/fs/fuse/connections sys/fs/fuse/connections none bind 0 0
 /sys/kernel/debug sys/kernel/debug none bind 0 0
 /sys/kernel/security sys/kernel/security none bind 0 0
+/sys/fs/pstore sys/fs/pstore none bind 0 0
 EOF
 
     # unprivileged user can't mknod these.  One day we may allow
index 6f6f3e131a4e0ac7fa50352be9cbcf73bdb8a699..02ccbc28bfdb13a25d73291ea77922c4f54c26f3 100644 (file)
@@ -430,6 +430,7 @@ sysfs           sys          sysfs defaults  0 0
 /sys/fs/fuse/connections sys/fs/fuse/connections none bind 0 0
 /sys/kernel/debug sys/kernel/debug none bind 0 0
 /sys/kernel/security sys/kernel/security none bind 0 0
+/sys/fs/pstore sys/fs/pstore none bind 0 0
 EOF
 
     if [ $? -ne 0 ]; then