[01:35] <norc> http://pastie.org/3492862  << `service openvpn start' hangs when I try to start that simplistic job.
[01:36] <norc> (it's still reading from stdin, but that's it). the actual command is never executed
[01:37] <norc> The status is `openvpn start/killed, process 839'
[01:37] <norc> (By itself that command works just fine)
[02:40] <norc> oh wow.
[02:40] <norc> reading is hard.
[02:40] <norc> http://upstart.ubuntu.com/cookbook/ 6.11.5 says that expect fork without a fork will cause start to hang!
[07:26] <ion> A nonexistent process Upstart thinks it’s still tracking and you can’t get it out of that state? http://heh.fi/tmp/workaround-upstart-snafu
[07:27] <ion> Oh, he already left.
[07:36] <SpamapS> ion: somebody should really write a 'forget-process' subcommand for initctl so we can at least work around that silliness.
[07:37] <ion> I kind of agree with Keybuk’s sentiment about it: the fork tracking should be fixed instead of adding inelegant, nasty workarounds.
[07:41] <SpamapS> ion: nobody has proposed a good solution to the problem though, so I reject that very true, but overly idealistic solution.
[07:43] <ion> Keybuk already had a prototype. I wonder what happened wrt. it?
[13:57] <wankdanker> I'm working on an upstart config and I want the process to start when /dev/ttyS0 is ready. Anyone have any ideas?
[14:08] <ion> Do you have upstart-udev-bridge?
[14:28] <wankdanker> yes, i think i do
[14:33] <ion> I have the following to start when a 3G modem is ready:
[14:33] <ion> start on tty-device-added ID_VENDOR_ID=12d1 ID_MODEL_ID=1001 ID_IFACE=00
[14:33] <ion> stop on runlevel [06] or tty-device-removed ID_VENDOR_ID=12d1 ID_MODEL_ID=1001 ID_IFACE=00
[14:33] <ion> Those events are sent by upstart-udev-bridge.
[14:33] <wankdanker> awesome. 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:34] <ion> See udevadm info --export-db for values you can use to match the device with.
[14:35] <wankdanker> great. thank you very much.
[14:35] <wankdanker> ion++
[14:36] <wankdanker> no beers for ion. :(