Bug#299155: libnss-mysql: Causes segfault when running /usr/sbin/adduser

2005-03-18 Thread Guillaume Morin
Dans un message du 16 Mar à 23:18, Mario Lipinski écrivait : I used the following code to reproduce the error: #!/usr/bin/perl use strict; getgrnam('test'); # might be exchanged by 'getpwnam' print 1; The print 1; seems neccessary - dont ask me why... Ok, I can reproduce it. I

Bug#299155: libnss-mysql: Causes segfault when running /usr/sbin/adduser

2005-03-18 Thread Guillaume Morin
Steve, Dans un message du 12 Mar à 14:04, Steve Langasek écrivait : Yes, it does; but until it is determined, this should be treated as an RC bug. NSS modules that can potentially break any process on the system need to be held to a very high standard. For Dwayne, it may be useful to try

Bug#299155: libnss-mysql: Causes segfault when running /usr/sbin/adduser

2005-03-18 Thread Dwayne Rightler
On Friday 18 March 2005 01:30 pm, Guillaume Morin wrote: Ok, I think I fixed the bug. Mario, Dwayne: if I send you the patch, could you recompile from source to confirm it is fixing your problem? You could also use CVS and checkout the savannah tree:

Bug#299155: libnss-mysql: Causes segfault when running /usr/sbin/adduser

2005-03-18 Thread Guillaume Morin
Dans un message du 18 Mar à 22:02, Mario Lipinski écrivait : First: Everything works with the patch applied. The Bug seems to be fixed. Good. Since this is a bug for a debian package let me say, that the patch did not apply cleanly against the source from debian - but works. Are you going

Bug#299155: libnss-mysql: Causes segfault when running /usr/sbin/adduser

2005-03-18 Thread Steve Langasek
Hi Guillaume, On Fri, Mar 18, 2005 at 08:30:54PM +0100, Guillaume Morin wrote: Dans un message du 12 Mar à 14:04, Steve Langasek écrivait : Yes, it does; but until it is determined, this should be treated as an RC bug. NSS modules that can potentially break any process on the system need

Bug#299155: libnss-mysql: Causes segfault when running /usr/sbin/adduser

2005-03-16 Thread Mario Lipinski
Package: libnss-mysql Version: 0.43-2 Followup-For: Bug #299155 i can confirm this bug and was able to track this down to a fault in the function getpwnam called by the adduser script. the function getgrnam shows same behaviour. i am experiencing the problem a long time now and looking forward

Bug#299155: libnss-mysql: Causes segfault when running /usr/sbin/adduser

2005-03-16 Thread Mario Lipinski
Hello, i noticed that my email address bounced. This should be fixed now. So the reference to previous mails is lost. Sorry for that. Hmm, Ok. Could you elaborate a little bit? I can fix the code but I would need to get some details. Do you know what is wrong? I used the following code to

Bug#299155: libnss-mysql: Causes segfault when running /usr/sbin/adduser

2005-03-12 Thread Steve Langasek
severity 299155 grave thanks Tons of people run nss-mysql with perl with no problems. The reason of the breakage needs to be determined. Yes, it does; but until it is determined, this should be treated as an RC bug. NSS modules that can potentially break any process on the system need to be

Bug#299155: libnss-mysql: Causes segfault when running /usr/sbin/adduser

2005-03-12 Thread Dwayne Rightler
For Dwayne, it may be useful to try to run the adduser command under valgrind; since nss certainly has nothing to do with gettext, this probably points to a memory smash that needs to be tracked down. With libnss-mysql enabled: ip02:/usr/share/doc/libpam-mysql# valgrind /usr/sbin/adduser

Bug#299155: libnss-mysql: Causes segfault when running /usr/sbin/adduser

2005-03-11 Thread Dwayne Rightler
Package: libnss-mysql Version: 0.43-2 Severity: critical Justification: breaks unrelated software I have libnss-mysql installed and it seemed to be working correctly. Running /usr/bin/getent successfully pulls the entries from MySQL. I have my /etc/nsswitch.conf confiured like such: passwd: