Date: Wed, 25 Apr 2001 21:56:26 +0200 From: Szilveszter Adam <sziszi@petra.hos.u-szeged.hu> To: freebsd-emulation@freebsd.org Subject: symlink problems - Linuxulator oddity? Message-ID: <20010425215626.A20901@petra.hos.u-szeged.hu>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010425215626.A20901>