norc | http://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 executed | 01:36 |
norc | The status is `openvpn start/killed, process 839' | 01:37 |
norc | (By itself that command works just fine) | 01:37 |
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! | 02:40 |
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:26 |
ion | Oh, he already left. | 07:27 |
SpamapS | ion: somebody should really write a 'forget-process' subcommand for initctl so we can at least work around that silliness. | 07:36 |
ion | I kind of agree with Keybuk’s sentiment about it: the fork tracking should be fixed instead of adding inelegant, nasty workarounds. | 07:37 |
SpamapS | ion: nobody has proposed a good solution to the problem though, so I reject that very true, but overly idealistic solution. | 07:41 |
ion | Keybuk already had a prototype. I wonder what happened wrt. it? | 07:43 |
wankdanker | I'm working on an upstart config and I want the process to start when /dev/ttyS0 is ready. Anyone have any ideas? | 13:57 |
ion | Do you have upstart-udev-bridge? | 14:08 |
wankdanker | yes, i think i do | 14:28 |
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:33 |
ion | See udevadm info --export-db for values you can use to match the device with. | 14:34 |
wankdanker | great. thank you very much. | 14:35 |
wankdanker | ion++ | 14:35 |
wankdanker | no beers for ion. :( | 14:36 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!