Debian Bug report logs - #503310
mount.nfs: np-1b:/vol/dev_src failed, security flavor not supported

version graph

Package: nfs-common; Maintainer for nfs-common is Debian kernel team <debian-kernel@lists.debian.org>; Source for nfs-common is src:nfs-utils.

Reported by: Mathieu Malaterre <malat@debian.org>

Date: Fri, 24 Oct 2008 15:45:04 UTC

Severity: normal

Found in version nfs-utils/1:1.1.2-6

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#503310; Package nfs-common. (Fri, 24 Oct 2008 15:45:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mathieu Malaterre <mathieu.malaterre@gmail.com>:
New Bug report received and forwarded. Copy sent to Anibal Monsalve Salazar <anibal@debian.org>. (Fri, 24 Oct 2008 15:45:07 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Mathieu Malaterre <mathieu.malaterre@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: mount.nfs: np-1b:/vol/dev_src failed, security flavor not supported
Date: Fri, 24 Oct 2008 17:42:41 +0200
Package: nfs-common
Version: 1:1.1.2-6
Severity: normal


I cannot access our netapp system from a debian stable, while I can from a kubuntu system

>From the debian system:

$ sudo mount  -t nfs -o sec=sys np-1b:/vol/dev_src /mnt/dev_src
mount.nfs: np-1b:/vol/dev_src failed, security flavor not supported

now without the sec=sys option:

$ sudo mount  -t nfs  np-1b:/vol/dev_src /mnt/dev_src
$ find /mnt/dev_src
/mnt/dev_src
find: /mnt/dev_src: Permission denied

I have to explicitely says to use nfsvers=2:

$ sudo mount  -t nfs -o sec=sys,nfsvers=2 np-1b:/vol/dev_src /mnt/dev_src

this create a couple of annoying side effect:

$ touch /mnt/dev_src/mmalaterre/hello
touch: setting times of `/mnt/dev_src/mmalaterre/hello': Permission denied


Everything goes smoothly from the ubuntu system:

$ cat /proc/mounts
...
np-1b:/vol/dev_src /mnt/dev_src nfs rw,noatime,relatime,vers=3,rsize=65536,wsize=65536,hard,nointr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=10.4.2.81 0 0


Major/Minor version of nfs-common are identical (ref bugs #492970)

On ubuntu:
$ apt-cache show nfs-common
Package: nfs-common
Priority: optional
Section: net
Installed-Size: 556
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Anibal Monsalve Salazar <anibal@debian.org>
Architecture: amd64
Source: nfs-utils
Version: 1:1.1.2-2ubuntu2.1
...

Thank you !

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable'), (50, 'testing'), (40, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages nfs-common depends on:
ii  add 3.102                                Add and remove users and groups
ii  ini 2.86.ds1-47~bpo40+1                  Scripts for initializing and shutt
ii  lib 2.7-10                               GNU C Library: Shared libraries
ii  lib 1.39+1.40-WIP-2006.11.14+dfsg-2etch1 common error description library
ii  lib 1.3e-3                               An asynchronous event notification
ii  lib 0.1-2                                mechanism-switch gssapi library
ii  lib 1.6.dfsg.4~beta1-4                   MIT Kerberos runtime libraries
ii  lib 0.18-0                               An nfs idmapping library
ii  lib 0.14-2etch3                          allows secure rpc communication us
ii  lib 7.6.dbs-13                           Wietse Venema's TCP wrappers libra
ii  lsb 3.1-23.2etch1                        Linux Standard Base 3.1 init scrip
ii  net 4.29                                 Basic TCP/IP networking system
ii  por 5-26                                 The RPC portmapper
ii  ucf 2.0020                               Update Configuration File: preserv

nfs-common recommends no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#503310; Package nfs-common. (Fri, 07 Nov 2008 14:21:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Steinar H. Gunderson" <sgunderson@bigfoot.com>:
Extra info received and forwarded to list. Copy sent to Anibal Monsalve Salazar <anibal@debian.org>. (Fri, 07 Nov 2008 14:21:06 GMT) Full text and rfc822 format available.

Message #10 received at 503310@bugs.debian.org (full text, mbox):

From: "Steinar H. Gunderson" <sgunderson@bigfoot.com>
To: Mathieu Malaterre <mathieu.malaterre@gmail.com>, 503310@bugs.debian.org
Subject: Re: Bug#503310: mount.nfs: np-1b:/vol/dev_src failed, security flavor not supported
Date: Fri, 7 Nov 2008 15:18:50 +0100
On Fri, Oct 24, 2008 at 05:42:41PM +0200, Mathieu Malaterre wrote:
> I cannot access our netapp system from a debian stable, while I can from a kubuntu system

Hi,

Can you try again with the mount from nfs-common 1.1.4-1?

/* Steinar */
-- 
Homepage: http://www.sesse.net/




Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#503310; Package nfs-common. (Fri, 11 Jun 2010 12:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tomas Benedykt <tomas.benedykt@centrumholdings.com>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>. (Fri, 11 Jun 2010 12:57:02 GMT) Full text and rfc822 format available.

Message #15 received at 503310@bugs.debian.org (full text, mbox):

From: Tomas Benedykt <tomas.benedykt@centrumholdings.com>
To: <503310@bugs.debian.org>
Subject: mount.nfs x netapp
Date: Fri, 11 Jun 2010 14:50:49 +0200
[Message part 1 (text/plain, inline)]
hi all,

we have a similar problem with debian and netapp, when we try to use
netapp vol with 'all_squash' behaviour

netapp vol nfs export options:
...,anon=8000,sec=none,rw,...

on debian-stable (lenny), using the latest available nfs-common
(1:1.1.2-6lenny1) there is no way to mount netapp vol with this config.

we also tested the latest unstable nfs-utils pkg (1:1.2.2-1), but
doesn't help.

finally we tried to use mount.nfs binary from RHEL-5 (very dirty way),
the mount was successfull and everything looks good.

according this, we found bug/patch in RHEL bugzilla
-patch: https://bugzilla.redhat.com/attachment.cgi?id=138345
-diff: https://bugzilla.redhat.com/attachment.cgi?id=138345&action=diff
-bug: https://bugzilla.redhat.com/show_bug.cgi?id=187370

applying the patch on debian src pkg we got correct/working version of
nfs-common

please, could you investigate this RH patch and if possible apply it in
the future releases of nfs-common?

thank you very much

regards
Tomas Benedykt

-- 

Ing. Tomáš Benedykt

senior linux administrator

E-mail: tomas.benedykt@centrumholdings.com
Tel.: (+420) 739 500 840

Centrum Holdings  |  Classic 7, Jankovcova 1037/49, 170 00 Praha 7
www.centrumholdings.com

Aktualne.cz  |  Atlas.cz  |  Centrum.cz  |  ICQ  |  Zena.cz

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#503310; Package nfs-common. (Sat, 12 Jun 2010 01:27:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Hutchings <ben@decadent.org.uk>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>. (Sat, 12 Jun 2010 01:27:03 GMT) Full text and rfc822 format available.

Message #20 received at 503310@bugs.debian.org (full text, mbox):

From: Ben Hutchings <ben@decadent.org.uk>
To: Tomas Benedykt <tomas.benedykt@centrumholdings.com>, 503310@bugs.debian.org
Subject: Re: Bug#503310: mount.nfs x netapp
Date: Sat, 12 Jun 2010 02:25:07 +0100
[Message part 1 (text/plain, inline)]
On Fri, 2010-06-11 at 14:50 +0200, Tomas Benedykt wrote:
> hi all,
> 
> we have a similar problem with debian and netapp, when we try to use
> netapp vol with 'all_squash' behaviour
> 
> netapp vol nfs export options:
> ...,anon=8000,sec=none,rw,...
> 
> on debian-stable (lenny), using the latest available nfs-common
> (1:1.1.2-6lenny1) there is no way to mount netapp vol with this config.
> 
> we also tested the latest unstable nfs-utils pkg (1:1.2.2-1), but
> doesn't help.

Have you specified sec=none in the client's mount options?

[...]
> according this, we found bug/patch in RHEL bugzilla
> -patch: https://bugzilla.redhat.com/attachment.cgi?id=138345
> -diff: https://bugzilla.redhat.com/attachment.cgi?id=138345&action=diff
> -bug: https://bugzilla.redhat.com/show_bug.cgi?id=187370
[...]

That bug has already been fixed in nfs-utils, but in a different way.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

[signature.asc (application/pgp-signature, inline)]

Added tag(s) moreinfo. Request was from Ben Hutchings <ben@decadent.org.uk> to control@bugs.debian.org. (Sat, 12 Jun 2010 01:27:04 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#503310; Package nfs-common. (Mon, 14 Jun 2010 11:03:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tomas Benedykt <tomas.benedykt@centrumholdings.com>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>. (Mon, 14 Jun 2010 11:03:05 GMT) Full text and rfc822 format available.

Message #27 received at 503310@bugs.debian.org (full text, mbox):

From: Tomas Benedykt <tomas.benedykt@centrumholdings.com>
To: Ben Hutchings <ben@decadent.org.uk>
Cc: <503310@bugs.debian.org>
Subject: Re: Bug#503310: mount.nfs x netapp
Date: Mon, 14 Jun 2010 12:59:05 +0200
[Message part 1 (text/plain, inline)]

Dne 12.6.2010 03:25, Ben Hutchings napsal(a):
> On Fri, 2010-06-11 at 14:50 +0200, Tomas Benedykt wrote:
>> hi all,
>>
>> we have a similar problem with debian and netapp, when we try to use
>> netapp vol with 'all_squash' behaviour
>>
>> netapp vol nfs export options:
>> ...,anon=8000,sec=none,rw,...
>>
>> on debian-stable (lenny), using the latest available nfs-common
>> (1:1.1.2-6lenny1) there is no way to mount netapp vol with this config.
>>
>> we also tested the latest unstable nfs-utils pkg (1:1.2.2-1), but
>> doesn't help.
> 
> Have you specified sec=none in the client's mount options?
> 
> [...]

I hope, the following commands will better explain the behaviour of
debian | rhel mount.nfs versus netapp with sec=none option.



netapp export:
--------------
netapp> exportfs
/vol/test1      -sec=none,rw,anon=1006


RHEL binary:
------------
nfs-cl:/mnt# /root/tb/mount.nfs.rhel filer1:/vol/test1 /mnt/tb/

nfs-cl:/mnt# ls -la tb
total 8
drwxr-xr-x 3 1006 1006 4096 Jun 14 11:43 .
drwxr-xr-x 7 root root   59 May 27 18:58 ..
drwxrwxrwx 2 root root 4096 Jun 14 11:21 .snapshot

nfs-cl:/mnt# id
uid=0(root) gid=0(root) groups=0(root)

nfs-cl:/mnt# touch /mnt/tb/aaa

nfs-cl:/mnt# ls -la tb
total 8
drwxr-xr-x 3 1006 1006 4096 Jun 14 11:48 .
drwxr-xr-x 7 root root   59 May 27 18:58 ..
drwxrwxrwx 2 root root 4096 Jun 14 11:21 .snapshot
-rw-r--r-- 1 1006 1006    0 Jun 14 11:48 aaa

nfs-cl:/mnt# su -  www-data
www-data@nfs-cl:/$ id
uid=33(www-data) gid=33(www-data) groups=33(www-data)

www-data@nfs-cl:/$ touch /mnt/tb/www

www-data@nfs-cl:/$ ls -la /mnt/tb/
total 8
drwxr-xr-x 3 1006 1006 4096 Jun 14 11:49 .
drwxr-xr-x 7 root root   59 May 27 18:58 ..
drwxrwxrwx 2 root root 4096 Jun 14 11:21 .snapshot
-rw-r--r-- 1 1006 1006    0 Jun 14 11:48 aaa
-rw-r--r-- 1 1006 1006    0 Jun 14 11:49 www

www-data@nfs-cl:/$ mv /mnt/tb/aaa /mnt/tb/aaa.rhel
www-data@nfs-cl:/$ mv /mnt/tb/www /mnt/tb/www.rhel

www-data@nfs-cl:/$ ls -al /mnt/tb
total 8
drwxr-xr-x 3 1006 1006 4096 Jun 14 11:49 .
drwxr-xr-x 7 root root   59 May 27 18:58 ..
drwxrwxrwx 2 root root 4096 Jun 14 11:21 .snapshot
-rw-r--r-- 1 1006 1006    0 Jun 14 11:48 aaa.rhel
-rw-r--r-- 1 1006 1006    0 Jun 14 11:49 www.rhel

nfs-cl:/mnt# umount tb



DEBIAN-MOUNT.NFS (default)
--------------------------

nfs-cl:/mnt# mount filer1:/vol/test1 /mnt/tb/

nfs-cl:/mnt# df -h
Filesystem            Size  Used Avail Use% Mounted on
filer1:/vol/test1
                         -     -     -   -  /mnt/tb

nfs-cl:/mnt# touch /mnt/tb/aaa
touch: cannot touch `/mnt/tb/aaa': Permission denied

nfs-cl:/mnt# id
uid=0(root) gid=0(root) groups=0(root)

nfs-cl:/mnt# umount tb



DEBIAN-MOUNT.NFS (-o sec=sys)
-----------------------------

nfs-cl:/mnt# mount filer1:/vol/test1 /mnt/tb/ -o sec=sys
mount.nfs: filer1:/vol/test1 failed, security flavor not supported

nfs-cl:/mnt# df -h
Filesystem            Size  Used Avail Use% Mounted on
<-not-mounted->



DEBIAN-MOUNT.NFS (-o sec=none)
------------------------------

nfs-cl:/mnt# mount filer1:/vol/test1 /mnt/tb/ -o sec=none
nfs-cl:/mnt# df -h
Filesystem            Size  Used Avail Use% Mounted on
filer1:/vol/test1
                         -     -     -   -  /mnt/tb


>> according this, we found bug/patch in RHEL bugzilla
>> -patch: https://bugzilla.redhat.com/attachment.cgi?id=138345
>> -diff: https://bugzilla.redhat.com/attachment.cgi?id=138345&action=diff
>> -bug: https://bugzilla.redhat.com/show_bug.cgi?id=187370
> [...]
> 
> That bug has already been fixed in nfs-utils, but in a different way.
> 
> Ben.
> 

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#503310; Package nfs-common. (Tue, 15 Jun 2010 01:09:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Hutchings <ben@decadent.org.uk>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>. (Tue, 15 Jun 2010 01:09:03 GMT) Full text and rfc822 format available.

Message #32 received at 503310@bugs.debian.org (full text, mbox):

From: Ben Hutchings <ben@decadent.org.uk>
To: Tomas Benedykt <tomas.benedykt@centrumholdings.com>
Cc: 503310@bugs.debian.org
Subject: Re: Bug#503310: mount.nfs x netapp
Date: Tue, 15 Jun 2010 02:01:04 +0100
[Message part 1 (text/plain, inline)]
On Mon, 2010-06-14 at 12:59 +0200, Tomas Benedykt wrote:
> 
> Dne 12.6.2010 03:25, Ben Hutchings napsal(a):
> > On Fri, 2010-06-11 at 14:50 +0200, Tomas Benedykt wrote:
> >> hi all,
> >>
> >> we have a similar problem with debian and netapp, when we try to use
> >> netapp vol with 'all_squash' behaviour
> >>
> >> netapp vol nfs export options:
> >> ...,anon=8000,sec=none,rw,...
> >>
> >> on debian-stable (lenny), using the latest available nfs-common
> >> (1:1.1.2-6lenny1) there is no way to mount netapp vol with this config.
> >>
> >> we also tested the latest unstable nfs-utils pkg (1:1.2.2-1), but
> >> doesn't help.
> > 
> > Have you specified sec=none in the client's mount options?
> > 
> > [...]
> 
> I hope, the following commands will better explain the behaviour of
> debian | rhel mount.nfs versus netapp with sec=none option.
[...]
> DEBIAN-MOUNT.NFS (-o sec=none)
> ------------------------------
> 
> nfs-cl:/mnt# mount filer1:/vol/test1 /mnt/tb/ -o sec=none
> nfs-cl:/mnt# df -h
> Filesystem            Size  Used Avail Use% Mounted on
> filer1:/vol/test1
>                          -     -     -   -  /mnt/tb

So at this point are you unable to access files under /mnt/tb?

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#503310; Package nfs-common. (Wed, 16 Jun 2010 07:12:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tomas Benedykt <tomas.benedykt@centrumholdings.com>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>. (Wed, 16 Jun 2010 07:12:07 GMT) Full text and rfc822 format available.

Message #37 received at 503310@bugs.debian.org (full text, mbox):

From: Tomas Benedykt <tomas.benedykt@centrumholdings.com>
To: Ben Hutchings <ben@decadent.org.uk>
Cc: <503310@bugs.debian.org>
Subject: Re: Bug#503310: mount.nfs x netapp
Date: Wed, 16 Jun 2010 09:09:25 +0200
[Message part 1 (text/plain, inline)]

Dne 15.6.2010 03:01, Ben Hutchings napsal(a):
> On Mon, 2010-06-14 at 12:59 +0200, Tomas Benedykt wrote:
>>
>> Dne 12.6.2010 03:25, Ben Hutchings napsal(a):
>>> On Fri, 2010-06-11 at 14:50 +0200, Tomas Benedykt wrote:
>>>> hi all,
>>>>
>>>> we have a similar problem with debian and netapp, when we try to use
>>>> netapp vol with 'all_squash' behaviour
>>>>
>>>> netapp vol nfs export options:
>>>> ...,anon=8000,sec=none,rw,...
>>>>
>>>> on debian-stable (lenny), using the latest available nfs-common
>>>> (1:1.1.2-6lenny1) there is no way to mount netapp vol with this config.
>>>>
>>>> we also tested the latest unstable nfs-utils pkg (1:1.2.2-1), but
>>>> doesn't help.
>>>
>>> Have you specified sec=none in the client's mount options?
>>>
>>> [...]
>>
>> I hope, the following commands will better explain the behaviour of
>> debian | rhel mount.nfs versus netapp with sec=none option.
> [...]
>> DEBIAN-MOUNT.NFS (-o sec=none)
>> ------------------------------
>>
>> nfs-cl:/mnt# mount filer1:/vol/test1 /mnt/tb/ -o sec=none
>> nfs-cl:/mnt# df -h
>> Filesystem            Size  Used Avail Use% Mounted on
>> filer1:/vol/test1
>>                          -     -     -   -  /mnt/tb
> 
> So at this point are you unable to access files under /mnt/tb?
> 

yes, at this point, i am unable to access mount dir.

nfs-cl:~# mount filer1:/vol/test1 /mnt/tb/ -o sec=none

nfs-cl:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
filer1:/vol/test1
                         -     -     -   -  /mnt/tb

nfs-cl:~# touch /mnt/tb/aaa
touch: cannot touch `/mnt/tb/aaa': Permission denied

nfs-cl:~# ls -la /mnt/tb/
ls: cannot open directory /mnt/tb/: Permission denied


tb.

> Ben.
> 

[signature.asc (application/pgp-signature, attachment)]

Removed tag(s) moreinfo. Request was from Ben Hutchings <ben@decadent.org.uk> to control@bugs.debian.org. (Sun, 20 Jun 2010 23:21:03 GMT) Full text and rfc822 format available.

Changed Bug submitter to 'Mathieu Malaterre <malat@debian.org>' from 'Mathieu Malaterre <mathieu.malaterre@gmail.com>' Request was from Mathieu Malaterre <malat@debian.org> to control@bugs.debian.org. (Wed, 28 Mar 2012 13:54:33 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#503310; Package nfs-common. (Wed, 26 Sep 2012 09:57:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Benjamin Dupuis <poil@quake.fr>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>. (Wed, 26 Sep 2012 09:57:03 GMT) Full text and rfc822 format available.

Message #46 received at 503310@bugs.debian.org (full text, mbox):

From: Benjamin Dupuis <poil@quake.fr>
To: 503310@bugs.debian.org
Subject: Any news ?
Date: Wed, 26 Sep 2012 11:55:24 +0200
Hi,

Is there any news on this old bug?

Best regards,



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 04:15:35 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.