Date: Fri, 09 Feb 2001 11:35:08 -0800 From: Marcel Moolenaar <marcel@cup.hp.com> To: Szilveszter Adam <sziszi@petra.hos.u-szeged.hu> Cc: ports@FreeBSD.ORG Subject: Re: Dangling symlink in /usr/compat/linux Message-ID: <3A84466C.D9C0456A@cup.hp.com> References: <3A7D28EA.9EF46BAE@gorean.org> <20010204112342.A15191@petra.hos.u-szeged.hu> <3A7DFC47.C76A9872@FreeBSD.org> <20010205091559.A5563@petra.hos.u-szeged.hu> <3A843594.B28776D8@cup.hp.com> <20010209194521.D27987@petra.hos.u-szeged.hu>
next in thread | previous in thread | raw e-mail | index | archive | help
Szilveszter Adam wrote:
>
> I see it nowhere in the headers, so I am going to add a Cc: for it...
Ah, yes. The intention was there; just not the action...
> > The link is correct. On a Redhat 6.2 system:
> >
> > dhcp00% cd /mnt/usr/lib
> > dhcp00% ls -al X11
> > lrwxrwxrwx 1 root wheel 16 Jul 18 2000 X11 -> ../X11R6/lib/X11
> > dhcp00% more /mnt/etc/redhat-release
> > Red Hat Linux release 6.2 (Zoot)
>
> Which is not the point:-)
Why not? The problem can be caused by the fact that the directory the
link is pointing to is missing or it can be caused by the link being
wrong. I've verified that in this case the link is correct. :-)
> > Can you tell me what the problem was. I missed that.
>
> The problem if you want it that way, is that although the symlink is
> created upon installing linux_base, the directory it points to is not.
> Hence the ${SUBJECT} about a "Dangling symlink". (If you install
> linux_devtools, the directory is created, since there is a subdir in it.
> That's why the problem may be harder to detect:-)
The symlinks are created by the RPM packages themselves. The fact that
they are explicitly created in the package list is because they wouldn't
be there when you install linux_base as a package otherwise.
I use the philosophy in linux_base and linux_devtools that I don't
correct any bugs inherent in the Linux distribution. AFAICT, the
dangling symlink is created by filesystem-1.3.5-1.noarch.rpm, which is
one of the first packages that gets installed.
--
Marcel Moolenaar
mail: marcel@cup.hp.com / marcel@FreeBSD.org
tel: (408) 447-4222
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A84466C.D9C0456A>
