From nobody Tue Sep 2 08:32:02 2025 X-Original-To: pkgbase@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 4cGJrL22wsz66Fwt for ; Tue, 02 Sep 2025 08:32:02 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cGJrL1PX5z423t for ; Tue, 02 Sep 2025 08:32:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756801922; 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=GFzzTlt2iz2v0gKaoZBRFfZHglLZx7Uo9uSQEE52V4Y=; b=yLIHSGTVCY+5IjMMRpXKFbhjQ85miWF7lVytbGlOB+NwqZNcrumN9ndMtpMVYAudHft9Bn /kESuYZRjvu4I56WQRRyFbFVDZHgBqlpYqsEPCC+i/yhrOBRyrS9ayp4wiIXuqsXPgQAfo P3RRBcg+rxUhh0uj0AAXgsHiknCl39GQCUqDIJ8pzEy5LAQYHaZwd5hMtjlFEcjWApHy7i NFZqkSJXm/0ChywQP5hGf4+82xEyw6tnUv+J8I42olMt78gsfzd38szfVOhc+Qbw6J/X6v SJ1qkMzj+bOmIPSs2TX28t4woklBR/OHytYAK8KVXtirf/ZJzfrMeU1Z3uQRLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756801922; 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=GFzzTlt2iz2v0gKaoZBRFfZHglLZx7Uo9uSQEE52V4Y=; b=Ragx7gET97G78yx6PedTBtctY3yxKtpnMS/HyNmXj4ekEpLnreAI+ibfremD4ZCsTodMj0 ps3PAVapxgZrOSIbDQxCOtDQF/xyXbdSBGQWRqGRoUp2mD6+0Dy2IwNwKIA3oDTs61tjdy aulUtJjd6QbXg/3TMcywvme/eBJM3gqTgvzj0qt27ckvne2K7vdg875Xl2RUlT8QJ0WMtP eUqv7Ln4TFLuylByEfYx7tSuwuFOXLd1ZcuNHKnQmqzU1A2bG0u2GtPtX1jVFwWON9ShhT F15HSei4X+Xe0XI1Xmjbr5GlmvoffEBxIZy/5lg9mWiWTbZaJxBHBw1jzPOzKg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1756801922; a=rsa-sha256; cv=none; b=TS9gCW77Ok05p/Ab71EuoQSUNTy25eoKQBTuLWqPnsOAsrChN09066KLKZslNzKiSgH0+V t0C+gqzmCjaBKlh/ZMoBKNmB6K/22BOExa1kLM+ehOijC6flqsFmHGzWGmiOyl60znwA1J rvt3JrQP50TfpNmHBBrps2TWg6QIxKZpaiTNRKuIwv02YzRLBMs9VF+mGBAix7pvRfV71q PWVMg2eXxE+Mymk5BrIm8hZhFeGrwLpfHpGjbLVOvJpYMXMQHvdnN3Uklr5L9Q92oN1w0Y d9wTH2JM31jpOPVwWC7MadbQhn2SbTprpepOpVIl949q8FWcZyYXwg/E35zQXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cGJrL0y0LzfbJ for ; Tue, 02 Sep 2025 08:32:02 +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 5828W1Sv031927 for ; Tue, 2 Sep 2025 08:32:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5828W1QA031926 for pkgbase@FreeBSD.org; Tue, 2 Sep 2025 08:32:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkgbase@FreeBSD.org Subject: [Bug 289097] Base upgrades must not lose user customisations in dot files such as /root/.cshrc and /root/.profile Date: Tue, 02 Sep 2025 08:32:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 14.3-RELEASE X-Bugzilla-Keywords: pkgbase X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ivy@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D289097 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Daa730a66bc74696df85b21ec2719c75d8= eab8c9f commit aa730a66bc74696df85b21ec2719c75d8eab8c9f Author: Lexi Winter AuthorDate: 2025-09-02 08:22:56 +0000 Commit: Lexi Winter CommitDate: 2025-09-02 08:22:56 +0000 sh: Add config tag to /.profile The file /.profile is installed as a hard link to /root/.profile. The file in /root has the config tag, but the file in / does not, which causes it to be overwritten by pkg upgrade. Since they're linked, this also overwrites the file in /root. Add the config tag to the file in / as well, so pkg treates both links as config files and won't overwrite them. PR: 289097 MFC after: 3 days Reviewed by: bapt, emaste Differential Revision: https://reviews.freebsd.org/D52162 bin/sh/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=