config file installation/removal
Gerrit Kuehn
gerrit.kuehn at aei.mpg.de
Wed Feb 24 10:52:37 UTC 2021
On Thu, 18 Feb 2021 20:34:17 +0100
Baptiste Daroussin <bapt at 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 at 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
More information about the freebsd-pkg
mailing list