Bug#499812: smbfs: Application crashed when i try to see dfs links

2008-09-25 Thread Mikhail Zhukov
2008/9/23 Steve Langasek [EMAIL PROTECTED]


 Since this is a kernel crash, we have a kernel bug; reassigning.

 Do you have the keyutils package installed, and have you configured
 /etc/request-key.conf to point at cifs.upcall?


Yes, I have keyutils installed and my /etc/request-key.conf contain 2 line:

create cifs.spnego * * /usr/sbin/cifs.upcall %k
create dns_resolver * * /usr/sbin/cifs.upcall %k


Bug#499812: smbfs: Application crashed when i try to see dfs links

2008-09-23 Thread Steve Langasek
reassign 499812 linux-2.6
thanks

On Mon, Sep 22, 2008 at 08:42:01PM +0400, Mikhail Zhukov wrote:

 When i try to see any folders in Dfs root from Server 2003 SP2 RC2 mounted
 with such line in  /etc/fstab:

 \\domain\dfsroot /mnt/dfs cifs
 user,rw,file_mode=0666,dir_mode=0777,domain=do
 main,nosetuids,credentials=/etc/smbpasswd,iocharset=utf8,codepage=cp866 0 0

 any program (nautilus, bash, mc, zsh etc) crash with segfault. dmesg contain
 this messages:

 [31184.095643] BUG: unable to handle kernel NULL pointer dereference at
 0   004
 [31184.095643] IP: [c01b8921] call_sbin_request_key+0x130/0x221

Since this is a kernel crash, we have a kernel bug; reassigning.

Do you have the keyutils package installed, and have you configured
/etc/request-key.conf to point at cifs.upcall?

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
[EMAIL PROTECTED] [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#499812: smbfs: Application crashed when i try to see dfs links

2008-09-22 Thread Mikhail Zhukov
Package: smbfs
Version: 2:3.2.3-1
Severity: normal

When i try to see any folders in Dfs root from Server 2003 SP2 RC2 mounted
with such line in  /etc/fstab:

\\domain\dfsroot /mnt/dfs cifs
user,rw,file_mode=0666,dir_mode=0777,domain=do
main,nosetuids,credentials=/etc/smbpasswd,iocharset=utf8,codepage=cp866 0 0

any program (nautilus, bash, mc, zsh etc) crash with segfault. dmesg contain
this messages:

[31184.095643] BUG: unable to handle kernel NULL pointer dereference at
0   004
[31184.095643] IP: [c01b8921] call_sbin_request_key+0x130/0x221
[31184.095643] *pde = 
[31184.095643] Oops:  [#8] SMP
[31184.095643] Modules linked in: nls_cp437 vfat fat i915 drm binfmt_misc
rfc   omm l2cap bluetooth vboxdrv ppdev parport_pc lp parport video output
ac batte   ry ipv6 nls_utf8 cifs nls_base fuse dm_snapshot dm_mirror dm_log
dm_mod looppsmouse serio_raw i2c_i801 snd_pcsp i2c_core rng_core
iTCO_wdt atl2 snd_hda_i   ntel snd_pcm_oss snd_mixer_oss snd_pcm snd_timer
snd soundcore intel_agp butt   on snd_page_alloc agpgart evdev ext3 jbd
mbcache ide_cd_mod cdrom sd_mod piixide_pci_generic ide_core ata_piix
usb_storage ata_generic libata scsi_mod do   ck uhci_hcd ehci_hcd usbcore
thermal processor fan thermal_sys
[31184.095643]
[31184.095643] Pid: 8601, comm: mc Tainted: G  D   (2.6.26-1-686 #1)
[31184.095643] EIP: 0060:[c01b8921] EFLAGS: 00290246 CPU: 1
[31184.095643] EIP is at call_sbin_request_key+0x130/0x221
[31184.095643] EAX:  EBX:  ECX: ef571d24 EDX: ef571d24
[31184.095643] ESI: f56e74e0 EDI: ef571d40 EBP: ecec4140 ESP: ef571d28
[31184.095643]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[31184.095643] Process mc (pid: 8601, ti=ef57 task=f56e74e0
task.ti=ef57)
[31184.095643] Stack: c031ba4e ef525220 ecec4240 ecec0030 ecec4b48 ecec4a48
c   01d0030 c040f788
[31184.095643]ecec4a48 ecec41c0  ecec41c0 c01b5d20 03e8
e   f571dac c0356d20
[31184.095643]0002 0009 001d ef571dac f8c4ea24 7165725f
3   035342e 38303433
[31184.095643] Call Trace:
[31184.095643]  [c01d0030] elv_merge+0x49/0x15b
[31184.095643]  [c01b5d20] key_alloc+0x1fb/0x2ca
[31184.095643]  [c01b0039] debugfs_create_symlink+0x36/0x43
[31184.095643]  [c01b87f1] call_sbin_request_key+0x0/0x221
[31184.095643]  [c01b86e2] request_key_and_link+0x1f6/0x246
[31184.095643]  [c01b8a3a] request_key+0x28/0x52
[31184.095643]  [f8c3f678] dns_resolve_server_name_to_ip+0x20a/0x23a
[cifs]
[31184.095643]  [f8c3f9dd] cifs_dfs_follow_mountpoint+0x2e3/0x66e [cifs]
[31184.095643]  [c018760a] mnt_want_write+0x21/0x57
[31184.095643]  [c017c064] __link_path_walk+0x84f/0xb0d
[31184.095643]  [c011a5dc] __wake_up+0x29/0x39
[31184.095643]  [c017c359] path_walk+0x37/0x70
[31184.095643]  [c017c608] do_path_lookup+0x122/0x184
[31184.095643]  [c017ce65] __user_walk_fd+0x29/0x3a
[31184.095643]  [c017cfa6] __user_walk+0xf/0x11
[31184.095643]  [c01738b1] sys_chdir+0x15/0x4f
[31184.095643]  [c017e1fc] vfs_ioctl+0x1c/0x5d
[31184.095643]  [c017e487] do_vfs_ioctl+0x24a/0x261
[31184.095643]  [c017e4df] sys_ioctl+0x41/0x5a
[31184.095643]  [c0103853] sysenter_past_esp+0x78/0xb1
[31184.095643]  ===
[31184.095643] Code: 31 c0 57 e8 14 86 02 00 8b 86 e4 02 00 00 83 c4 0c 83
b8a0 01 00 00 00 74 08 8b 80 a0 01 00 00 eb 09 8b 86 1c 02 00 00 8b 40
24 8b40 04 8d 5c 24 24 50 68 3c a5 31 c0 53 e8 de 85 02 00 8b 44
[31184.095643] EIP: [c01b8921] call_sbin_request_key+0x130/0x221 SS:ESP
006   8:ef571d28
[31184.112074] ---[ end trace 9e50357e5eb6307c ]---

-- System Information:
Debian Release: lenny/sid
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages smbfs depends on:
ii  libc62.7-13  GNU C Library: Shared libraries
ii  libcomerr2   1.41.0-3common error description
library
ii  libkeyutils1 1.2-9   Linux Key Management Utilities
(li
ii  libkrb53 1.6.dfsg.4~beta1-4  MIT Kerberos runtime libraries
ii  libldap-2.4-22.4.10-3OpenLDAP libraries
ii  libpopt0 1.14-4  lib for parsing cmdline
parameters
ii  libtalloc1   1.2.0~git20080616-1 hierarchical pool based memory
all
ii  libwbclient0 2:3.2.3-1   client library for interfacing
wit
ii  netbase  4.33Basic TCP/IP networking system
ii  samba-common 2:3.2.3-1   Samba common files used by both
th

smbfs recommends no packages.

Versions of packages smbfs suggests:
ii  smbclient 2:3.2.3-1  a LanManager-like simple client
fo

-- no debconf information