[lxc-devel] [PATCH] init: Add upstart jobs and some more changes

Dwight Engen dwight.engen at oracle.com
Thu Jan 16 23:32:44 UTC 2014


On Thu, 16 Jan 2014 15:43:31 -0500
Stéphane Graber <stgraber at ubuntu.com> wrote:

> This adds the 3 upstart jobs that we've had in Ubuntu for a while:
>  - lxc.conf: Main upstart job, triggers lxc-net.conf based on config
>  - lxc-instance.conf: Triggered by lxc.conf for each auto-started
> container
>  - lxc-net.conf: Triggered by lxc.conf, sets up lxcbr0, NAT,
> mangling, ...
> 
> In addition, there are two extra config files in /etc/default:
>  - lxc: Allows setting some values like http proxying, disabling
> autostart, ...
>  - lxc-net: Network configuration for the lxcbr0 bridge
> 
> This change also disables the sysv script for all distros but Oracle
> as the current script won't work on either Ubuntu nor Debian and I
> suspect quite a few more distros, so it's not nearly as
> distro-agnostic as we thought.

That's too bad. It did work for me on Fedora as well as Oracle but I
guess that isn't so far a stretch. Hopefully it can be made more
generic if/when someone on another sysv distro wants to use it.


More information about the lxc-devel mailing list