[Pkg-samba-maint] Bug#478752: Bug#478752: Panic or segfaultinSamba

David McNeill davemc at mcpond.co.nz
Sun Jun 8 09:25:52 UTC 2008


> On Wed, May 07, 2008 at 02:30:35PM -0400, Alec Gosse wrote:
>   
>>> What version of libpam-modules do you have on this system?  I've never
>>> seen a crash like this before with the Debian PAM and Samba packages.
>>>       
>
>   
>> libpam-modules	0.79-5	install ok installed 
>>     
>
> Ok.  I suspect that this is a bug in the PAM module, not a bug in Samba; in
> earlier releases of Linux-PAM, modules would use syslog in inconsistent ways
> that were sometimes incompatible with an application's own use of syslog,
> which may be what's causing this crash.  However, I'm not able to confirm
> this for certain.
>
> Can you try commenting out the line '@include common-session' in
> /etc/pam.d/samba and adding a line 'session required pam_permit.so', to see
> if this resolves your crashes?
>
> Nothing in your smb.conf stands out to me as something that would contribute
> to this, so I guess there's /something/ different about your system that
> causes crashes others aren't seeing, but I have no idea what it is.
>
>   
This suggestion didn't fix the issue.

@include common-auth
@include common-account
# commented out per testing on debian bug 478752
# @include common-session
session required pam_permit.so



  ===============================================================
[2008/06/08 21:11:37, 0] lib/util.c:smb_panic(1633)
  PANIC (pid 5897): internal error
[2008/06/08 21:11:37, 0] lib/util.c:log_stack_trace(1737)
  BACKTRACE: 10 stack frames:
   #0 /usr/sbin/smbd(log_stack_trace+0x1c) [0x61389c]
   #1 /usr/sbin/smbd(smb_panic+0x43) [0x613983]
   #2 /usr/sbin/smbd [0x6013b2]
   #3 /lib/libpthread.so.0 [0x7f877f4ce7d0]
   #4 /usr/sbin/smbd(reply_printopen+0xab) [0x49074b]
   #5 /usr/sbin/smbd [0x4c870e]
   #6 /usr/sbin/smbd(smbd_process+0x7d2) [0x4c9af2]
   #7 /usr/sbin/smbd(main+0x8cd) [0x6c5c5d]
   #8 /lib/libc.so.6(__libc_start_main+0xf4) [0x7f877de731c4]
   #9 /usr/sbin/smbd [0x45a7e9]
[2008/06/08 21:11:37, 0] lib/util.c:smb_panic(1638)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 5897]
[2008/06/08 21:11:37, 0] lib/util.c:smb_panic(1646)
  smb_panic(): action returned status 0
[2008/06/08 21:11:37, 0] lib/fault.c:dump_core(181)
  dumping core in /var/log/samba/cores/smbd













More information about the Pkg-samba-maint mailing list