[Pkg-samba-maint] Bug#510188: samba: Failed to set uid privileges to (-1, 2589) now set to (0, 0) in smbd log

eyck eyck.debian at kuszelas.eu
Tue Dec 30 10:13:57 UTC 2008


Package: samba
Version: 3.0.24-6etch10
Severity: normal


 I'm trying to trace (I think) the same problem as reported by YuraPadlyak at gmail.com,
writes to the file fail, and in logs I find following messages:

Dec 29 19:04:10 hostname smbd_audit[3095]: [2008/12/29 19:04:10, 0, effective(0, 1666), real(0, 0)] lib/util_sec.c:assert_uid(101)
Dec 29 19:04:10 hostname smbd_audit[3095]:   Failed to set uid privileges to (-1,2589) now set to (0,0)
Dec 29 19:04:10 hostname smbd_audit[3095]: [2008/12/29 19:04:10, 0, effective(0, 1666), real(0, 0)] lib/util.c:smb_panic(1599)
Dec 29 19:04:10 hostname smbd_audit[3095]:   PANIC (pid 3095): failed to set uid
Dec 29 19:04:10 hostname smbd_audit[3095]:
Dec 29 19:04:10 hostname smbd_audit[3095]: [2008/12/29 19:04:10, 0, effective(0, 1666), real(0, 0)] lib/util.c:log_stack_trace(1706)
Dec 29 19:04:10 hostname smbd_audit[3095]:   BACKTRACE: 13 stack frames:
Dec 29 19:04:10 hostname smbd_audit[3095]:    #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822c3d3]
Dec 29 19:04:10 hostname smbd_audit[3095]:    #1 /usr/sbin/smbd(smb_panic+0x46) [0x822c4c6]
Dec 29 19:04:10 hostname smbd_audit[3095]:    #2 /usr/sbin/smbd [0x8231849]
Dec 29 19:04:10 hostname smbd_audit[3095]:    #3 /usr/sbin/smbd [0x80db3be]
Dec 29 19:04:10 hostname smbd_audit[3095]:    #4 /usr/sbin/smbd(pop_sec_ctx+0xa3) [0x80db553]
Dec 29 19:04:10 hostname smbd_audit[3095]:    #5 /usr/sbin/smbd(unbecome_root+0xb) [0x80d13fb]
Dec 29 19:04:10 hostname smbd_audit[3095]:    #6 /usr/sbin/smbd(gid_to_sid+0xfe) [0x81ef16e]
Dec 29 19:04:10 hostname smbd_audit[3095]:    #7 /usr/sbin/smbd(change_to_user+0x5de) [0x80d1c1e]
Dec 29 19:04:10 hostname smbd_audit[3095]:    #8 /usr/sbin/smbd [0x80ea351]
Dec 29 19:04:10 hostname smbd_audit[3095]:    #9 /usr/sbin/smbd(smbd_process+0x6fd) [0x80eb83d]
Dec 29 19:04:10 hostname smbd_audit[3095]:    #10 /usr/sbin/smbd(main+0x10df) [0x82c384f]
Dec 29 19:04:10 hostname smbd_audit[3095]:    #11 /lib/tls/libc.so.6(__libc_start_main+0xc8) [0xb7b91ea8]
Dec 29 19:04:10 hostname smbd_audit[3095]:    #12 /usr/sbin/smbd [0x8082b11]
Dec 29 19:04:10 hostname smbd_audit[3095]: [2008/12/29 19:04:10, 0, effective(0, 1666), real(0, 0)] lib/fault.c:dump_core(173)
Dec 29 19:04:10 hostname smbd_audit[3095]:   dumping core in /var/log/samba/cores/smbd
Dec 29 19:04:10 hostname smbd_audit[3095]:
 on active production server it happens fairly often (~50 times a day), it started after upgrade.
I'm fairly lost as to how should I proceed with trying to debug this, so any suggestions are welcome


-- System Information:
Debian Release: 4.0
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.bsd40x
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)





More information about the Pkg-samba-maint mailing list