/srv/irclogs.ubuntu.com/2012/03/01/#upstart.txt

norchttp://pastie.org/3492862  << `service openvpn start' hangs when I try to start that simplistic job.01:35
norc(it's still reading from stdin, but that's it). the actual command is never executed01:36
norcThe status is `openvpn start/killed, process 839'01:37
norc(By itself that command works just fine)01:37
norcoh wow.02:40
norcreading is hard.02:40
norchttp://upstart.ubuntu.com/cookbook/ 6.11.5 says that expect fork without a fork will cause start to hang!02:40
ionA nonexistent process Upstart thinks it’s still tracking and you can’t get it out of that state? http://heh.fi/tmp/workaround-upstart-snafu07:26
ionOh, he already left.07:27
SpamapSion: somebody should really write a 'forget-process' subcommand for initctl so we can at least work around that silliness.07:36
ionI kind of agree with Keybuk’s sentiment about it: the fork tracking should be fixed instead of adding inelegant, nasty workarounds.07:37
SpamapSion: nobody has proposed a good solution to the problem though, so I reject that very true, but overly idealistic solution.07:41
ionKeybuk already had a prototype. I wonder what happened wrt. it?07:43
wankdankerI'm working on an upstart config and I want the process to start when /dev/ttyS0 is ready. Anyone have any ideas?13:57
ionDo you have upstart-udev-bridge?14:08
wankdankeryes, i think i do14:28
ionI have the following to start when a 3G modem is ready:14:33
ionstart on tty-device-added ID_VENDOR_ID=12d1 ID_MODEL_ID=1001 ID_IFACE=0014:33
ionstop on runlevel [06] or tty-device-removed ID_VENDOR_ID=12d1 ID_MODEL_ID=1001 ID_IFACE=0014:33
ionThose events are sent by upstart-udev-bridge.14:33
wankdankerawesome. that is so helpful. thank you!!14:33
ion(I also refer to the device as /dev/serial/by-id/usb-HUAWEI_Technology_HUAWEI_Mobile-if00-port0 but that’s not relevant here.)14:33
ionSee udevadm info --export-db for values you can use to match the device with.14:34
wankdankergreat. thank you very much.14:35
wankdankerion++14:35
wankdankerno beers for ion. :(14:36

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