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


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

-- 
add NFSv4 support
https://launchpad.net/bugs/27425

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to