[Lxc-users] LXC on ubuntu precise and dhclient/net config

Stéphane Graber stgraber at ubuntu.com
Mon Jun 11 16:50:19 UTC 2012


On 06/10/2012 02:51 PM, Vasiliy Molostov wrote:
> The issue was related to upstart job ordering, since new isc-dhcp-server job 
> configuration does not relate to lxc startup nor other valuable condition 
> other than rclevel, and with lxc-net disabled the lxc service job starts 
> unrelatedly to the available dhcpd server startup on the same host. Perhaps 
> this is not the issue for most installations, but for my case this was 
> errorneous. I dont know how to figure out dependency on isc-dhcp-server in 
> upstart jobs.

I don't see a good way of dealing with this automatically.

I think the best is to document that in such case you'll want to
configure /etc/default/isc-dhcp-server to listen only on the required
interfaces (and not on lxcbr0).

-- 
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: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20120611/9124e803/attachment.pgp>


More information about the lxc-users mailing list