Bug#705507: nfs-common: rpc.gssd crashes when performing nfs4 mount

2013-05-12 Thread Luk Claes
On 05/11/2013 11:18 PM, Євгеній Мещеряков wrote:

Hi

 rpc.gssd now also crashes on amd64.

Does this also happen when the package nfs-kernel-server is installed?

Cheers

Luk

 Here is part of gdb log:
 
 Program received signal SIG37, Real-time event 37.
 
 Program received signal SIGSEGV, Segmentation fault.
 0x7f58a6214e95 in ?? () from /lib/x86_64-linux-gnu/libgssglue.so.1
 (gdb) bt
 #0  0x7f58a6214e95 in ?? () from /lib/x86_64-linux-gnu/libgssglue.so.1
 #1  0x7f58a6215bc5 in gss_init_sec_context () from 
 /lib/x86_64-linux-gnu/libgssglue.so.1
 #2  0x7f58a733cfbd in ?? () from /lib/x86_64-linux-gnu/libtirpc.so.1
 #3  0x7f58a733d3c7 in authgss_create () from 
 /lib/x86_64-linux-gnu/libtirpc.so.1
 #4  0x7f58a733d4dc in authgss_create_default () from 
 /lib/x86_64-linux-gnu/libtirpc.so.1
 #5  0x004050f6 in ?? ()
 #6  0x00405caa in ?? ()
 #7  0x00406969 in ?? ()
 #8  0x00404abc in ?? ()
 #9  0x00403959 in ?? ()
 #10 0x7f58a6654a55 in __libc_start_main (main=0x4036a0, argc=1, 
 ubp_av=0x7fffbe42f968, init=optimized out, fini=optimized out, 
 rtld_fini=optimized out, stack_end=0x7fffbe42f958) at libc-start.c:260
 #11 0x004039c9 in ?? ()


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/518fbd6e.8080...@zomers.be



Bug#705507: nfs-common: rpc.gssd crashes when performing nfs4 mount

2013-05-12 Thread Євгеній Мещеряков
Hi,

12 травня 2013 о 18:03 +0200 Luk Claes написав(-ла):
  rpc.gssd now also crashes on amd64.
 
 Does this also happen when the package nfs-kernel-server is installed?
Yes, rpc.gssd also crashes with nfs-kernel-server installed.

Regards,
Eugeniy Meshcheryakov


signature.asc
Description: Digital signature


Bug#705507: nfs-common: rpc.gssd crashes when performing nfs4 mount

2013-05-12 Thread Євгеній Мещеряков
notfound 705507 1:1.2.6-3
thanks

12 травня 2013 о 19:45 +0200 Євгеній Мещеряков написав(-ла):
 Hi,
 
 12 травня 2013 о 18:03 +0200 Luk Claes написав(-ла):
   rpc.gssd now also crashes on amd64.
  
  Does this also happen when the package nfs-kernel-server is installed?
 Yes, rpc.gssd also crashes with nfs-kernel-server installed.
Downgrading to the version from testing fixes the problem though.


signature.asc
Description: Digital signature


Processed: Re: Bug#705507: nfs-common: rpc.gssd crashes when performing nfs4 mount

2013-05-12 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 notfound 705507 1:1.2.6-3
Bug #705507 [nfs-common] nfs-common: rpc.gssd crashes when performing nfs4 mount
No longer marked as found in versions nfs-utils/1:1.2.6-3.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
705507: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705507
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.136838112124688.transcr...@bugs.debian.org



Bug#705507: nfs-common: rpc.gssd crashes when performing nfs4 mount

2013-05-12 Thread Євгеній Мещеряков
found 705507 1:1.2.6-3
thanks

Ah, original bug report was about this version, sorry for that. This
could be a different bug though.

12 травня 2013 о 19:51 +0200 Євгеній Мещеряков написав(-ла):
 notfound 705507 1:1.2.6-3
 thanks
 
 12 травня 2013 о 19:45 +0200 Євгеній Мещеряков написав(-ла):
  Hi,
  
  12 травня 2013 о 18:03 +0200 Luk Claes написав(-ла):
rpc.gssd now also crashes on amd64.
   
   Does this also happen when the package nfs-kernel-server is installed?
  Yes, rpc.gssd also crashes with nfs-kernel-server installed.
 Downgrading to the version from testing fixes the problem though.




signature.asc
Description: Digital signature


Processed: Re: Bug#705507: nfs-common: rpc.gssd crashes when performing nfs4 mount

2013-05-12 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 found 705507 1:1.2.6-3
Bug #705507 [nfs-common] nfs-common: rpc.gssd crashes when performing nfs4 mount
Marked as found in versions nfs-utils/1:1.2.6-3.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
705507: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705507
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.136838152027627.transcr...@bugs.debian.org



Bug#705507: nfs-common: rpc.gssd crashes when performing nfs4 mount

2013-05-12 Thread Julien Cristau
On Sun, May 12, 2013 at 19:58:31 +0200, Євгеній Мещеряков wrote:

 found 705507 1:1.2.6-3
 thanks
 
 Ah, original bug report was about this version, sorry for that. This
 could be a different bug though.
 
#707960 probably.

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#705507: nfs-common: rpc.gssd crashes when performing nfs4 mount

2013-05-11 Thread Євгеній Мещеряков
Package: nfs-common
Version: 1:1.2.8-1
Followup-For: Bug #705507

Hello,

rpc.gssd now also crashes on amd64.

Here is part of gdb log:

Program received signal SIG37, Real-time event 37.

Program received signal SIGSEGV, Segmentation fault.
0x7f58a6214e95 in ?? () from /lib/x86_64-linux-gnu/libgssglue.so.1
(gdb) bt
#0  0x7f58a6214e95 in ?? () from /lib/x86_64-linux-gnu/libgssglue.so.1
#1  0x7f58a6215bc5 in gss_init_sec_context () from 
/lib/x86_64-linux-gnu/libgssglue.so.1
#2  0x7f58a733cfbd in ?? () from /lib/x86_64-linux-gnu/libtirpc.so.1
#3  0x7f58a733d3c7 in authgss_create () from 
/lib/x86_64-linux-gnu/libtirpc.so.1
#4  0x7f58a733d4dc in authgss_create_default () from 
/lib/x86_64-linux-gnu/libtirpc.so.1
#5  0x004050f6 in ?? ()
#6  0x00405caa in ?? ()
#7  0x00406969 in ?? ()
#8  0x00404abc in ?? ()
#9  0x00403959 in ?? ()
#10 0x7f58a6654a55 in __libc_start_main (main=0x4036a0, argc=1, 
ubp_av=0x7fffbe42f968, init=optimized out, fini=optimized out, 
rtld_fini=optimized out, stack_end=0x7fffbe42f958) at libc-start.c:260
#11 0x004039c9 in ?? ()

-- Package-specific info:
-- rpcinfo --
   program vers proto   port  service
104   tcp111  portmapper
103   tcp111  portmapper
102   tcp111  portmapper
104   udp111  portmapper
103   udp111  portmapper
102   udp111  portmapper
-- /etc/default/nfs-common --
NEED_STATD=no
STATDOPTS=
NEED_IDMAPD=yes
NEED_GSSD=yes
-- /etc/idmapd.conf --
[General]
Verbosity = 0
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
Domain = kazna.de
[Mapping]
Nobody-User = nobody
Nobody-Group = nogroup
-- /etc/fstab --
thor:/  /srv/backups nfs   
sec=krb5p,rw,noatime,nodiratime,nodev,nosuid,noexec,proto=tcp,noauto,x-systemd.automount,x-systemd.device-timeout=60
  0 0
-- /proc/mounts --
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nfs-common depends on:
ii  adduser 3.113+nmu3
ii  initscripts 2.88dsf-41
ii  libc6   2.17-1
ii  libcap2 1:2.22-1.2
ii  libcomerr2  1.42.5-1.1
ii  libdevmapper1.02.1  2:1.02.77-1
ii  libevent-2.0-5  2.0.19-stable-3
ii  libgssapi-krb5-21.10.1+dfsg-5
ii  libk5crypto31.10.1+dfsg-5
ii  libkeyutils11.5.5-7
ii  libkrb5-3   1.10.1+dfsg-5
ii  libmount1   2.20.1-5.3
ii  libnfsidmap20.25-4
ii  libtirpc1   0.2.2-5
ii  libwrap07.6.q-24
ii  lsb-base4.1+Debian9
ii  rpcbind 0.2.0-8
ii  ucf 3.0025+nmu3

Versions of packages nfs-common recommends:
ii  python  2.7.3-5

Versions of packages nfs-common suggests:
pn  open-iscsi  none
pn  watchdognone

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130511211823.4930.45779.reportbug@localhost



Bug#705507: nfs-common: rpc.gssd crashes when performing nfs4 mount

2013-04-15 Thread Ben Rawson
Package: nfs-common
Version: 1:1.2.6-3
Severity: normal

Mounting a kerberos-protected nfs4 export is unsuccsessfull on powerpcspe.  
nfs-common initializes without error, and rpc.gssd appears to be running.  Upon 
a mount attempt, the following error message was displayed:

mount: fstab path: /etc/fstab
mount: mtab path:  /etc/mtab
mount: lock path:  /etc/mtab~
mount: temp path:  /etc/mtab.tmp
mount: UID:0
mount: eUID:   0
mount: spec:  nfsserver:/home/yesterday
mount: node:  /home
mount: types: nfs4
mount: opts:  noatime,sec=krb5
mount: external mount: argv[0] = /sbin/mount.nfs4
mount: external mount: argv[1] = nfsserver:/home/yesterday
mount: external mount: argv[2] = /home
mount: external mount: argv[3] = -v
mount: external mount: argv[4] = -o
mount: external mount: argv[5] = rw,noatime,sec=krb5
mount.nfs4: timeout set for Mon Apr 15 17:35:12 2013
mount.nfs4: trying text-based options
'sec=krb5,addr=192.168.1.2,clientaddr=192.168.1.3'
mount.nfs4: mount(2): Broken pipe
mount.nfs4: Broken pipe

After this message, rpc.gssd is no longer running.  Further mount
attempts timeout with the following:

mount: fstab path: /etc/fstab
mount: mtab path:  /etc/mtab
mount: lock path:  /etc/mtab~
mount: temp path:  /etc/mtab.tmp
mount: UID:0
mount: eUID:   0
mount: spec:  titansteel:/home/yesterday
mount: node:  /home
mount: types: nfs4
mount: opts:  noatime,sec=krb5
mount: external mount: argv[0] = /sbin/mount.nfs4
mount: external mount: argv[1] = titansteel:/home/yesterday
mount: external mount: argv[2] = /home
mount: external mount: argv[3] = -v
mount: external mount: argv[4] = -o
mount: external mount: argv[5] = rw,noatime,sec=krb5
mount.nfs4: timeout set for Mon Apr 15 17:37:21 2013
mount.nfs4: trying text-based options
'sec=krb5,addr=192.168.1.2,clientaddr=192.168.1.3'
mount.nfs4: mount(2): Permission denied
mount.nfs4: access denied by server while mounting
nfsserver:/home/yesterday



A gdb trace of rpc.gssd reveals the following:

Program received signal SIGSEGV, Segmentation fault.
0x0ffd9154 in __gss_get_mechanism_cred ()
   from /lib/powerpc-linux-gnuspe/libtirpc.so.1
(gdb) where
#0  0x0ffd9154 in __gss_get_mechanism_cred ()
   from /lib/powerpc-linux-gnuspe/libtirpc.so.1
#1  0x0ffd845c in gss_add_cred () from
/lib/powerpc-linux-gnuspe/libtirpc.so.1
#2  0x0fb4dc38 in gss_acquire_cred (minor_status=0xbfc5f2fc,
desired_name=0x0,
time_req=0, desired_mechs=optimized out, cred_usage=1,
output_cred_handle=0xbfc5f1f4, actual_mechs=0x0,
time_rec=0xbfc5f1ec)
at ../../../../src/lib/gssapi/mechglue/g_acquire_cred.c:152
#3  0x0ffd8588 in gss_add_cred () from
/lib/powerpc-linux-gnuspe/libtirpc.so.1
#4  0x0ffd8af8 in gss_acquire_cred ()
   from /lib/powerpc-linux-gnuspe/libtirpc.so.1
#5  0x10007b90 in ?? ()
#6  0x10004e04 in ?? ()
#7  0x100054d0 in ?? ()
#8  0x10005d14 in ?? ()
#9  0x10003b6c in ?? ()
#10 0x10002590 in ?? ()
#11 0x0fcaadcc in generic_start_main (main=optimized out,
argc=optimized out, ubp_av=optimized out, auxvec=optimized
out,
init=optimized out, fini=optimized out, rtld_fini=optimized
out,
stack_end=optimized out) at ../csu/libc-start.c:228
#12 0x0fcaaf84 in __libc_start_main (
argc=error reading variable: value has been optimized out,
ubp_av=error reading variable: value has been optimized out,
ubp_ev=optimized out,
auxvec=error reading variable: value has been optimized out,
rtld_fini=error reading variable: value has been optimized out,
stinfo=optimized out,
stack_on_entry=error reading variable: value has been optimized
out)
at ../sysdeps/unix/sysv/linux/powerpc/libc-start.c:105
#13 0x in ?? ()
(gdb)


I have not verified this as a problem with the same package versions on
any other architecture, but I suspect this is an architecture specific
problem.


-- Package-specific info:
-- rpcinfo --
   program vers proto   port  service
104   tcp111  portmapper
103   tcp111  portmapper
102   tcp111  portmapper
104   udp111  portmapper
103   udp111  portmapper
102   udp111  portmapper
1000241   udp   4000  status
1000241   tcp   4000  status
132   tcp   2049  nfs
133   tcp   2049  nfs
134   tcp   2049  nfs
1002272   tcp   2049
1002273   tcp   2049
132   udp   2049  nfs
133   udp   2049  nfs
134   udp   2049  nfs
1002272   udp   2049
1002273   udp   2049
1000211   udp  45924  nlockmgr
1000213   udp  45924  nlockmgr
1000214   udp  45924  nlockmgr
1000211   tcp  46132  nlockmgr
1000213   tcp  46132  nlockmgr
1000214   tcp  46132  nlockmgr
-- /etc/default/nfs-common --
NEED_STATD=
STATDOPTS=--port 4000 --outgoing-port 4001
NEED_IDMAPD=yes
NEED_GSSD=yes
RPCGSSDOPTS=-vvvrrr
-- /etc/idmapd.conf --
[General]
Verbosity = 0
Pipefs-Directory = /var/lib/nfs/rpc_pipefs