No subject
Wed Apr 4 14:08:42 BST 2007
effective than trying to write to the console.
Enabling debugging in upstart by adding a 'nih_set_logging_level'[1] to
put all the messages out to syslog -- and ensure that syslog is running
before init is started with a script like:
#!/bin/sh
/sbin/syslogd
exec /sbin/init.real
Running upstart is init inside an OpenVZ VE environment exposed some
OpenVZ bugs but also made it possible to "reboot" init without the
entire system following -- and to attach strace or gdb to the init
process from "outside" the system and debug it interactively.
Regards,
Daniel
Footnotes:
[1] I can't recall the exact method right now, sorry, but it is obvious.
--
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707 email: contact at digital-infrastructure.com.au
http://digital-infrastructure.com.au/
More information about the upstart-devel
mailing list