[Lxc-users] ubuntu / lucid container not starting / mountall not sending events

Serge E. Hallyn serge.hallyn at canonical.com
Wed Jan 12 17:51:37 UTC 2011


Quoting Arie Skliarouk (skliarie at gmail.com):
> Hi,
> 
> The script did not run on "start on startup", only on "start on filesystem"
> setting. Still, the /etc/init/rc.conf was not processed.

I'm seeing this too now in a natty container.  If you do

cat << EOF >> /etc/init/lxclo.conf
description "fake lo coming up"

start on startup

task

exec /sbin/initctl emit net-device-up IFACE=lo
EOF

that should kick rc-sysinit to start, or at least did on my
natty and maverick tests using the template.

-serge




More information about the lxc-users mailing list