/srv/irclogs.ubuntu.com/2009/12/22/#upstart.txt

=== blueyed_ is now known as blueyed
=== [1]sassyn is now known as sassyn
wuzleHello, I am trying to write a conf file for wicd. It looks like the daemon start, but upstart is tracking the wrong pid. ie if I run 'sudo start wicd', it returns the process as 2806. But soon after, status shows the process as 'stop/waiting' and the pid reported in /var/run/wicd/wicd.pid is 2807. Is upstart tracking the wrong process here? Is there a way to fix it?14:38
sadmacwuzle: could be a weird one. strace it and see how many times it forks15:07
wuzlesadmac: I tried just starting wicd in the foreground from upstart. It seams to work, but is this a bad thing?15:09
sadmacwuzle: you mean you told it not to daemonize?15:10
sadmacwuzle: that's a fantastic thing. Always the preferred option15:10
sadmacwell, you don't get the "readiness" indicator that forking provides, but usually its a fine thing.15:10
wuzlesadmac: yes, there was a command line option to wicd.15:11
wuzlesadmac: I mean, yes, I told it not to deamonize15:11
sadmacwuzle: yeah, that's fine15:11
ionAs soon as Upstart 0.10 is released, letting it fork is a good thing. Until that, it’s often best to let it stay in foreground.15:12
wuzleBTW, this all started because the wicd init.d script wasn't working on startup (Ubuntu 9.10). But worked fine if I call '/etc/init.d/wicd start'. The guys on the wicd chat room thought it was because dbus wasn't started yet. And I noticed dbus moved to upstart. So that is why I have come down this road.15:13
jfanjI am having a problem with many of my daemons not starting on boot and was wondering if anyone here could help me out?15:17
=== robbiew_ is now known as robbiew
=== robbiew is now known as robbiew_

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!