Diskless /libexec/ld-elf.so.1: Cannot execute objects on /

Paulo Fragoso paulo at nlink.com.br
Fri Dec 16 05:16:38 PST 2005


Paulo Fragoso wrote:

> Hi,
>
> After upgrade from FreeBSD 5.3 to FREEBSD_5_4 (cvs), our diskless
> machines didn't work correctly, many applications using dynamic
> libraries didn't start, this error was showed:
>
> /libexec/ld-elf.so.1: Cannot execute objects on /
>
> We found on all diskless machines had MNT_NOEXEC flags set on (fstatfs).
> After that we have changed rtld.c changed:
>

Ops, all remote mount points defined with read-only on server has 
MNT_NOEXEC flag seted on the clients (diskless), is there a bug with 
fstatfs function?

server:
/usr/X11R6 -ro -network A.B.C.D -mask 255.255.255.0

client:
A.B.C.S:/usr/X11R6 /usr/X11R6 nfs ro,tcp,nfsv3,-w=32768,-r=32768  0       0

On the cliente NFS the /usr/X11R6 has MNT_NOEXEC seted!

Paulo Fragoso.


More information about the freebsd-stable mailing list