Quoting Natanael Copa ([email protected]):
> The bootmisc script is needed to clean up various temp dirs like /tmp
> and migrate /var/run to /run if needed.
> 
> The syslog service is started in 'boot' runlevel when running on real
> hardware so we do the same for containers.
> 
> Signed-off-by: Natanael Copa <[email protected]>

Acked-by: Serge E. Hallyn <[email protected]>

> ---
>  templates/lxc-alpine.in | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in
> index 8600a34..2756b89 100644
> --- a/templates/lxc-alpine.in
> +++ b/templates/lxc-alpine.in
> @@ -140,7 +140,8 @@ EOF
>      mknod -m 666 "$rootfs/dev/ptmx" c 5 2
>  
>      # start services
> -    ln -s /etc/init.d/syslog "$rootfs"/etc/runlevels/default/syslog
> +    ln -s /etc/init.d/bootmisc "$rootfs"/etc/runlevels/boot/bootmisc
> +    ln -s /etc/init.d/syslog "$rootfs"/etc/runlevels/boot/syslog
>  
>      return 0
>  }
> -- 
> 1.8.4.1
> 
> 
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
> _______________________________________________
> Lxc-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lxc-devel

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to