Date: Tue, 02 Sep 2025 08:32:02 +0000 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 Message-ID: <bug-289097-36141-RlTs8yI9KI@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-289097-36141@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289097 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=aa730a66bc74696df85b21ec2719c75d8eab8c9f commit aa730a66bc74696df85b21ec2719c75d8eab8c9f Author: Lexi Winter <ivy@FreeBSD.org> AuthorDate: 2025-09-02 08:22:56 +0000 Commit: Lexi Winter <ivy@FreeBSD.org> 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(-) -- You are receiving this mail because: You are on the CC list for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289097-36141-RlTs8yI9KI>
