Correct, I also don't experience this problem anymore.
--
Username completion crashes with libnss-ldap
https://bugs.launchpad.net/bugs/219527
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.
--
Ubuntu-server-bugs
Hark wrote:
Correct, I also don't experience this problem anymore.
I find the precise description of the resolution very reassuring...
Some day when I have time to toy with this again I'll try the ubuntu
packages. For now I'm staying with the debian source packages, compiling
them on
Correct, I also don't experience this problem anymore.
--
Username completion crashes with libnss-ldap
https://bugs.launchpad.net/bugs/219527
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
Hark wrote:
Correct, I also don't experience this problem anymore.
I find the precise description of the resolution very reassuring...
Some day when I have time to toy with this again I'll try the ubuntu
packages. For now I'm staying with the debian source packages, compiling
them on
I tested all of the above on a Ubuntu Hardy system and I have no
problems with bash completion and LDAP unix authentification. I think
this bug can be closed.
** Changed in: openldap (Ubuntu)
Status: New = Fix Released
--
Username completion crashes with libnss-ldap
I tested all of the above on a Ubuntu Hardy system and I have no
problems with bash completion and LDAP unix authentification. I think
this bug can be closed.
** Changed in: openldap (Ubuntu)
Status: New = Fix Released
--
Username completion crashes with libnss-ldap
** Also affects: openldap (Ubuntu)
Importance: Undecided
Status: New
--
Username completion crashes with libnss-ldap
https://bugs.launchpad.net/bugs/219527
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.
--
On Fri, Oct 17, 2008 at 09:38:06AM -, Hark wrote:
I also have this problem. Updating my Hardy systems did fix the problem
on one server, but all other servers still have this problem after
updating (and rebooting).
No wonder... Since noone fixed the problem it works by accident on
some
I also have this problem. Updating my Hardy systems did fix the problem
on one server, but all other servers still have this problem after
updating (and rebooting).
--
Username completion crashes with libnss-ldap
https://bugs.launchpad.net/bugs/219527
You received this bug notification because
I don't think this bug was resolved because an accident...
I discovered several bugs and saw several unexplained crashes when Ubuntu Hardy
was shipped with OpenLDAP 2.4.7.
When Ubuntu switched to 2.4.9, my OpenLDAP server and some clients became
stable. I can not ensure, but I believe this bug
** Also affects: openldap (Ubuntu)
Importance: Undecided
Status: New
--
Username completion crashes with libnss-ldap
https://bugs.launchpad.net/bugs/219527
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs
This bug report is being closed due to your last comment regarding this
being fixed with an update. For future reference you can manage the
status of your own bugs by clicking on the current status in the yellow
line and then choosing a new status in the revealed drop down box. You
can learn more
Humm... It seems the bug was fixed...
$ cd ~luc
~lucasvanini ~luci~luciana/~luciane ~luciano/
~lucimeire ~lucmei
~lucena ~lucia ~lucianafreitas ~lucianes/ ~lucianotl/
~lucio/
I am using the same
Right, I just tried it too, and it works now... I did not do anything
other than regular updates (hardy-updates/hardy-security).
--
Username completion crashes with libnss-ldap
https://bugs.launchpad.net/bugs/219527
You received this bug notification because you are a member of Ubuntu
Bugs,
Just want to say that I can confirm the crashes with username completion
with libnss-ldap_258-1ubuntu3_amd64.deb
Any progress with this?
Because of #227675 I don't want to switch to libnss-ldapd.
--
Username completion crashes with libnss-ldap
https://bugs.launchpad.net/bugs/219527
You received
** Changed in: bash (Ubuntu)
Status: New = Confirmed
--
Username completion crashes with libnss-ldap
https://bugs.launchpad.net/bugs/219527
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
I am also getting crashes in my shell when completing LDAP usernames.
$ cd ~amgTAB
malloc: unknown:0: assertion botched
free: start and end chunk sizes differ
Aborting...
If I try to install libnss-ldapd, APT tries to remove libnss-ldap. My
question is: libnss-ldap configuration file is
Anderson wrote:
I am also getting crashes in my shell when completing LDAP usernames.
$ cd ~amgTAB
malloc: unknown:0: assertion botched
free: start and end chunk sizes differ
Aborting...
If I try to install libnss-ldapd, APT tries to remove libnss-ldap. My
question is: libnss-ldap
Follow one of the HOWTOs on setting up LDAP distribution of user
accounts.
In my setup I use kerberos for the authentication whereas most online
articles describe how to shovel the authentication into LDAP too, but
this doesn't seem to matter. You'll see the problems either way.
--
Username
According to http://www.debian-administration.org/articles/585, it seems
it's a bug in libnss-ldap:
This is a problem with libnss-ldap. try libnss-ldapd.
This came about when they changed from the openssl libraries to the gnutls
libraries
I have had the same problem on a Debian system.
I can confirm that changing to libnss-ldapd seems to solve the problem
here.
One configuration quirk: To control authorization per-host via LDAP, I
had the following in my old libnss-ldap /etc/ldap.conf:
nss_base_passwd
ou=People,dc=evalesco,dc=com?sub?|(host=eagle.rd)(host=\*.rd)(host=\*)
Maybe one of you can tell me how to reproduce this.
I.e. what packages do I need, how should I configure slapd and PAM? And
how do I get users into LDAP?
If I can reproduce it I'll try to debug the problem.
--
Username completion crashes with libnss-ldap
https://bugs.launchpad.net/bugs/219527
Actually, tcsh shows this problem as well!
$ tcsh
puffin:~ ls ~
...[snipped]...
puffin:~ ls ~
free(5b3608) bad block. (memtop = 6a5000 membot = 5b3000)
...[snipped]...
puffin:~ ls ~
...[snipped]...
It doesn't crash, but the free error is definitely not to be expected...
The way I see this,
** Changed in: bash-completion (Debian)
Status: Unknown = New
--
Username completion crashes with libnss-ldap
https://bugs.launchpad.net/bugs/219527
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
I rebuilt the bash package with --without-bash-malloc, and then tried
the bash executable from the bash-static/ directory. Same problem if run
from gdb. If I just start it with ./bash, and the enter compgen -u,
bash enters an endless loop, eats 100% CPU and won't react to SIGTERM; I
had to -KILL
I think the dcgettext is just libc finding the right translation for its
error message.
OK, final try for the test program. This is now almost a line-by-line
copy of the function in bash...
If this does not crash, the only idea I have left is to rebuild bash so
that it can be debugged...
**
Test program 3 runs fine, too. But I found out why all the test programs
run fine: They use the libc6 malloc(), while bash brings its own:
I did apt-get build-dep bash apt-get source bash, then
debian/rules in there. After that:
[EMAIL PROTECTED]:~/pwent-test/bash-3.2# grep start and end chunk
Yes, that's good. I was also wondering about the missing malloc calls :)
I think it would be best if you could take this to the bash-bug
mailinglist. They should know how best to debug this. You can do this
via the bashbug script.
You could also try the bash-static package which is build with
Sorry, same useless result:
[EMAIL PROTECTED]:~# gdb --args bash -c 'compgen -u'
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
This gets stranger and stranger. :)
Maybe you could try this:
sudo apt-get install ltrace
ltrace -o ltrace.txt -S -n 4 -f bash -c 'compgen -u'
and post the log (maybe gzip it first :))
That should give much information. At least it does in my case...
--
Username completion crashes with
Ouch, how could I have overseen such a good debugging tool for all these
years ;-/
Here is the ltrace, I just removed the plain usernames to protect the
innocent :)
** Attachment added: ltrace-bash-compgen-u-anonymized.txt.bz2
Yes, ltracte is quite handy at times.
It seems that the crash occurs in endpwent(), I added this to the test
program. Could you check whether it crashes now?
** Attachment added: New test program with endpwent()
http://launchpadlibrarian.net/13828755/pwent-test2.c
--
Username completion
No, the test program did not crash, but behaves like the first one. I'm
sure many programs (like getent, ...) use this API, but the only thing
exhibiting this bug until now is the bash completion.
Attached is an ltrace of the pwent-test2.c program. I noticed that there
are none of the dcgettext()
Martin, can you try to compile and run the attached test program? It
should do pretty much what bash is doing when completing filenames.
gcc -o pwent_test pwent_test.c
./pwent_test
** Attachment added: Test program
http://launchpadlibrarian.net/13612636/pwent-test.c
--
Username completion
Hi!
Your program works fine, lists all available users. In the same shell just
afterwards, hitting su - poTAB crashes the bash instance (bumps me back to
the Box I ssh'd into the server from).
BTW: I upgraded my real server over the weekend, and it exhibits the same
behaviour as the VM I first
Hm, strange...
You can get debug symbols for the Ubuntu packages, see:
https://wiki.ubuntu.com/DebuggingProgramCrash
gdb should pick them up automatically, IIRC.
--
Username completion crashes with libnss-ldap
https://bugs.launchpad.net/bugs/219527
You received this bug notification because
Hmm, it gets more bizzare:
After installing libc6-dbgsym, libnss-ldap-dbgsym, libc6-i686-dbgsym and
bash-dbgsym, I geht just this:
[EMAIL PROTECTED]:~# gdb bash
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
Maybe: gdb --args bash -c 'compgen -u' ?
--
Username completion crashes with libnss-ldap
https://bugs.launchpad.net/bugs/219527
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
** Attachment added: bash-completion-error-strace.txt.gz
http://launchpadlibrarian.net/13575884/bash-completion-error-strace.txt.gz
--
Username completion crashes with libnss-ldap
https://bugs.launchpad.net/bugs/219527
You received this bug notification because you are a member of Ubuntu
** Bug watch added: Debian Bug tracker #464210
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464210
** Also affects: bash-completion (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464210
Importance: Unknown
Status: Unknown
--
Username completion crashes with
Hi Martin,
Can you try the following and see if it also crashes?
$ compgen -u
--
Username completion crashes with libnss-ldap
https://bugs.launchpad.net/bugs/219527
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs
Yes, compgen -u gives me the same error message. When I remove the
ldap entries in nsswitch.conf, the error does not occur.
--
Username completion crashes with libnss-ldap
https://bugs.launchpad.net/bugs/219527
You received this bug notification because you are a member of Ubuntu
Bugs, which is
42 matches
Mail list logo