[lxc-devel] [PATCH] add pstore to container fstab

Serge Hallyn serge.hallyn at ubuntu.com
Fri Sep 13 20:43:56 UTC 2013


Otherwise user-namespace containers will hang on mountall.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
---
 templates/lxc-ubuntu-cloud.in | 1 +
 templates/lxc-ubuntu.in       | 1 +
 2 files changed, 2 insertions(+)

diff --git a/templates/lxc-ubuntu-cloud.in b/templates/lxc-ubuntu-cloud.in
index 0abc932..b024de8 100644
--- a/templates/lxc-ubuntu-cloud.in
+++ b/templates/lxc-ubuntu-cloud.in
@@ -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
diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in
index 6f6f3e1..02ccbc2 100644
--- a/templates/lxc-ubuntu.in
+++ b/templates/lxc-ubuntu.in
@@ -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
-- 
1.8.1.2





More information about the lxc-devel mailing list