Re: "rc.d start" claims to have failed, but actually succeeds

2013-01-20 Thread Forman, Jeffrey
On Sun, Jan 20, 2013 at 12:03 AM, Matthew Weigel wrote: > On 1/19/2013 10:23 PM, Forman, Jeffrey wrote: > > > One thing to note, is that the (failed) shows up after 5-10 seconds, not > > immediately. But the issue is that the Python script itself is actually > > running on the machine. Only rc.d

Re: "rc.d start" claims to have failed, but actually succeeds

2013-01-19 Thread Matthew Weigel
On 1/19/2013 10:23 PM, Forman, Jeffrey wrote: > One thing to note, is that the (failed) shows up after 5-10 seconds, not > immediately. But the issue is that the Python script itself is actually > running on the machine. Only rc.d claims it has failed. When rc_bg=YES, "rc_cmd start" does the equi

"rc.d start" claims to have failed, but actually succeeds

2013-01-19 Thread Forman, Jeffrey
Oh potentially helpful openbsd-misc, I have written a Python script that takes the output of tcpdump from pflog0, does some processing on it, and sends it to my monitoring infrastructure for eventual output into Graphite graphs. I can run the script just fine via the command line, but when I begi