From owner-freebsd-stable@freebsd.org Mon Nov 4 14:30:25 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C2F471A44C1 for ; Mon, 4 Nov 2019 14:30:25 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (constantine.ingresso.co.uk [31.24.6.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 476FZS0cGdz3JYh for ; Mon, 4 Nov 2019 14:30:23 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from [2a02:b90:3002:411::6] (helo=dilbert.ingresso.co.uk) by constantine.ingresso.co.uk with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iRdN5-0008wK-Dy; Mon, 04 Nov 2019 14:30:19 +0000 Received: from petefrench by dilbert.ingresso.co.uk with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iRdN5-0007FP-Ax; Mon, 04 Nov 2019 14:30:19 +0000 To: 000.fbsd@quip.cz, kpn@neutralgood.org, petefrench@ingresso.co.uk Subject: Re: python dameon coredumps when started from boot, but not by hand Cc: darius@dons.net.au, freebsd-stable@freebsd.org In-Reply-To: Message-Id: From: Pete French Date: Mon, 04 Nov 2019 14:30:19 +0000 X-Rspamd-Queue-Id: 476FZS0cGdz3JYh X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=ingresso.co.uk; spf=pass (mx1.freebsd.org: domain of petefrench@ingresso.co.uk designates 31.24.6.74 as permitted sender) smtp.mailfrom=petefrench@ingresso.co.uk X-Spamd-Result: default: False [-6.01 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:31.24.6.74]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[ingresso.co.uk,none]; IP_SCORE(-3.21)[ip: (-9.77), ipnet: 31.24.0.0/21(-4.89), asn: 16082(-1.34), country: GB(-0.08)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16082, ipnet:31.24.0.0/21, country:GB]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Nov 2019 14:30:25 -0000 Thanks for the ideas, running through these in order... > Check "rcorder /etc/rc.d/* /usr/local/etc/rc.d/*" So, its running directly after sshd and before swaplate and the local stuff. > Check if ldconfig is runable (I ended up with permissions 0444 on=20 > /etc/rc.d/ldconfig after some etcupdate run) Just checked that and its 777 > Next things - try to run it as: > 1) service myservice start > or > 2) /usr/local/etc/rc.d/myservice start > > There can be differencies. Both of those give the same result - this is in /etc/rc.d not in /usr/local/etc/rc.d, but that wont make a difference I assume ? > You can also try to start it from cron instead of hands (different=20 > environment) or try to start in on boot from crontab with tag @reboot. Those are both interesting ideas. Cant tst them immediately, but will try later today if I can. Thankyou! -pete.