[00:00] <ashb> isn't there another one? 'deamonize' or something like that
[00:01]  * rgl RTFM
[00:02] <rgl> http://upstart.ubuntu.com/wiki/Stanzas?highlight=(expect)|(fork)#daemon it says "expect fork" replaces daemon :|
[00:03] <ashb> check your logs then
[00:03] <ashb> and/or strace it
[00:03] <rgl> nothing in the logs :|
[00:03] <rgl> how do I strace it? you mean, strace init?
[00:03] <ashb> oh fair point that wouldn't work
[00:04] <ashb> i was thinking strace start mongrel2, but that doesn't actually spawn it dierctly
[06:27] <yaaang> anyone able to help me with this question?
[06:27] <yaaang> https://lists.ubuntu.com/archives/upstart-devel/2010-December/001343.html
[10:39] <jetienne> q. when i put a symlink in /etc/init, upstart doesnt seem to accept it. i need an actual file in there. is there a way to make it accept symlink ?.
[10:47] <jetienne> when a upstart doesnt start, where the output is logged ?
[11:10] <jetienne> q. is there a way to do a "initctl stopifrunning" ? initctl stop is reporting an error if not running
[11:13] <jetienne> same question for "startifnotyetstarted"
[13:54] <ViRUS> I've got some problem. It's an ubuntu system, but it seams that you guys can help me better.
[13:54] <ViRUS> When booting up the system no gettys are started and it seams upstart is not doing anything
[13:55] <ViRUS> runlevel reports "unknown" and calling initctl yields "Warning: Fake initctl called, doing nothing"
[13:56] <ViRUS> I did now execute "init 2" and the system starts the gettys and everything else. Now I'm confused why this happens. Why does it end up in an "unknown" runlevel?
[13:59] <JanC> did you change anything on your system?
[14:03] <ViRUS> no. it's a fresh ubuntu 10.10 server installation. Only thing that is special about is is the software raid. Though it is assembled correctly and for some reason even sshd is started. Without sshd I'd not even be able to look at it. So I'm glad dhcp and ssh works regardless of the weird runlevel.
[14:06] <ViRUS> and for some reason "initctl" still reports - even after setting the runlevel - that it's "Fake initctl" was called.
[14:11] <JanC> hm, tty1 etc. get started after the rc task is run with a RUNLEVEL parameter, so it seems like that doesn't/didn't happen...
[14:17] <JanC> if I understand correctly "unknown" runlevel means $RUNLEVEL & $PREVLEVEL are not set and there is no runlevel record in /var/run/utmp
[14:18] <ViRUS> I'm puzzled. I never really understood upstart and I'm kinda missing that manhole to look and debug what's going on.
[14:30] <JanC> ViRUS: the "fake initctl" might be because you start it as 'init 2' instead of 'telinit 2'
[14:33] <JanC> changing to runlevel 2 should normally happen when the rc-sysinit task runs
[14:33] <JanC> which runs when "start on filesystem and net-device-up IFACE=lo"
[14:34] <JanC> ViRUS: maybe there is something that caused one of those 2 events not to happen
[14:38] <ViRUS> hmm, is there any log? How can I check this?
[14:44] <ViRUS> it really seams rc-sysinit is never called
[14:45] <ViRUS> Is there a way to enable debugging (logging of events, etc.)
[14:48] <JanC> there is some info here: http://upstart.ubuntu.com/wiki/Debugging
[14:52] <JanC> maybe also search https://bugs.launchpad.net/ubuntu/+source/upstart for known bugs...
[14:52] <ViRUS> I'm just looking at the output of —debug
[14:56] <JanC> https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/543506 <-- might be this bug
[15:05] <ectospasm> I restarted, and my upstart jobs didn't start.  Is there a specific way to tell upstart to start these jobs?  "start on ..." doesn't seem to be enough.
[15:08] <ViRUS> ok. gtg. I think I'll just switch to Ubuntu LTS and see it that helps. Makes much sense for a server anyways
[15:39] <jetienne> q. is there a way to do a "initctl stopifrunning" ? initctl stop is reporting an error if not running ? same for "startifnotyetstarted"