add NFSv4 support

Bug #27425 reported by Timo Aaltonen
22
Affects Status Importance Assigned to Milestone
util-linux (Debian)
Fix Released
Unknown
util-linux (Ubuntu)
Fix Released
Medium
LaMont Jones

Bug Description

mount lacks NFSv4 support, patches for it are here:

http://www.citi.umich.edu/projects/nfsv4/linux/util-linux-patches/2.12-3/

NFSv4 is becoming actually useful, so having it in dapper would be very
important. Rest of the tools that are needed support it already.

Revision history for this message
In , Adrian Bunk (bunk) wrote : this is the same issue

severity 302420 wishlist
merge 302420 236435
thanks

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

mount lacks NFSv4 support, patches for it are here:

http://www.citi.umich.edu/projects/nfsv4/linux/util-linux-patches/2.12-3/

NFSv4 is becoming actually useful, so having it in dapper would be very
important. Rest of the tools that are needed support it already.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

duh, so there is was already this bug from debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=302420

but didn't notice that the maintainer is the same ;) Still, how about applying
this now, still plenty of time before dapper?

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 5 Aug 2005 15:42:16 +0200
From: Adrian Bunk <email address hidden>
To: <email address hidden>
Subject: this is the same issue

severity 302420 wishlist
merge 302420 236435
thanks

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

does this mean that NFSv4-support is not coming before upstream? That would be
very bad because debian/ubuntu is/are the only major distros not supporting
NFSv4 on userland. I'll attach patches that were synced for util-linux_2.12r-2.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Created an attachment (id=5542)
first patch

first patch of the CITI_NFS4_ALL-3 -patch-set, synced for 2.12p-6ubuntu5 by
Gerald Hochegger <email address hidden>, applies and compiles with 2.12r-2 as
well.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Created an attachment (id=5543)
second patch

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Created an attachment (id=5544)
third patch

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Created an attachment (id=5545)
fourth patch

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Created an attachment (id=5546)
fifth patch

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Created an attachment (id=5547)
sixth patch

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Created an attachment (id=5548)
seventh and last patch

Revision history for this message
In , LaMont Jones (lamont) wrote : Fixed in upload of util-linux 2.12r-5.1nfs4 to experimental

tag 302420 + fixed-in-experimental

quit

This message was generated automatically in response to an
upload to the experimental distribution. The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 18 Jan 2006 12:53:49 -0700
Source: util-linux
Binary: util-linux cfdisk-udeb fdisk-udeb util-linux-locales bsdutils mount
Architecture: all i386 source
Version: 2.12r-5.1nfs4
Distribution: experimental
Urgency: low
Maintainer: LaMont Jones <email address hidden>
Changed-By: LaMont Jones <email address hidden>
Description:
 bsdutils - Basic utilities from 4.4BSD-Lite
 cfdisk-udeb - Partition a hard drive (cfdisk)
 fdisk-udeb - Partition a hard drive (manual)
 mount - Tools for mounting and manipulating filesystems
 util-linux - Miscellaneous system utilities
 util-linux-locales - Locales files for util-linux
Closes: 302420
Changes:
 util-linux (2.12r-5.1nfs4) experimental; urgency=low
 .
   * Add nfsv4 patch. Closes: #302420
Files:
 09acf63bcef64533f8367854ce85378c 99321 base required util-linux_2.12r-5.1nfs4.diff.gz
 27edfd834b4066fb588f9b8389ac3a75 1083832 utils optional util-linux-locales_2.12r-5.1nfs4_all.deb
 477b5790358e9e6164e1d5fbb923e039 152478 admin required mount_2.12r-5.1nfs4_i386.deb
 652b0ef07888bcfe25291b99f6eb99fc 67296 utils required bsdutils_2.12r-5.1nfs4_i386.deb
 aec7209e362ae4febb374065eeb6a404 725 base required util-linux_2.12r-5.1nfs4.dsc
 ce213a6f2bc5abd440e06a3372fce364 370636 utils required util-linux_2.12r-5.1nfs4_i386.deb
 e9df545dd3cf3ff814153dbdbf812289 59096 debian-installer extra fdisk-udeb_2.12r-5.1nfs4_i386.udeb
 f2f3146cfd6198b30da94a3b93591cd8 483452 debian-installer extra cfdisk-udeb_2.12r-5.1nfs4_i386.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDzqh5zN/kmwoKyScRAlN3AKCQgurqsj+BAORYys22EByyWyuxtwCfdva+
YfRXZCjKb7JD/OB1c0Ukwi4=
=2DDQ
-----END PGP SIGNATURE-----

Revision history for this message
LaMont Jones (lamont) wrote :

util-linux_2.12r-7 was uploaded to sid with this fix. Once it's there, I'll request the sync to dapper.

Changed in util-linux:
assignee: nobody → lamont
status: Unconfirmed → Fix Committed
Revision history for this message
LaMont Jones (lamont) wrote :

Fixed in 2.12r-7

Changed in util-linux:
assignee: debzilla → lamont
status: Unconfirmed → Fix Committed
Revision history for this message
In , LaMont Jones (lamont) wrote : Bug#302420: fixed in util-linux 2.12r-7

Source: util-linux
Source-Version: 2.12r-7

We believe that the bug you reported is fixed in the latest version of
util-linux, which is due to be installed in the Debian FTP archive:

bsdutils_2.12r-7_i386.deb
  to pool/main/u/util-linux/bsdutils_2.12r-7_i386.deb
cfdisk-udeb_2.12r-7_i386.udeb
  to pool/main/u/util-linux/cfdisk-udeb_2.12r-7_i386.udeb
fdisk-udeb_2.12r-7_i386.udeb
  to pool/main/u/util-linux/fdisk-udeb_2.12r-7_i386.udeb
mount_2.12r-7_i386.deb
  to pool/main/u/util-linux/mount_2.12r-7_i386.deb
util-linux-locales_2.12r-7_all.deb
  to pool/main/u/util-linux/util-linux-locales_2.12r-7_all.deb
util-linux_2.12r-7.diff.gz
  to pool/main/u/util-linux/util-linux_2.12r-7.diff.gz
util-linux_2.12r-7.dsc
  to pool/main/u/util-linux/util-linux_2.12r-7.dsc
util-linux_2.12r-7_i386.deb
  to pool/main/u/util-linux/util-linux_2.12r-7_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
LaMont Jones <email address hidden> (supplier of updated util-linux package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 21 Feb 2006 11:01:21 -0700
Source: util-linux
Binary: util-linux cfdisk-udeb fdisk-udeb util-linux-locales bsdutils mount
Architecture: all i386 source
Version: 2.12r-7
Distribution: unstable
Urgency: low
Maintainer: LaMont Jones <email address hidden>
Changed-By: LaMont Jones <email address hidden>
Description:
 bsdutils - Basic utilities from 4.4BSD-Lite
 cfdisk-udeb - Partition a hard drive (cfdisk)
 fdisk-udeb - Partition a hard drive (manual)
 mount - Tools for mounting and manipulating filesystems
 util-linux - Miscellaneous system utilities
 util-linux-locales - Locales files for util-linux
Closes: 239031 302420
Changes:
 util-linux (2.12r-7) unstable; urgency=low
 .
   * Add nfsv4 patch. Closes: #302420, #239031
Files:
 06249d1e721c1204e53f7a79906c530d 67352 utils required bsdutils_2.12r-7_i386.deb
 2af72c920b24a509f8a44e310d5e4341 152556 admin required mount_2.12r-7_i386.deb
 7f2a4ce6b04a063b140c7e9b4cc2b524 483512 debian-installer extra cfdisk-udeb_2.12r-7_i386.udeb
 93aa314c1d1f4bff9d46d9492438cbb2 370716 utils required util-linux_2.12r-7_i386.deb
 9cf03eeef01a8aec2782ba59353ff798 1083886 utils optional util-linux-locales_2.12r-7_all.deb
 023411b11ba83aef1815337403dfae9d 713 base required util-linux_2.12r-7.dsc
 b92001f092652b965c19d4a058878290 99339 base required util-linux_2.12r-7.diff.gz
 baa601f90f4a82f56084c6eec58bb3fd 59154 debian-installer extra fdisk-udeb_2.12r-7_i386.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFD+2YQzN/kmwoKyScRAt/1AJ9hFP9f4j+Rk/Ju7/sENxPzq5o61ACcCthG
X329/2J2Q9Au8HWs472yb/Q=
=lDDW
-----END PGP SIGNATURE-----

Revision history for this message
In , Sam Morris (yrro) wrote : reopening 302420

# Automatically generated email from bts, devscripts version 2.9.16
reopen 302420

Revision history for this message
In , LaMont Jones (lamont) wrote : Fixed in upload of util-linux 2.12r-8.2nfs4 to experimental

tag 239031 + fixed-in-experimental
tag 302420 + fixed-in-experimental

quit

This message was generated automatically in response to an
upload to the experimental distribution. The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 28 Apr 2006 11:04:39 -0600
Source: util-linux
Binary: util-linux cfdisk-udeb fdisk-udeb util-linux-locales bsdutils mount
Architecture: all i386 source
Version: 2.12r-8.2nfs4
Distribution: experimental
Urgency: low
Maintainer: LaMont Jones <email address hidden>
Changed-By: LaMont Jones <email address hidden>
Description:
 bsdutils - Basic utilities from 4.4BSD-Lite
 cfdisk-udeb - Partition a hard drive (cfdisk)
 fdisk-udeb - Partition a hard drive (manual)
 mount - Tools for mounting and manipulating filesystems
 util-linux - Miscellaneous system utilities
 util-linux-locales - Locales files for util-linux
Closes: 239031 302420
Changes:
 util-linux (2.12r-8.2nfs4) experimental; urgency=low
 .
   * Turn on fixed nfsv4 patch. Closes: #302420, #239031
     Thanks to Steinar H. Gunderson <email address hidden>
Files:
 3c1332fe187ca49ff90ffe35d9bc599a 483526 debian-installer extra cfdisk-udeb_2.12r-8.2nfs4_i386.udeb
 5775da9cf453a193dd3f97aa2b0f2beb 370724 utils required util-linux_2.12r-8.2nfs4_i386.deb
 5f63326c5f666216b45bde045dfbceca 99514 base required util-linux_2.12r-8.2nfs4.diff.gz
 7b75934a2bb44e24fd778cbd62a57008 727 base required util-linux_2.12r-8.2nfs4.dsc
 989d0c30499f57075c3fb1d754eddc2a 67556 utils required bsdutils_2.12r-8.2nfs4_i386.deb
 ddbf376197bd399d5ffc28141498ccef 152848 admin required mount_2.12r-8.2nfs4_i386.deb
 dfc96c34390d8683de80c14ccaf22c23 1084130 utils optional util-linux-locales_2.12r-8.2nfs4_all.deb
 fc4a91e5fde77334f621360c47a3e7dc 59008 debian-installer extra fdisk-udeb_2.12r-8.2nfs4_i386.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEUkyEzN/kmwoKyScRAofSAJ4nUASSEp0GYmDSuWjDPlUQYLVpnACeP3Mr
EVPptCIndDd5xLgyQctu66o=
=cQCJ
-----END PGP SIGNATURE-----

Revision history for this message
Laurent Bigonville (bigon) wrote :

What the status of this bug? I still get "wrong fs type" when I try to mount an nfs4 export...

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

there was a problem with those patches, they broke nfs-user-server, but now there is version -8.2 in debian experimental which has a fix for the breakage. Hopefully that is good enough so this can get in for dapper.

Revision history for this message
In , LaMont Jones (lamont) wrote : Bug#302420: fixed in util-linux 2.12r-9
Download full text (3.2 KiB)

Source: util-linux
Source-Version: 2.12r-9

We believe that the bug you reported is fixed in the latest version of
util-linux, which is due to be installed in the Debian FTP archive:

bsdutils_2.12r-9_i386.deb
  to pool/main/u/util-linux/bsdutils_2.12r-9_i386.deb
cfdisk-udeb_2.12r-9_i386.udeb
  to pool/main/u/util-linux/cfdisk-udeb_2.12r-9_i386.udeb
fdisk-udeb_2.12r-9_i386.udeb
  to pool/main/u/util-linux/fdisk-udeb_2.12r-9_i386.udeb
mount_2.12r-9_i386.deb
  to pool/main/u/util-linux/mount_2.12r-9_i386.deb
util-linux-locales_2.12r-9_all.deb
  to pool/main/u/util-linux/util-linux-locales_2.12r-9_all.deb
util-linux_2.12r-9.diff.gz
  to pool/main/u/util-linux/util-linux_2.12r-9.diff.gz
util-linux_2.12r-9.dsc
  to pool/main/u/util-linux/util-linux_2.12r-9.dsc
util-linux_2.12r-9_i386.deb
  to pool/main/u/util-linux/util-linux_2.12r-9_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
LaMont Jones <email address hidden> (supplier of updated util-linux package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 6 May 2006 21:53:12 -0600
Source: util-linux
Binary: util-linux cfdisk-udeb fdisk-udeb util-linux-locales bsdutils mount
Architecture: all i386 source
Version: 2.12r-9
Distribution: unstable
Urgency: low
Maintainer: LaMont Jones <email address hidden>
Changed-By: LaMont Jones <email address hidden>
Description:
 bsdutils - Basic utilities from 4.4BSD-Lite
 cfdisk-udeb - Partition a hard drive (cfdisk)
 fdisk-udeb - Partition a hard drive (manual)
 mount - Tools for mounting and manipulating filesystems
 util-linux - Miscellaneous system utilities
 util-linux-locales - Locales files for util-linux
Closes: 239031 290873 302420 354960 360352
Changes:
 util-linux (2.12r-9) unstable; urgency=low
 .
   * Release NFSv4 support. Closes: #302420, #239031, #290873
   * Deliver isosize. Closes: #354960
   * Fix udeb dependencies. Closes: #360352
Files:
 31185befe0ffed982ce83772289248c2 67626 utils required bsdutils_2.12r-9_i386.deb
 572cc93f3bd216c355dcc42d59c26ef0 59006 debian-installer extra fdisk-udeb_2.12r-9_i386.udeb
 a0edfc22d879c1e0bb8eefe8383734fe 152918 admin required mount_2.12r-9_i386.deb
 d153142fd9d8ec6f840ee265f5c692f5 483516 debian-installer extra cfdisk-udeb_2.12r-9_i386.udeb
 d803597c9fe81352cfeb6d925d4ba946 1084302 utils optional util-linux-locales_2.12r-9_all.deb
 e377ac45f1479c08583bc182dabc6747 99615 base required util-linux_2.12r-9.diff.gz
 ea173ae14c93e000e360a713e800870d 737 base required util-linux_2.12r-9.dsc
 f7e5424c56ffcc9ea66d2c01e20ca756 373584 utils required util-linux_2.12r-9_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEXXFJzN/kmwoKyScRAjl6AJ97cjXikgwYlLEjsbymJzO3s13A/gCfYgdj
d/11L82AEA2Z/oWFCgzs3...

Read more...

Revision history for this message
LaMont Jones (lamont) wrote :

Fixed in 2.12r-4ubuntu5

Changed in util-linux:
status: Fix Committed → Fix Released
Revision history for this message
Léa GRIS (lea-gris) wrote :

Sorry, Not fixed in utill-linux_2.12r-4ubuntu5
mount -t nfs4 still fail looking for /sbin/mount.nfs4

Revision history for this message
Laurent Bigonville (bigon) wrote :

it's working for me with the last version

Revision history for this message
Frank Fischer (fischer01) wrote :

Laurent, can you be so kind and state your version of util-linux and mount. It's not working for me either.

Revision history for this message
Laurent Bigonville (bigon) wrote :

client: ubuntu dapper (nfs-common: 1.0.7-3ubuntu2, util-linux: 2.12r-4ubuntu6)
server: debian etch (nfs-common: 1.0.7-17)

Revision history for this message
AleksanderAdamowski (aadamowski) wrote :

That's strange, I have the very same versions, yet mount still tries to find mount.nfs4 and fails:

olo@laptopola:~$ dpkg -l nfs-common
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii nfs-common 1.0.7-3ubuntu2 NFS support files common to client and serve
olo@laptopola:~$ dpkg -l util-linux
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii util-linux 2.12r-4ubuntu6 Miscellaneous system utilities

root@laptopola:~# strace mount -t nfs4 -o sec=krb5,proto=tcp,port=2049 servername:/home/nfs/ /nfs/

.....

lstat64("/etc/mtab", {st_mode=S_IFREG|0644, st_size=484, ...}) = 0
stat64("/sbin/mount.nfs4", 0xbfc6d4c4) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_BLOCK, ~[TRAP SEGV RTMIN RT_1], NULL, 8) = 0
mount("servername:/home/nfs/", "/nfs/", "nfs4", MS_POSIXACL|MS_ACTIVE|MS_NOUSER|0xec0000, 0x807bb20) = -1 EINVAL (Invalid argument)
rt_sigprocmask(SIG_UNBLOCK, ~[TRAP SEGV RTMIN RT_1], NULL, 8) = 0

Revision history for this message
AleksanderAdamowski (aadamowski) wrote :

Oh, and the error I get from mount isn't very helpful:

-----------------
mount: wrong fs type, bad option, bad superblock on stacja.amarczuk:/home/nfs/,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail or so
-----------------

No syslog messages are generated in fact.

Revision history for this message
AleksanderAdamowski (aadamowski) wrote :

OK, I had an old version of mount because of the package loop-aes-utils that I've installed some time ago to mount an old filesystem encrypted with loop-AES and migrate it to LUKS.

Now I've removed that package and restored the original mount.

It shows the following version:

# mount -V
mount: mount-2.12r

However, it still fails. Additionally, it tells me that gssd is not running (although it is, but mount looks for the pidfile in the wrong file):

-------------
# mount -t nfs4 -o sec=krb5,proto=tcp,port=2049 servername:/home/nfs/ /nfs/
Warning: rpc.gssd appears not to be running.
mount: wrong fs type, bad option, bad superblock on servername:/home/nfs/,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail or so
-------------

-------------
# strace mount -t nfs4 -o sec=krb5,proto=tcp,port=2049 servername:/home/nfs/ /nfs/

......

access("/var/run/rpc.idmapd.pid", F_OK) = 0
access("/var/run/rpc.gssd", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/pl_PL/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/pl/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/pl_PL/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/pl/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_GB/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en_GB/LC_MESSAGES/util-linux.mo", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=193919, ...}) = 0
mmap2(NULL, 193919, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7c6e000
close(3) = 0
open("/usr/share/locale-langpack/en/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f14000
write(1, "Warning: rpc.gssd appears not to"..., 45Warning: rpc.gssd appears not to be running.
) = 45
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
bind(3, {sa_family=AF_INET, sin_port=htons(929), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
connect(3, {sa_family=AF_INET, sin_port=htons(2049), sin_addr=inet_addr("192.168.1.1")}, 16) = 0
gettimeofday({1173993083, 563383}, NULL) = 0
write(3, "\200\0\0(V\303\313\334\0\0\0\0\0\0\0\2\0\1\206\243\0\0"..., 44) = 44
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 20000) = 1
read(3, "\200\0\0\30V\303\313\334\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 400) = 28
close(3) = 0
close(3) = -1 EBADF (Bad file descriptor)
mount("servername:/home/nfs/", "/nfs/", "nfs4", MS_POSIXACL|MS_ACTIVE|MS_NOUSER|0xec0000, 0x805c640) = -1 EINVAL (Invalid argument)
rt_sigprocmask(SIG_UNBLOCK, ~[TRAP SEGV RTMIN RT_1], NULL, 8) = 0

-------------

Revision history for this message
AleksanderAdamowski (aadamowski) wrote :

Mount looks for /var/run/rpc.gssd, while the real pidfile is /var/run/rpc.gssd.pid on Dapper.

Revision history for this message
AleksanderAdamowski (aadamowski) wrote :

Regarding the search for mount.nfs4 - mount does this, but it appears earlier in the strace, so it's not visible above.

Here's the relevant strace fragment:

....
lstat64("/etc/mtab", {st_mode=S_IFREG|0644, st_size=484, ...}) = 0
stat64("/sbin/mount.nfs4", 0xbf81582c) = -1 ENOENT (No such file or directory)
gettimeofday({1173993365, 294378}, NULL) = 0
getpid() = 6800
open("/etc/resolv.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=149, ...}) = 0
....

Revision history for this message
AleksanderAdamowski (aadamowski) wrote :

The most suspicious behaviour of mount is the double attempt at closing the TCP socket it has opened to the NFS server. Notice this fragment in the strace:

---
connect(3, {sa_family=AF_INET, sin_port=htons(2049), sin_addr=inet_addr("192.168.1.1")}, 16) = 0
gettimeofday({1173993083, 563383}, NULL) = 0
write(3, "\200\0\0(V\303\313\334\0\0\0\0\0\0\0\2\0\1\206\243\0\0"..., 44) = 44
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 20000) = 1
read(3, "\200\0\0\30V\303\313\334\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 400) = 28
close(3) = 0
close(3) = -1 EBADF (Bad file descriptor)
---

This is clearly wrong.

Revision history for this message
AleksanderAdamowski (aadamowski) wrote :

OK, sorry for the spam, I forgot to modprobe rpcsec_gss_krb5 kernel module on the client.

All the described problems were harmless.
The incorrect warning about rpc.gssd not running was fixed in Edgy, but it doesn't cause any problems.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.