[Pkg-shadow-devel] Bug#220426: Bug impossible to reproduce: groupadd hangs (loops and eats memory)

Christian Perrier Christian Perrier <bubulle@debian.org>, 220426@bugs.debian.org
Wed, 13 Apr 2005 22:53:34 +0200


tags 220426 unreproducible moreinfo
retitle [TO CLOSE 20050413] groupadd hangs (loops and eats memory)
thanks

I have tried to reproduce this bug.

First, let's create a lot of users (with Debian's adduser, this
doesn't really matter):

for i in 0 1 2 3 4 5 6 7 8 9; do for j in 0 1 2 3 4 5 6 7 8 9 ; do adduser --no-create-home --disabled-password --gecos test$i$j  test00000000$i$j ; done ; done

I have voluntarily used a quite long login name to be sure to get a
very long line in /etc/group.

The let's cycle and slowly make one group line in /etc/group grow up,
like Fredrik did in the bug report, just to see when groupadd fails:

for i in 0 1 2 3 4 5 6 7 8 ; do for j in 0 1 2 3 4 5 6 78 9 ; do adduser test$i$j herge ; groupadd test ; groupdel test  ; done ; done

Unfortunately, I'm afraid that this went to its end....with no hang.

So, as far as I can tell, this bug is unreproducible on my system.

Fredrik, can you try to reproduce it again the way you did in the bug
report?

If it can't be reproduced, then I'm afraid we will put it in the
"transitory bug" category.....and therefore close it.

--