Date: Thu, 31 Oct 2019 10:19:35 +0000 From: Pete French <petefrench@ingresso.co.uk> To: darius@dons.net.au, petefrench@ingresso.co.uk Cc: freebsd-stable@freebsd.org Subject: Re: python dameon coredumps when started from boot, but not by hand Message-ID: <E1iQ7YF-0004bX-K1@dilbert.ingresso.co.uk> In-Reply-To: <872D68EE-143D-41F3-BC22-45AC4F7E934F@dons.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> Does it crash if you run it from the command line with 'env -i' in front? > > That clears out the environment and will be a lot closer to the rc.d environment. Interesting idea, but no, that works fine. Annoyingly! > If that doesn't show anything then you will have to try capturing stderr > from the rc.d run as that will hopefully have the reason why Python is > aborting (ie what Py_FatalError is complaining about). So, I naiively tried to do this by simply sticking a '2> /tmp/waagent.stderr' on the end of the rc.d command arguments, but it didnt produce anything (i.e. an empty file was created). Will try some other ways though, as you are right that getting the output from that is how to find the issue. -pete.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1iQ7YF-0004bX-K1>