From nobody Fri Aug 23 08:56:45 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 4Wqv7y4jByz5Ss6r for ; Fri, 23 Aug 2024 08:56:46 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wqv7y3hd8z4SGq for ; Fri, 23 Aug 2024 08:56:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724403406; a=rsa-sha256; cv=none; b=UmT1IUQ6XCct7UsRhVxX1PXgTAoaQMQ0+B3QJ5Hced4J1q4C0SpkVaNxwllO4WoYIYXQxO 0XqHyk5elCF+k0q1WvSg620AR/RNMOwVOF8BNSPC7gWM8008ilLV4Qy5KBqX12eFUc3G/x GdvzMJcK3nLb3rlt1nY2mQnypKY4pqyQIeoe4ulvvDlwdHBPwKMIl5skFpDjkbDL+lhhR4 MM/n1UtlBODm6PAQ3A3dQR+L+fIdJdXRHnMAj+Qi2FM6TETjUmPEwL/NLKftEPJ0oZt6KR Pvwm0/pu4Z2MrMp/oSPQUQxcgKg282uNAmrCOWa4lfX8ShWGgSGkBGB6pFTkmw== 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=1724403406; 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=QUr9ilgWt08ktJ50W0+gEadYsBWy90BPx3b7oEgRxr8=; b=Ra2+Y+PSNQMikjBkYuX7D4NXxBvhBh7XR/vlQmCj4G/q8F9xgUPNR1kXe4wKAG25M/vC5d 3kNIfNIAtKJtOpT/3thBj0Dvc+qv2B1XLTj4j/Pht8PLWHUOwF3qYFZqQ1tk5S5xYHlPaA Lu3VbzLUkmaHUd38/wOY0vLRdqZU6xmcHLTt4oMad5A6YQ0Bfs6W84L48DFBy+m7P5lnNE yehLihE+EySgwD7nayRENqYI2QJ1750za1oddGG77gw4bB+Epx3D75qfn8Z+oTJd6w7j56 cUEEZEHBQKnvimQOmcaQq2B8AYlSadKpcE1JhIAylX1Y4ZgfkObztdJK6Ox6wg== 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 4Wqv7y3Hthz14n3 for ; Fri, 23 Aug 2024 08:56:46 +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 47N8ukbU070779 for ; Fri, 23 Aug 2024 08:56:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47N8ukoJ070777 for jail@FreeBSD.org; Fri, 23 Aug 2024 08:56:46 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 277210] jail(8): exec.clean retrieves PWD from user info (can cause services to crash on jail start-up) Date: Fri, 23 Aug 2024 08:56:45 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: johannes.kunde@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED 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=3D277210 --- Comment #24 from johannes.kunde@gmail.com --- Today, I've tested commit 1ff3118d72b15fb4c02ee156a5073e3e40528587. Works as expected (first line: jail start, second line: service start): Aug 23 08:51:03 testjail getcwd[23042]: Current working dir: / Aug 23 08:51:15 testjail getcwd[23078]: Current working dir: / Thank you very much Jamie and everybody involved! --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Aug 23 09:08:48 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 4WqvPt084Gz5St06 for ; Fri, 23 Aug 2024 09:08:50 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WqvPs59R0z4TSD for ; Fri, 23 Aug 2024 09:08:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724404129; a=rsa-sha256; cv=none; b=FXAHF0LM/MHe3LttVXoKIP6lTPJRAWk4TU3LGmAbbcyGC1+41tTlc1KiBD7AD2m1EOvvzC sm8q1IBDkMhmBKfcAvOBUpFjKMr7dswpIATN7s738TrbxESX3/kQ4yoK7hkB737RHr2Ope Rj1XVYmP9WoZ/aCEakKhOhHmckc8GStKilb2X8W5NRvaMK4ojEHHwNB7oay3dHSbqprBxY rsFl99l90RR63nveDov7L+IHFqfgY0kjF0kmdVN6aQo16/3mXnugBCeplw49Lt+cW0aZNG qTDqyW8yUnEB3/CtORib8BzLd1Bt679GhI54VWIlGFTV9b9vo2o29EJBA+FoSw== 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=1724404129; 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=QpmNlF7UV9skYSKb8HLuGBOpLXoxvzJnEv//6aMfSeU=; b=ZmPcRHhljTwiPlLJXhsTvZCJetLMz1KV4NE7YHSl6ROX0f31E9mcj4imNAZr9ErCdqrcGT +/71u82nvN1DHFcR3mnEAiu/d72JmCmQT7u3Dn8lK9qII9cuHWSPPpY7TVke5DDWX0vVRT B5scWHgVqfZBby8aq5607x72MTzvyvyXwHIt8kld/An1RQ/9UswnjnJi8w0JJvr0AT/IiQ T7iagNVtSLrmIrdVho42wU+QwB5oTFVNKFf2Vef0h3MjryM2GxAdyILUB6yYb+a5zDTnQ0 6k4+wMgU9pHNtP85CG0n0HVsHrp0Yf7FeCinNh+z6kMwsuHw5eZXrPIGcFdoOQ== 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 4WqvPs4mk0z1514 for ; Fri, 23 Aug 2024 09:08:49 +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 47N98noh018544 for ; Fri, 23 Aug 2024 09:08:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47N98nwZ018543 for jail@FreeBSD.org; Fri, 23 Aug 2024 09:08:49 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 277210] jail(8): exec.clean retrieves PWD from user info (can cause services to crash on jail start-up) Date: Fri, 23 Aug 2024 09:08:48 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: michaelo@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jamie@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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=3D277210 Michael Osipov changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|jail@FreeBSD.org |jamie@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.=