Quoting Arie Skliarouk ([email protected]):
> I have the same problem as the original poster. A lucid container boots and
> ssh is started, but nothing else:
>
> *r...@master2:~# ps awx
> PID TTY STAT TIME COMMAND
> 1 ? Ss 0:00 /sbin/init
> 34 ? S 0:00 upstart-udev-bridge --daemon
> 50 ? S<s 0:00 udevd --daemon
> 94 ? Ss 0:00 /usr/sbin/sshd
> 111 ? Ss 0:00 sshd: r...@pts/134
> 125 pts/134 Ss 0:00 -bash
> 137 pts/134 R+ 0:00 ps awx*
>
> How can I make upstart to start other services, especially the
> /etc/init/rc.conf one?
If you look at the /usr/lib/lxc/templates/lxc-ubuntu that ships
with lxc, it installs a /etc/init/lxc.conf which kicks the boot
along. It sends two upstart events, but in some testing last
night my boot continued fine without those - what was absolutely
essential was the
rm -rf /var/run/*.pid
rm -rf /var/run/network/*
Without those, my boot hung.
So you should be able to create any /etc/init/kickme.conf, just
make sure it has:
description "kick upstart"
start on startup
script
rm -rf /var/run/*.pid
rm -rf /var/run/network/*
end script
-serge
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users