ln -s broken on 2.4.5

Edsel Adap
2001-05-30T16:41:13Z

Hi,

I downloaded the linux 2.4.5 sources and built and installed them on my
system. Since then, I've noticed strange file system behavior:

marvin:~> cd /tmp
marvin:/tmp> ls -la
total 2656
drwxrwxrwt 6 root root 1024 May 30 12:06 ./
drwxr-xr-x 22 root root 1024 Feb 18 2000 ../
-r--r--r-- 1 root root 11 May 30 11:19 .X0-lock
drwxrwxrwt 2 root root 1024 May 30 11:19 .X11-unix/
drwxrwxrwt 2 root root 1024 May 30 11:18 .font-unix/
-rw-r--r-- 1 adap users 2699286 May 30 11:24 mpeg2-digital.mpg
drwx------ 2 adap root 1024 May 30 12:06 ssh-SXp13149/
drwx------ 2 adap root 1024 May 30 11:19 ssh-unNLs321/
marvin:/tmp> ln -s foo bar
marvin:/tmp> ls -la
total 2656
drwxrwxrwt 6 root root 1024 May 30 12:06 ./
drwxr-xr-x 22 root root 1024 Feb 18 2000 ../
-r--r--r-- 1 root root 11 May 30 11:19 .X0-lock
drwxrwxrwt 2 root root 1024 May 30 11:19 .X11-unix/
drwxrwxrwt 2 root root 1024 May 30 11:18 .font-unix/
lrwxrwxrwx 1 adap users 3 May 30 12:09 bar -> bar
-rw-r--r-- 1 adap users 2699286 May 30 11:24 mpeg2-digital.mpg
drwx------ 2 adap root 1024 May 30 12:06 ssh-SXp13149/
drwx------ 2 adap root 1024 May 30 11:19 ssh-unNLs321/
marvin:/tmp>

Notice that the symlink created is wrong. It seems that any symlink I
create is always linked to itself.

I booted 2.4.0 again, and the problem went away. Is this a known
problem? Is there a patch?

Please cc me with your replies since I am not on the list.

--
Edsel Adap
edsel@adap.org
http://www.adap.org/~edsel/ LINUX - the choice of the GNU generation

"Netscape is an application which grows to fill all available memory." - me