[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

server KNFS, je ne comprends vraiment pas[assez long]



Excusez moi de vous embêter avec ça mais je désespère. Je ne comprends
pas pourquoi le fichier /etc/exports ci dessous pose maintenant
problème. J'ai étudié pendant une après midi et une matinée les archives
des news. Le problème que je rencontre semble être arrivé à d'autres
mais aucune solution n'est donnée. Pour simplifier, voilà un script
résumant le pbm: la configuration est avec un nfs-kernel-server 0.3.2.1
recompilé pour potato (avec nfs-common et portmap). Le problème est
identique avec le paquet potato.

Le script, les lignes importantes sont signalées par <<<<
Script started on Thu May 17 14:02:53 2001
yoda:/home/boisson# date
jeu mai 17 14:02:55 CEST 2001
yoda:/home/boisson# cat /etc/exports
# /etc/exports: the access control list for filesystems which may be
exported
#               to NFS clients.  See exports(5).
/               solo(ro,no_root_squash,nohide)		<<<<
/home           solo(rw,no_root_squash)			<<<<
/home   *(rw)

/usr.export     *(rw)
/usr.enmodif    *(rw)
/usr.enmodif obiwan(rw,no_root_squash)
/usr.smbserveur bic(rw,no_root_squash)

/SOS.root       *(rw,no_root_squash)
/texmf.export   *(rw,no_root_squash)
/tftpboot       *(rw,no_root_squash)

/divers *(rw)
/divers         obiwan(rw,no_root_squash)
/divers/win95   *(ro)
/divers/debian/archives         *(rw,no_root_squash)

/var/spool/mail *(rw,no_root_squash)

/home/ftp       stargate(rw)

/home/halt      SOS(rw,no_root_squash)
/divers         SOS(rw,no_root_squash)
yoda:/home/boisson# ESC[Kexportfs -vr
exporting bic.rebelles:/usr/smbserveur
exporting obiwan.rebelles:/husr/usr.test
exporting SOS.rebelles:/home/halt
exporting stargate.rebelles:/home/ftp
exporting SOS.rebelles:/divers
exporting obiwan.rebelles:/divers
exporting solo.rebelles:/home				<<<<
exporting solo.rebelles:/				<<<<
exporting *:/divers/debian/archives
exporting *:/usr/texmf.exporte
exporting *:/husr/usr.export
exporting *:/var/spool/mail
exporting *:/husr/usr.test
exporting *:/divers/win95
exporting *:/tftpboot
exporting *:/SOS.root
exporting *:/divers
exporting *:/home
reexporting bic.rebelles:/usr/smbserveur to kernel
reexporting obiwan.rebelles:/husr/usr.test to kernel
reexporting SOS.rebelles:/home/halt to kernel
reexporting stargate.rebelles:/home/ftp to kernel
reexporting SOS.rebelles:/divers to kernel
exporting obiwan.rebelles:/divers to kernel
obiwan.rebelles:/divers: Invalid argument
reexporting solo.rebelles:/home to kernel		<<<<
exporting solo.rebelles:/ to kernel			<<<<
solo.rebelles:/: Invalid argument			<<<<
yoda:/home/boisson# tail -n 10 /var/log/messages
....
May 17 14:02:58 yoda telnetd[31198]: ttloop: peer died: EOF
May 17 14:03:00 yoda /USR/SBIN/CRON[31276]: (mail) CMD (runq)
yoda:/home/boisson# tail -n 10 /var/log/user.log
...(rien après 14:00)
yoda:/home/boisson# exportfs
/usr/smbserveur
                bic.rebelles
/husr/usr.test  obiwan.rebelles
/home/halt      SOS.rebelles
/home/ftp       stargate.rebelles
/divers         obiwan.rebelles
/divers         SOS.rebelles
/home           solo.rebelles
/               solo.rebelles   		<<<<---- Note
/divers/debian/archives
                *
/usr/texmf.exporte
                *
/husr/usr.export
                *
/var/spool/mail
                *
/husr/usr.test  *
/divers/win95   *
/SOS.root       *
/tftpboot       *
/divers         *
/home           *
yoda:/home/boisson# telnet solo
Trying 192.168.1.200...
Connected to solo.rebelles.
Escape character is '^]'.
[SSL - attempting to switch on SSL]
[SSL - handshake starting]
[SSL - OK]
etc...
Machine(3) rebelles.solo
Adresse 192.168.1.200
Noyau Linux 2.0.38, Lycée Charlemagne Paris
No mail.
/home/boisson
$ su
Password:
solo:/home/boisson# mount yoda:/ /mnt
mount: yoda:/ failed, reason given by server: Permission non accordée
solo:/home/boisson# exit
/home/boisson
$ logout
Connection closed by foreign host.
yoda:/home/boisson# tail -n 3 /var/log/user.log
May 17 14:04:38 yoda rpc.mountd: authenticated mount request from
192.168.1.200:846 for /
 (/)
May 17 14:04:38 yoda rpc.mountd: getfh failed: Operation not permitted
<<<<
yoda:/home/boisson# tail -n 3 /var/log/messages
...
May 17 14:04:38 yoda rpc.mountd: authenticated mount request from
192.168.1.200:846 for /
 (/)
May 17 14:04:38 yoda rpc.mountd: getfh failed: Operation not permitted
yoda:/home/boisson# dpkg -l | grep -v nfs
...
ii  libc6           2.1.2-11       GNU C Library: Shared libraries and
Timezone
...

ii  nfs-common      0.3.2-1        NFS support files common to client
and serve
ii  nfs-kernel-serv 0.3.2-1        Kernel NFS server support
rc  nfs-server      2.2beta47-4pot User space NFS server.
...
ii  portmap         5-2            The RPC portmapper
yoda:/home/boisson#
Script done on Thu May 17 14:06:11 2001


Merci de toute idée, moi je ne vois plus quoi faire.


Bon courage à tous et merci d'avoir lu ce long message

François Boisson




Reply to: