From nobody Sun Apr 07 14:44:50 2024 X-Original-To: jail@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VCFPK5p2kz5GxGt for ; Sun, 7 Apr 2024 14:44:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VCFPJ4Pj9z476B for ; Sun, 7 Apr 2024 14:44:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712501092; a=rsa-sha256; cv=none; b=PHdVH5sQldP2UQqJ6LCHka4I7LgyKP2qvpw8ePBBfTQyTznbsZ7NUgbYcNO5QiWI0pNLXl ofpmnNKRyTstoXknL0f+2+vW0jjiTUPVgrQRtUKsVx3hVSfZyfpeViNrnqgubeiPxmunzm sk3+4WjEIrZs0yLn4p4ki6BIAO89HjHYWBVSSV2hmR+1/XzjKphd919MTpK+Du74wIok35 S3nzm8bb0E9Ceo8v+jy/1VWWw+DdIaXVEDceet3iukCSg/rB0WDA9n3KDw92xYlcdFj56e p3NCKAIkLACwIQrxUqYraeVyJUMMnLXDSZIRDHQCrOq1pjHZhVSxZQZNgoFrbQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712501092; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=c/0JMjztths27zJb5Gf3ZKOhZcXdrv51dxBbQLthdAg=; b=PEj4CVFOKpK+iTOdAkkpC1oGpA9iqUoZPjUTXJQFlebcV8LKIH0/cxSmRJ9eeZG0sywB4+ gF7uUTiU2z12eqvB1hm3x35jjPAnKu658Y0gzHlmaiyRiLJ3cFKGzFICyP5FP4Lk/caKK9 kbvepLDbV9Ois8mfMcZPGnPoxhRF6pj7sCR6SD7sYsHSFIGs7vs1mYWU7e5fx5Sqxg/l3v SRPNzKYO/wcXYT8P8pbJiBOGMIbW2U7/Zu3I7xULdr3g6tHkSIjJUd2g0mb46PhY9Am63g FdtEIDwfhgnO8WDlm3LnlcYpY1OqmILTulsTAhu7gTDcqha02bGFki8muhp0aQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VCFPJ3hTVzXGR for ; Sun, 7 Apr 2024 14:44:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 437EiqQZ031636 for ; Sun, 7 Apr 2024 14:44:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 437EiqCo031605 for jail@FreeBSD.org; Sun, 7 Apr 2024 14:44:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: jail@FreeBSD.org Subject: [Bug 278195] daemon in jail is exiting without informing that it failed to execute Date: Sun, 07 Apr 2024 14:44:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.3-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jail@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion about FreeBSD jail(8) List-Archive: https://lists.freebsd.org/archives/freebsd-jail List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-jail@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278195 --- Comment #2 from Zhenlei Huang --- > The parent does return 0. The child will complain with "Undefined symbol". truss(1) shows that clearly. ``` # truss -f /tmp/daemon -l daemon echo OK ... 1543: sigaction(SIGHUP,{ SIG_IGN 0x0 ss_t },{ SIG_IGN SA_RESTART ss_t }) = =3D 0 (0x0) 1544: 1543: fork() =3D 1544 (0x608) 1544: setsid() =3D 1544 (0x608) 1544: sigaction(SIGHUP,{ SIG_IGN SA_RESTART ss_t },0x0) =3D 0 (0x0) 1544: madvise(0x0,0,MADV_PROTECT) =3D 0 (0x0) 1544: pipe2(0x7fffffffe950,0) =3D 0 (0x0) ld-elf.so.1: 1544: write(2,"ld-elf.so.1: ",13) =3D 13 (0xd) /tmp/daemon: Undefined symbol "kqueuex@FBSD_1.7" 1544: write(2,"/tmp/daemon: Undefined symbol "k"...,48) =3D 48 (0x30) 1544: write(2,"\n",1) =3D 1 (0x1) 1544: exit(0x1)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 1544: process exit, rval =3D 1 1543: exit(0x0)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 1543: process exit, rval =3D 0 ``` --=20 You are receiving this mail because: You are the assignee for the bug.=