Date: Wed, 24 Feb 2021 11:47:13 +0100 From: Gerrit Kuehn <gerrit.kuehn@aei.mpg.de> To: Baptiste Daroussin <bapt@FreeBSD.org> Cc: freebsd-pkg@freebsd.org Subject: Re: config file installation/removal Message-ID: <20210224114713.591c5552@comet2.terra.ger> In-Reply-To: <20210218193417.lupbnayir4ji5nk3@aniel.nours.eu> References: <20210216122238.4057cde9@comet2.terra.ger> <20210218195136.6d3b6117@comet2.terra.ger> <20210218193417.lupbnayir4ji5nk3@aniel.nours.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 18 Feb 2021 20:34:17 +0100 Baptiste Daroussin <bapt@FreeBSD.org> wrote: Hello, Stefan just noted to me that relative and absolute links are treated differently here: I see the issue described when using an /absolute/ link like --- lrwxr-xr-x 1 root wheel 10 Feb 24 11:42 etc@ -> /etc/local --- but everything works as expected when using a /relative/ one like --- lrwxr-xr-x 1 root wheel 15 Feb 24 11:38 etc@ -> ../../etc/local --- Is this the desired behaviour? Absolute links worked just fine in this place until recently. Is there a reason for changing this? cu Gerrit > On Thu, Feb 18, 2021 at 07:51:36PM +0100, Gerrit Kuehn wrote: > > > > On Tue, 16 Feb 2021 12:22:38 +0100 > > Gerrit Kuehn <gerrit.kuehn@aei.mpg.de> wrote: > > > > > > Hello, > > > > I think I finally found the trigger for this: > > It happens on systems where I had moved /usr/local/etc to > > /etc/local and put a link in /usr/local instead: > > > > lrwxr-xr-x 1 root wheel 10 Aug 31 2018 etc@ -> /etc/local > > > > Moving the directory back to /usr/local/etc makes pkg behave as > > before. > > > > I've been using this for many years on many systems, but something > > in file handling must have changed in the pkg/ports recently > > causing this strange behaviour with sample files > > installation/removal. > > > > Any ideas why this changed? Is this a bug or a feature? > > > > > Hello, > > Can you try with pkg 1.16.3 which has just been committed to the tree > ? > > Best regards, > Bapt -- Dr. Gerrit Kuehn Max-Planck-Institut fuer Gravitationsphysik Albert-Einstein-Institut Callinstrasse 38 30167 Hannover
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210224114713.591c5552>