named pipe over foreign nfs does not work (fwd)

Herbert Xu (herbert@gondor.apana.org.au)
Thu, 30 Apr 1998 21:23:57 +1000 (EST)


This was reported against 2.0.33 in the Debian bugs system. Please cc
21790-forwarded@bugs.debian.org, tilk@informatik.tu-muenchen.de and me when
replying. Thanks.

----- Forwarded message from Klaus Tilk -----

>From - Thu Apr 30 21:19:33 EST 1998
To: submit@bugs.debian.org
Subject: named pipe over foreign nfs does not work
Date: Tue, 28 Apr 1998 12:48:32 +0200
From: Klaus Tilk <tilk@informatik.tu-muenchen.de>
Message-Id: <98Apr28.124843+0200met_dst.20054+142@sunbode37.informatik.tu-muenchen.de>

Package:kernel-image-2.0.33

enviroment (ver_linux):
-- Versions installed: (if some fields are empty or looks
-- unusual then possibly you have very old versions)
Linux atbode63 2.0.33 #2 Tue Mar 3 15:02:00 CET 1998 i686 unknown
Kernel modules 2.1.34
Gnu C 2.7.2.1
Binutils 2.7.0.9
Linux C Library 5.4.33
Dynamic Linker (ld.so) 1.8.12
Linux C++ Library 27.2.1
Procps 1.12
Mount 2.6d
Net-tools (Peter
Kbd 0.89
Sh-utils 1.16

scenario:

*************
* case one: *
*************

home via nfs and amd from solaris nfs server:
/a/sunbode2/export/home/staff/tilk

trying to make a fifo on linux host:

15:35:10].atbode63.tilk% mkfifo fifo
[15:35:38].atbode63.tilk% ls -l fifo
-rw-r--r-- 1 tilk kmem 0 Apr 22 15:35 fifo
[15:35:41].atbode63.tilk% file fifo
fifo: empty

*************
* case two: *
*************

making fifo on solaris host:

[12:45:02].sunbode2.tilk% mkfifo fifo
[12:45:12].sunbode2.tilk% file fifo
fifo: fifo
[12:45:16].sunbode2.tilk% ls -l fifo
prw-r--r-- 1 tilk 0 Apr 28 12:45 fifo

and let's see what's this on linux:

[12:45:52].atbode63.tilk% ls -l fifo
crw-r--r-- 1 tilk kmem 255, 255 Apr 28 12:45 fifo

OOPS !!!!!

***************
* case three: *
***************

this time nfs server _and_ client running under linux:

15:57:37].atbode63.tilk% cd /usr/local/sci
[16:03:01].atbode63.sci% ls -l
total 0
lrwxrwxrwx 1 tilk sysadm 28 Mar 31 13:35 atbode63 ->
../../../.stage/atbode63_sci/
lrwxrwxrwx 1 tilk sysadm 28 Mar 31 13:35 atbode64 ->
../../../.stage/atbode64_sci/
lrwxrwxrwx 1 tilk sysadm 28 Mar 31 13:35 atbode65 ->
../../../.stage/atbode65_sci/
lrwxrwxrwx 1 tilk sysadm 28 Mar 31 13:35 atbode66 ->
../../../.stage/atbode66_sci/
lrwxrwxrwx 1 tilk sysadm 8 Mar 31 13:35 local ->
atbode63/
16:03:09].atbode63.sci% cd atbode66
[16:03:28].atbode63.atbode66% ls
[16:03:29].atbode63.atbode66% ls -la
total 2
drwxrwxrwt 2 root root 1024 Mar 31 13:40 ./
dr-xr-xr-x 3 root root 1024 Mar 31 13:39 ../
[16:03:52].atbode63.atbode66% ls -l /.stage/atbode66_sci
lrwxrwxrwx 1 root root 22 Apr 22 16:03
/.stage/atbode66_sci -> /a/atbode66/export/sci/
atbode66:/export/sci on /a/atbode66/export/sci type nfs
(rw,nosuid,intr,soft,timeo=10,retrans=8)
[16:04:10].atbode63.atbode66% mkfifo fifo
[16:04:31].atbode63.atbode66% ls -l fifo
prw-r--r-- 1 tilk kmem 0 Apr 22 16:04 fifo|

here it works !!!!

***************
* case four: *
***************

nfs client is a sparc under solaris 2.5.1
nfs server is the above linux host

this is what i get trying do make a fifo:

[09:45:31].sunbode2.atbode63_sci% pwd
/stage/atbode63_sci
[09:45:33].sunbode2.atbode63_sci% ls -lad .
drwxrwxrwt 2 root 1024 Apr 24 09:37 ./
[09:45:35].sunbode2.atbode63_sci% mkfifo sun2fifo
mkfifo: Invalid argument

btw.:

we have here a heterogenous net with a lot of host running
aix/irix/sunos/solaris/hpux
and under all these commercial unices the scenario:

host_a: nfs server (os a)
host_b: nfs client (os b)

and making fifo on host_b in directory from host_a everything works
flawlessly

klaus tilk

---
Klaus Tilk                       | phone: +49-89-289-28257
Technische Universitaet Muenchen | fax  : +49-89-289-28232
Institut fuer Informatik                 |
Arcisstrasse 21                              | email:
80290 Muenchen Germany           | tilk@informatik.tu-muenchen.de

----- End of forwarded message from Klaus Tilk -----

-- 
Debian GNU/Linux 1.3 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu