Hi all. I've set up some vservers and am having a bit of trouble with upstart. The hosts are Ubuntu 10.04 LTS as are the vserver guests (and I'm using the version of upstart from that release of Ubuntu).<div><br></div>
<div>I've managed to get upstart working to the point where it starts all of my services on boot. However, any management that I do post-boot will block the client commands (stop, start, restart).</div><div><br></div>
<div>I've tried using --verbose, and I see the upstart output that's emitted when the vserver boots, but none of my start/stop/restart commands after boot are emitting anything to the console (I've created a real /dev/console in the guest and enabled bootlogd on the host to see my console output, and verified that "echo hi > /dev/console" in the guest outputs it to the host bootlogd log file).</div>
<div><br></div><div>Here's a description of the behavior I see:</div><div><br></div><div>$ stop cron # stops cron and blocks forever</div><div>$ restart cron # stops cron and blocks forever (doesn't start it back up)</div>
<div><br></div><div>I've straced a 'restart cron' run, also while stracing pid 1, to try to learn anything valuable. I can't extract any useful information from the outputs, so I've attached them.</div>
<div><br></div><div>I'm curious if anyone can say whether they've seen Ubuntu/upstart working under a vserver to such an extent that they can stop/restart services at runtime (in any version, or Ubuntu 10.04 specifically).</div>
<div><br></div><div>I'm expecting that I must have a misconfiguration of some init script, or a wrong device file, or some file with incorrect permissions, or something like that. I doubt this is a bug in upstart, so please forgive me for posting to the -devel list about something that's probably a -user discussion.</div>
<div><br></div><div>Thanks!<br clear="all"><br>-- <br>Christopher Armstrong<br><a href="http://radix.twistedmatrix.com/">http://radix.twistedmatrix.com/</a><br><a href="http://planet-if.com/">http://planet-if.com/</a><br>
<br><br>
</div>