Date: Wed, 30 Oct 2019 23:39:22 +0000 From: Pete French <petefrench@ingresso.co.uk> To: freebsd-stable@freebsd.org Subject: python dameon coredumps when started from boot, but not by hand Message-ID: <E1iPxYg-0001ID-Gz@dilbert.ingresso.co.uk>
next in thread | raw e-mail | index | archive | help
So heres an oddity - I have a service which runs under python3. It works fine if I start it from a terminal as root, but when it is started at boot the python interpretter itself coredumps. The program in question is the latest Microsoft 'waagent' form machines running in Azure. This apparently comes in two pieces, one which starts up and then attempts to syart the other. It is the latter part which is failing. The parent process launches fine and repeatedly tries to launch the child, always coredumping before it starts running any actial python it seems. This must, I assume, be down to some dfference in the environment between running a process from rc at boot and runnign with 'service waagent start' as root at the command line. But I dont really have any idea what this might be. The fact the first one starts but the second doesnt make it even stranger. I opened an issue with Microsoft, including a gdb backtrace of the coredump agaist the python, but I feel this is probably something fairly straightforward which can be solved by some FreeBSD configuration that I am missing somehow. github issue is here: https://github.com/Azure/WALinuxAgent/issues/1687 but I would be intersted to know if anyone has any thoguhts or advice on this. Running FreeBSD in Azure is something which has worked well for me so far... -pete.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1iPxYg-0001ID-Gz>