python dameon coredumps when started from boot, but not by hand

O'Connor, Daniel darius at dons.net.au
Fri Nov 1 13:54:20 UTC 2019



> On 1 Nov 2019, at 23:26, Pete French <petefrench at ingresso.co.uk> wrote:
> 
>> Hmm, does changing the command_args line to this work:
>> command_args=3D"start 2>/tmp/waagent.log"
>> work?
> 
> That is byte-for-byte identical to what I tried :-) It creates the file
> in /tmp, but the file remains empty.

Oops, sorry :)

> I think I need to look at the source code to work out whats up with it (on
> the github link in my original email). As I now know its one piece of python
> which attemopts to start another, and we know the bit started directly
> from rc.d works, then this may not be something within BSD after all.

It seems bad that the Python interpreter is calling abort, I would have thought that doing so is pretty tricky to do from pure Python so finding out why would be good..


--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum




More information about the freebsd-stable mailing list