From nobody Wed Jan 03 11:22:17 2024 X-Original-To: bugs@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 4T4nPQ2X3cz55d6R for ; Wed, 3 Jan 2024 11:22:18 +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 4T4nPP5fDtz41Gd for ; Wed, 3 Jan 2024 11:22:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704280937; 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; bh=j9ps9vgyLnkcqLEHqfgL+7zyDKN1z1YCCqcpJeO52/4=; b=OoQ/GRSJvVVrX4BSa7m3uOCm6EWmYD+wvdb5hcqJn0XLzbUNdvi9kCH8vc62qehGcxNfeM htM8xl/cXywp1vaGCCLeV7bbYJ+NMYEjDPtTFhKE+1fg60KPuYdpTyjOncToJLA9a01/gs YB/+hTAps+trDBnv5zYknA+1jEcJzv7NkCILe/tgdyrtwgSIJ8G8VWv2aOCdoB3IgmOQhC ws8WllALyUvvAvUiRShIx22IjKD6wOrMLXN8ydIfrnHVVYvsD2aLpJV4bPLage0Nznjg75 96kzljJtIslRzZNeqpq2COmYFP9KXgUOChvZWdJFx+zDjRG6KdPTc0un4Q/eHg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704280937; a=rsa-sha256; cv=none; b=AUUHfmUbuHUFqP0Ih+EAjAhZIB/s1EN3ECYT/XgYGUIZbnMcEUElxScvSSZFHl8qjBy1OO HlavyuNn0WLT6qm44T/pQ7qDuCZ0E9O7rwowDh175fDsCWjMHHTWhJ22tRVXn+cXi8T/2D vR7zgpniUJQvN18yc0io/Me2BbCag8bD5e5bn7VQrCwFVwy3js+/CKwFH6t2b5CVxCEq25 69H3bQ0wiSJTL5CIJKNyYI1iacdaf7lBThCoIIXgKADXj0h3SoDDb2bHkucOLUl/Lf3+YJ m3TlQKPnsl5oaXLgRfDRTh2D5QBSe+SdGx3VJYQou1dS6/P7PmqTjybOJSVacw== 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 4T4nPP4lX2zjVg for ; Wed, 3 Jan 2024 11:22:17 +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 403BMHGj046158 for ; Wed, 3 Jan 2024 11:22:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 403BMH4t046157 for bugs@FreeBSD.org; Wed, 3 Jan 2024 11:22:17 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: bugs@FreeBSD.org Subject: [Bug 276094] freebsd-update: -j/-b have incomplete/unclear semantics Date: Wed, 03 Jan 2024 11:22:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michaelo@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276094 Bug ID: 276094 Summary: freebsd-update: -j/-b have incomplete/unclear semantics Product: Base System Version: 13.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: michaelo@FreeBSD.org manpage says for -j: > -j jail Operate on the given jail specified by jid or name. (= The > version of the installed userland is detected and the > --currently-running option is no more required.) So I would assume that all file/dir related operations: -b, -d, -f, -k are rebased on top of the basedir of the jail, but this does not happen. Only -= b is set. Issues: * Bug 235318, Bug 253989: host's workdir is shredded * -f is used from the host, resulting in different conf applied, all paths from that conffile need to be rebase on top of basedir * -k since -f is not rebased the wrong key might be used. Expectatation is that all operations runs fully isolated from the host, nam= ely jailed. Even if a jail isn't used -b should describe where and how it is applied... --=20 You are receiving this mail because: You are the assignee for the bug.=