Quoting Jiri Slaby (jsl...@suse.cz):
> From: Frederic Crozat <fcro...@suse.com>
> 
> - mount /run on tmpfs outside container
> - replace /var/run bind mount on /run by a symlink
> ---

Formality, but could you please sign off your patches?

Acked-by: Serge E. Hallyn <serge.hal...@ubuntu.com>

>  templates/lxc-opensuse.in | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/templates/lxc-opensuse.in b/templates/lxc-opensuse.in
> index f69eae1..56e93d7 100644
> --- a/templates/lxc-opensuse.in
> +++ b/templates/lxc-opensuse.in
> @@ -188,6 +188,10 @@ EOF
>  #   create mtab symlink
>      rm -f $cache/partial-$arch/etc/mtab
>      ln -sf /proc/self/mounts $cache/partial-$arch/etc/mtab
> +
> +# ensure /var/run and /run are symlinked
> +    rm -fr $cache/partial-$arch/var/run
> +    ln -s -f ../run $cache/partial-$arch/var/run
>      if [ $? -ne 0 ]; then
>          echo "Failed to download the rootfs, aborting."
>          return 1
> @@ -290,6 +294,7 @@ EOF
>      cat <<EOF > $path/fstab
>  proc            proc         proc    nodev,noexec,nosuid 0 0
>  sysfs           sys          sysfs   defaults  0 0
> +tmpfs           run          tmpfs   mode=0755,nodev,nosuid 0 0
>  EOF
>  
>      if [ $? -ne 0 ]; then
> -- 
> 1.8.1.2
> 
> 

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to