Date: Sun, 10 Nov 2019 17:53:15 +0000 From: Pete French <petefrench@ingresso.co.uk> To: "O'Connor, Daniel" <darius@dons.net.au>, "Kevin P. Neal" <kpn@neutralgood.org> Cc: freebsd-stable@freebsd.org, 000.fbsd@quip.cz Subject: Re: python dameon coredumps when started from boot, but not by hand Message-ID: <b9694693-da69-8e39-092c-c5bd39284982@ingresso.co.uk> In-Reply-To: <4010794E-F6C7-47DB-9746-8A6F63C957F7@dons.net.au> References: <b2d1c84d-36a5-e5b5-4c88-0c458ea668e1@quip.cz> <E1iRdgM-0000tH-T1@dilbert.ingresso.co.uk> <20191104151555.GB60435@neutralgood.org> <4010794E-F6C7-47DB-9746-8A6F63C957F7@dons.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b9694693-da69-8e39-092c-c5bd39284982>