[Bug 216358] Re: Samba crashes repeatedly to assert_uid

2009-04-02 Thread Keith Matthews
We've got the updated debs in and the problems is appearing again. Twice in a couple of days. Log entry from latest. [2009/04/02 09:18:12, 0] lib/util_sec.c:set_effective_uid(205) setresuid failed with EAGAIN. uid(1) might be over its NPROC limit [2009/04/02 09:18:12, 0] lib/util_sec.c:asser

Re: [Bug 216358] Re: Samba crashes repeatedly to assert_uid

2009-03-27 Thread Keith Matthews
Thierry Carrez wrote: > Please let me know if all reporters run SELinux, so that I can comment > on the upstream bug. > Installed but default config (which I interpret to means 'effectively disabled'. I haven't managed to try the patched version yet - been at the UKUUG conference. Keith --

Re: [Bug 314657] Re: smbd segfault in assert_uid

2009-03-17 Thread Keith Matthews
Paul Dufresne wrote: > I think I found: > o Andrew Tridgell > * Avoid a race condition in glibc between AIO and setresuid(). > * Become root for AIO operations. > taken from the latest (3.0.34 samba changelog): > > > This would explain why > https://bugs.launchpad.net/ubuntu/+source/s

Re: [Bug 314657] Re: smbd segfault in assert_uid

2009-03-16 Thread Keith Matthews
Paul Dufresne wrote: > BTW, I determined that user 0 is root, and -1 is used to say, do not change > this value (real user or effective user). > http://linux.die.net/man/2/setresuid > Now my very BIG GUESS is that it could be that the code in Samba use -1 > without a type cast to uid_t. > And tha

Re: [Bug 314657] Re: smbd segfault in assert_uid

2009-03-13 Thread Keith Matthews
Paul Dufresne wrote: > Thanks you, for your comment. > Happy to see that you are there to answer more questions. > > Anyway, in an bug #216358, Steve Langasek say: > "Hitting this assertion error should also generate log entries. Could you > please check /var/log/samba/log.smbd (or the per-host l

Re: [Bug 314657] Re: smbd segfault in assert_uid

2009-03-13 Thread Keith Matthews
Paul Dufresne wrote: > A closed (not because fixed) Debian bug: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468296 > suggests that this could be linked with roaming profiles: > "Problem resolved, the workstation is not using roaming profiles anymore. > Probably this was due to misconfigured

Re: [Bug 314657] Re: smbd segfault in assert_uid

2009-03-13 Thread Keith Matthews
Paul Dufresne wrote: > Looks like a dup of bug #216358. > Posting the result of 'ulimit -S -u' could be usefull. > matt...@r2-d2:~$ ulimit -S -u 86015 Keith -- Theme Group 3 & 4 Grove Park Waltham Road White Waltham MAIDENHEAD Berkshire England SL6 3LW E: keith.matth...@themegroup.com T: +4

Re: [Bug 314657] Re: smbd segfault in assert_uid

2009-02-20 Thread Keith Matthews
Mathias Gug wrote: > Thank you for taking the time to report this bug and helping to make > Ubuntu better. Could you post your smb.conf file? When does the crash > happen ? at startup? when a specific client connects? > > ** Changed in: samba (Ubuntu) >Status: New => Incomplete > Good m

[Bug 26452] Re: netatalk not built with encrypted auth support

2009-01-07 Thread Keith Matthews
With the increasing deployment of MacOS Leopard this issue is rapidly becoming critical since Leopard insists on using encryption. It is made worse by licence issues in debuild preventing local rebuild from source. Leopard also requires a suitable entry in /etc/avahi/services. While it is easy

[Bug 314657] [NEW] smbd segfault in assert_uid

2009-01-07 Thread Keith Matthews
Public bug reported: Binary package hint: samba 8.04.1 newly installed. Xeon 5130, 10 GB RAM samba 3.0.28a-1ubuntu4.7 [Thread debugging using libthread_db enabled] [New Thread 0x7f97b5ddb700 (LWP 19763)] 0x7f97b2fe34a5 in waitpid () from /lib/libc.so.6 #0 0x7f97b2fe34a5 in waitpid ()