python dameon coredumps when started from boot, but not by hand
Pete French
petefrench at ingresso.co.uk
Sun Nov 10 17:53:25 UTC 2019
On 04/Nov/2019 23:45, O'Connor, Daniel wrote:
> This would also capture the stderr output, and should be pretty easy to shoe horn into the rc.d file.
>
> Nice thinking!
Just picking this up again, I have tried a few things, but am unable to
actually get this to work in the rc.d file, any suggestions? RC is quite
clever and seems to read the hash-pling line from the script and compare
it to the value set for the interpreter, so I cant simply add ktrace in
front on the interpreter itself. I tried knocking up a simple wrapper
script, but that didnt work too well (didnt become a daemon propely) and
I am wary of chnaging too much as I want the test to be as similar to
the actual bug situation as possible.
ktrace generates data at a spectacular rate thoughnthough doesnt it ? :-)
-pete.
More information about the freebsd-stable
mailing list