On 12/06/2012 09:19 AM, Dwight Engen wrote:
> 
> Signed-off-by: Dwight Engen <dwight.en...@oracle.com>

Thanks but I already proposed that yesterday and it landed a few minutes
ago :)

> ---
>  templates/lxc-oracle.in |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/templates/lxc-oracle.in b/templates/lxc-oracle.in
> index 243f0e4..eadee3a 100644
> --- a/templates/lxc-oracle.in
> +++ b/templates/lxc-oracle.in
> @@ -337,7 +337,7 @@ container_rootfs_create()
>          fi
>      done
>  
> -    mkdir -p /var/lock/subsys/
> +    mkdir -p @LOCALSTATEDIR@/lock/subsys/
>      (
>          flock -x 200
>          if [ $? -ne 0 ]; then
> @@ -433,7 +433,7 @@ container_rootfs_create()
>          echo "Rebuilding rpm database"
>          rm -f $container_rootfs/var/lib/rpm/__db*
>          chroot $container_rootfs rpm --rebuilddb >/dev/null 2>&1
> -    ) 200>/var/lock/subsys/lxc-oracle-$name
> +    ) 200>@LOCALSTATEDIR@/lock/subsys/lxc-oracle-$name
>  }
>  
>  usage()
> 


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to