[lxc-devel] [PATCH] use /var/lock/subsys/lxc-centos instead of /var/lock/subsys/lxc as a lock name

Stéphane Graber stgraber at ubuntu.com
Mon Dec 9 20:10:49 UTC 2013


On Sat, Dec 07, 2013 at 05:46:22PM -0500, S.Çağlar Onur wrote:
> Signed-off-by: S.Çağlar Onur <caglar at 10ur.org>

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

> ---
>  templates/lxc-centos.in | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/templates/lxc-centos.in b/templates/lxc-centos.in
> index 6000cf2..95802dc 100644
> --- a/templates/lxc-centos.in
> +++ b/templates/lxc-centos.in
> @@ -376,7 +376,7 @@ install_centos()
>  
>      return 0
>  
> -    ) 200>/var/lock/subsys/lxc
> +    ) 200>/var/lock/subsys/lxc-centos
>  
>      return $?
>  }
> @@ -457,7 +457,7 @@ clean()
>      rm --preserve-root --one-file-system -rf $cache && echo "Done." || exit 1
>      exit 0
>  
> -    ) 200>/var/lock/subsys/lxc
> +    ) 200>/var/lock/subsys/lxc-centos
>  }
>  
>  usage()
> -- 
> 1.8.3.2
> 
> 
> ------------------------------------------------------------------------------
> Sponsored by Intel(R) XDK 
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&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/20131209/a7d90407/attachment.pgp>


More information about the lxc-devel mailing list