lkml.org 
[lkml]   [1999]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.2.x - running programs from NFS mounted dirs
> > A while ago I reported that I have some programs misteriously segfault
> > when run on 2.2.x and work well when run on 2.0.x. Now I realized
> > *which* programs they where: apparently, any program started from an
NFS
> > mounted directory segfaults immediately. Strace shows only one
syscall:
> > mmap(), and then it crashes. The NFS server in my case is another
Linux
> > box running unfsd with 2.0.x kernel.> > Can anyone confirm this?>
> ELF - not, all ELF binaries run correctly.
> BUT, all a.out binaries does not run from NFS mounted directory:

I am having the same problem with 2.2.1 but while trying to "ls" in a ftp
session. The ftp server runs on the 2.2.1 and the commands are chrooted to
a NFS mounted directory.

Mar 2 19:59:20 atlante ftpd[23856]: exiting on signal 11

I have no problem when doing it on a the NFS server and executing ls
directly from bash.

The ls comand is ELF statically linked.

atlante:/home/people/bin # ldd ./ls
statically linked (ELF)

I thought before was just a problem of the executable (the ftp server bins
came from slackware 3.0) so I've got the ls sources and compiled (with
a lot of hack in the stat struct functions) on our current distribution
(SuSE 5.2 and "everything" upgraded, i.e. bin-utils, wu-ftpd,
net-tools...).


Take care.


--
Ricardo Galli
My name is Dumped, Core Dumped.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.045 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site