[Lxc-users] Ubuntu 12.04 linux-container package and init modifications

Thaddeus Hogan thaddeus at thogan.com
Wed Mar 7 03:59:06 UTC 2012


On 3/6/2012 9:45 PM, Serge Hallyn wrote:
> Quoting Fajar A. Nugraha (list at fajar.net):
>> # cat /etc/init/lxc-lo.conf
>> start on startup
>> env container
>>
>> pre-start script
>>          if [ "x$container" != "xlxc" -a "x$container" != "xlibvirt" ];
>> then
>>                  stop;
>>          fi
>>          initctl start network-interface INTERFACE=lo
>>          exit 0;
>> end script
>>
>>
>> So now the modifications (both from lxcguest and my local addition)
>> are all new .conf files, which would be ignored if it's not started in
>> lxc environment. Might try 12.04 container later.
> If your guest is uptodate 12.04, you should have
>
> /etc/init/network-interface-container.conf
>
> from ifupdownpackage which emits that signal for you.  You shouldn't need
> your own lxc-lo.conf any more.
>
> -serge
>

Failsafe was still kicking in on an out of the box installation. I will 
grab the latest daily and run through it again to verify there is a 
problem and that it wasn't me.

-- Thaddeus




More information about the lxc-users mailing list