From owner-freebsd-emulation Wed Apr 25 12:56:32 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from sol.cc.u-szeged.hu (sol.cc.u-szeged.hu [160.114.8.24]) by hub.freebsd.org (Postfix) with ESMTP id DDF3337B424 for ; Wed, 25 Apr 2001 12:56:28 -0700 (PDT) (envelope-from sziszi@petra.hos.u-szeged.hu) Received: from petra.hos.u-szeged.hu by sol.cc.u-szeged.hu (8.9.3+Sun/SMI-SVR4) id VAA03043; Wed, 25 Apr 2001 21:56:27 +0200 (MEST) Received: from sziszi by petra.hos.u-szeged.hu with local (Exim 3.12 #1 (Debian)) id 14sVOk-0005b4-00 for ; Wed, 25 Apr 2001 21:56:26 +0200 Date: Wed, 25 Apr 2001 21:56:26 +0200 From: Szilveszter Adam To: freebsd-emulation@freebsd.org Subject: symlink problems - Linuxulator oddity? Message-ID: <20010425215626.A20901@petra.hos.u-szeged.hu> Mail-Followup-To: Szilveszter Adam , freebsd-emulation@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello everybody, Today I have found something weird. I have an up-to-date -CURRENT box. I have discovered, that the Linux /bin/sh under compat will not follow a symlink if the link points to a directory which exists in the FreeBSD tree but not in the compat tree. In my case, I installed Star Office in /usr/local/office52 and not under compat. This may sound logical at first, but the port most definetly worked before and the soffice.patch file did not appear to have changed since last August. Also, I recall that the Linuxulator used to work in this way: First try the directory/file under the compat tree If this fails, go to the FreeBSD tree. I wonder if this is still the case? Check this: [21:38, Apr 25., Wed] cc@fonix:/home/cc ttyv3 % /usr/compat/linux/bin/sh bash$ ls -l /home/cc/office52/soffice ?rwxr-xr-x 1 cc cc 35 Apr 25 15:12 /home/cc/office52/soffice bash$ exit exit [21:39, Apr 25., Wed] cc@fonix:/home/cc ttyv3 % ls -l /home/cc/office52/soffice lrwxr-xr-x 1 cc cc 35 Ápr 25 15:12 /home/cc/office52/soffice -> /usr/local/office52/program/soffice Note that under Linux, the file type is set to '?' which is not encouraging. I noticed this because Star Office would not start: Now I know why. In the startup script that the port installs, the startup script is executed with the Linux /bin/sh and produced unwanted effects. Maybe this is a side-effect of some recent change to the Linuxulator? Should I send-pr? P.S.: I have linux_base-6.1 installed. -- Regards: Szilveszter ADAM Szeged University Szeged Hungary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message