From owner-freebsd-ports Fri Feb 9 11:35:35 2001 Delivered-To: freebsd-ports@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id C1E5837B69D for ; Fri, 9 Feb 2001 11:35:11 -0800 (PST) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel1.hp.com (Postfix) with ESMTP id 3ED18534; Fri, 9 Feb 2001 11:35:11 -0800 (PST) Received: from cup.hp.com (p1000180.nsr.hp.com [15.109.0.180]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id LAA15701; Fri, 9 Feb 2001 11:35:09 -0800 (PST) Message-ID: <3A84466C.D9C0456A@cup.hp.com> Date: Fri, 09 Feb 2001 11:35:08 -0800 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Szilveszter Adam Cc: ports@FreeBSD.ORG Subject: Re: Dangling symlink in /usr/compat/linux 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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