]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
ubuntu templates: make pstore fstab entry optional
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 16 Sep 2013 16:48:38 +0000 (11:48 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 16 Sep 2013 16:48:38 +0000 (11:48 -0500)
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
templates/lxc-ubuntu-cloud.in
templates/lxc-ubuntu.in

index b024de8f70a0db23a9b92bd8a4d99eba2fc77578..47a5fcadeaa1cc6cdaed4161d643a0f19957bb6d 100644 (file)
@@ -116,7 +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
+/sys/fs/pstore sys/fs/pstore none bind,optional 0 0
 EOF
 
     # unprivileged user can't mknod these.  One day we may allow
index 02ccbc28bfdb13a25d73291ea77922c4f54c26f3..c872a839feb167a54b31bef8a6a3a0692d845df0 100644 (file)
@@ -430,7 +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
+/sys/fs/pstore sys/fs/pstore none bind,optional 0 0
 EOF
 
     if [ $? -ne 0 ]; then