Re: (upstart?) not starting in Debian7 container [message #50652 is a reply to message #50648] |
Tue, 01 October 2013 15:18   |
narcisgarcia
Messages: 41 Registered: May 2009
|
Member |
|
|
Tried under CentOS 6.4, and a Debian 7 container boots completely (some process waits several minutes for upstart runs).
Also tried to install vzctl 4.5.1 from "unstable" repository in Debian, but then vzctl doesn't work (some error about a file .so not found).
Instead of installing foreign packages (probably not designed for Debian), I prefer to implement my own patch, which gives a faster result:
1. Install vzctl from "testing" repository (well integrated and works better)
2. Add a line at the end of start() function, in the script file /etc/init.d/vz :
/usr/local/bin/vz-upstarts.sh
3. Create the file /usr/local/bin/vz-upstarts.sh and make it executable (I attach it to this message)
This workaround consists in look each running container for the case hasn't boot the minimal services, and in that case execute "telinit 5" in it.
Narcis Garcia
[Updated on: Tue, 01 October 2013 15:22] Report message to a moderator
|
|
|