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

Stéphane Graber stgraber at ubuntu.com
Fri Sep 13 20:50:21 UTC 2013


On Fri, Sep 13, 2013 at 03:43:56PM -0500, Serge Hallyn wrote:
> Otherwise user-namespace containers will hang on mountall.
> 
> Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>

Acked-by: Stéphane Graber <stgraber at ubuntu.com>

I'll cherry-pick that in the Ubuntu package.

> ---
>  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
> 
> 
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20130913/a53a2a13/attachment.pgp>


More information about the lxc-devel mailing list