Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 2001 19:45:21 +0100
From:      Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
To:        Marcel Moolenaar <marcel@cup.hp.com>
Cc:        freebsd-current@FreeBSD.ORG, ports@freebsd.org
Subject:   Re: Dangling symlink in /usr/compat/linux
Message-ID:  <20010209194521.D27987@petra.hos.u-szeged.hu>
In-Reply-To: <3A843594.B28776D8@cup.hp.com>; from marcel@cup.hp.com on Fri, Feb 09, 2001 at 10:23:16AM -0800
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Marcel,

On Fri, Feb 09, 2001 at 10:23:16AM -0800, Marcel Moolenaar wrote:
> [taken to -ports]

I see it nowhere in the headers, so I am going to add a Cc: for it...

> 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:-)

> > Solution: ? ( Maybe create the directory once we symlink to it? Seems like
> > a good idea... )
> 
> 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:-)

Maybe it would be a good idea to create a (empty if need be)
/usr/compat/linux/usr/X11R6/lib/X11 directory upon installing linux_base?

I have no idea how this came up btw, maybe some installation of some
third-party sw tried to follow the symlink and got confused? I just tried
to react to the problem at hand...

> > (Most probably this problem never surfaced before because the maintainers
> > had both ports installed on their systems.)
> 
> I do have both ports in fact :-)

Me too, that's why I at first very self-confidently posted something along
the lines of "It works for me!" which earned blank stares from just about
anybody else:-) 
 
-- 
Regards:

Szilveszter ADAM
Szeged University
Szeged Hungary


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010209194521.D27987>