From nobody Sun Apr 07 05:17:40 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 4VC0pt46xsz5GCrs for ; Sun, 7 Apr 2024 05:17:42 +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 4VC0pt1BQzz4Psy for ; Sun, 7 Apr 2024 05:17:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712467062; a=rsa-sha256; cv=none; b=AacqgWPq5eqR1Jd5SYpSeSvpayrN1PG729MTCxoEJ0yMXNpfqZLloGpmwAyS7+I1NkmAfm bkwuHPTcx3XrK1AmyKpm7SQurJrw4VVG7BdiN2zyHDLH3PFzF4ogXAJlXff0uTqoPT+XDx tPeQKnN2wtUEEsvxBrqvDWtT+NHbox7L87XrclU9T3chbhDF8gaEPJykF4Eg8h+e1HmMzD xzyjugR/YHZCYU7dtU/jP72Ct9lhMjSCJmnZSty6QOb95RCZJo8QtSqWahBz5cgNOLEm9l npEoi4Of1AqMAdVnM9kex8tomaH0sFMYEyffc4I87sHfh8eCefB0q1E6qRjmrA== 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=1712467062; 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=KhILhzaqoCpu44w6yenzAYfHAb7k1EVotmyQAcHUkLI=; b=X9V9xe+ra96GZymRci4hAdqMVaTSrthhV2AQfJwqbBF0s2w38Z6v0bmGrbJSqBoRh1pRg7 yuibzwcjkqHikAIsjv76KKL395axf+aZMsQB/9qkrZ/ZFHAe2fyHtyETCEa3rTgyDDhr5Z 3D6rB7eS3SyyXz3HpvSK9eSlK/rIat9RzdlyUmdM12FniNmsrjJtmFKPjLF9+jCJHKbYNm YUMO0QyFzcS+DyPRDqwXFExfb/pMAWKEr+zCcci7deH3hsfWVke/mVGp/oUzYbHoPEdthQ eCD6ZFPb6DtRu0zPMlY+bsLWGE7pYOY2iw5U5TGmzlPxYPudUOOzk6RlHt/cew== 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 4VC0pt0mzWzFK1 for ; Sun, 7 Apr 2024 05:17:42 +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 4375HgMq054268 for ; Sun, 7 Apr 2024 05:17:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4375Hgii054261 for jail@FreeBSD.org; Sun, 7 Apr 2024 05:17:42 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 05:17:40 +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: cc 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 Zhenlei Huang changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zlei@FreeBSD.org --- Comment #1 from Zhenlei Huang --- (In reply to skenizen from comment #0) > When launching a daemon in the jail (as a specified user) /usr/sbin/daemo= n was exiting with return code 0 and not outputting anything in the syslogs. > This happened on a jail I've erroneously upgraded from FreeBSD 13.2-RELEA= SE to FreeBSD 13.3-RELEASE on a system host with 13.2-RELEASE. For stable branches, the kernel ABI compatibility ensures that old binaries= can still run on new kernels. i.e., 13.3 kernel with 13.2 userland. But not the opposite. > I've seen other users mentioning similar issues on TrueNAS forums pinpoin= ting to kqueuex() being the culprit for ABI incompatibility (https://www.tr= uenas.com/community/threads/warning-dont-upgrade-your-truenas-core-jails-to= -freebsd-13-3-just-yet.117018). I think that is a good example to illuminate the ABI compatibility issue. > Although my bug report is not about this, but more about the lack of info= rmation on the user that something wrong happened. I'd expect at minimum a = different return code than 0 (and preferably an explicit error in the log t= oo). Run daemon(8) from FreeBSD 13.3 on 13.1: ``` root@:~ # /tmp/daemon -l daemon echo OK ld-elf.so.1: /tmp/daemon: Undefined symbol "kqueuex@FBSD_1.7" ``` The parent does return 0. The child will complain with "Undefined symbol". --=20 You are receiving this mail because: You are the assignee for the bug.=