[Pkg-shadow-devel] Bug#220426: marked as done ([TO CLOSE 20050413] groupadd hangs (loops and eats memory))

Debian Bug Tracking System owner@bugs.debian.org
Thu, 14 Apr 2005 10:18:40 -0700


Your message dated Thu, 14 Apr 2005 17:59:49 +0200
with message-id <20050414155948.GD10252@mykerinos.kheops.frmug.org>
and subject line [Pkg-shadow-devel] Bug#220426: Bug impossible to reproduce: groupadd hangs (loops and eats memory)
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 12 Nov 2003 16:28:33 +0000
>From fredrik.ax@ioi.dk Wed Nov 12 10:28:32 2003
Return-path: <fredrik.ax@ioi.dk>
Received: from ns.ioi.dk (rayman.ioi.dk) [62.243.244.250] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AJxr5-0006xH-00; Wed, 12 Nov 2003 10:28:32 -0600
Received: from mail (helo=mail.ioi.dk)
	by rayman.ioi.dk with local-smtp (Exim 3.35 #1 (Debian))
	id 1AJxr4-0001Es-00
	for <submit@bugs.debian.org>; Wed, 12 Nov 2003 17:28:30 +0100
Received: from [172.16.10.121] (helo=raven.ioi.dk)
	by rayman.ioi.dk with esmtp (Exim 3.35 #1 (Debian))
	id 1AJxr3-0001EO-00; Wed, 12 Nov 2003 17:28:29 +0100
Received: from frax by raven.ioi.dk with local (Exim 3.36 #1 (Debian))
	id 1AJxr2-0001EO-00; Wed, 12 Nov 2003 17:28:28 +0100
Date: Wed, 12 Nov 2003 17:28:28 +0100
From: Fredrik Ax <frax@axnet.nu>
To: submit@bugs.debian.org
Cc: Karl Ramm <kcr@debian.org>
Subject: groupadd hangs (loops and eats memory) CRITICAL!
Message-ID: <20031112162828.GH839@ioi.dk>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="xkXJwpr35CY/Lc3I"
Content-Disposition: inline
X-Debbugs-CC: Karl Ramm <kcr@debian.org>
User-Agent: Mutt/1.5.4i
Sender: Fredrik Ax <frax@raven.int.ioi.dk>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=2.5 required=4.0
	tests=BAYES_99
	version=2.53-bugs.debian.org_2003_11_9
X-Spam-Level: **
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_11_9 (1.174.2.15-2003-03-30-exp)


--xkXJwpr35CY/Lc3I
Content-Type: multipart/mixed; boundary="Ns7jmDPpOpCD+GE/"
Content-Disposition: inline


--Ns7jmDPpOpCD+GE/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: passwd
Version: 1:4.0.3-12

The systems this bug was noticed where both at the time running
2.4.20 SMP kernels and libc-2.3.2.so.

I noiticed this severe bug when I did a dist-upgrade to sarge on a
woody machine.  Installing certain packages (e.g. cron) which
added/changed groups hang for a long time.

I digged into the problem and found out that it is groupadd which
loops when the /etc/group file containes a line of 675 chars (or more)=20
in my case that is 88 users (or more).
It works fine if I shorten the line to 668 chars (87 users).
(The group tested is users.)

I can recreate the problem every time and here is an example shell output f=
rom
such a "recreation" (starting with an empty users-group-line):
------------
$ for u in marting madspp mortencb mortenb raffy martinl michaela mat helle=
m martingr karstenh morteni karstenl allanh michaelh mortenl mortenm michae=
lj boc martinsc jacoba michalb marekb boh frax cecilie simonh jacobg christ=
offerk jacobm michaelz christiant miklosb antonl jensa jonasl sorenj jonr j=
eremyp davidg runeb asgerm mettec marcellb ivanb martinam jensp hughg jenss=
 asi briana larsp elsea fraxtest gyorgyis gaborh larspa jakobr lukasj thoma=
sj hennings janosf chandral thomass danielf jamieb evak jesperd steffent he=
nrike petera martinmp jeroenw zoltanb henrikh janosu peterf peterg robertn =
petronellac charlotted peterl daniels jesperp peterm belak kjartanv peterp =
neild; do adduser $u users; groupadd test; groupdel test; done
Adding user marting to group users...
Done.
Adding user madspp to group users...
Done.
Adding user mortencb to group users...
Done.
Adding user mortenb to group users...
Done.

[SNiP]

Adding user belak to group users...
Done.
Adding user kjartanv to group users...
Done.
Adding user peterp to group users...
Done.
------------
[Here everything hangs and top shows that groupadd is using a lot of
CPU and the residient memory for groupadd is growing until the system
runs out of memory]

I have attached strace-outputs for a successfull "groupadd test"=20
(668 chars, 87 users) and one trunkated for the looping "groupadd test"
when the groupfile contained a longer line.

Best regards,
/frax
--Ns7jmDPpOpCD+GE/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="groupadd_ok.strace"

execve("/usr/sbin/groupadd", ["groupadd", "test"], [/* 43 vars */]) = 0
uname({sys="Linux", node="tekken", ...}) = 0
brk(0)                                  = 0x8058ed4
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/local/lib/i686/mmx/cmov/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/i686/mmx/cmov", 0xbffff020) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/i686/mmx/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/i686/mmx", 0xbffff020) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/i686/cmov/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/i686/cmov", 0xbffff020) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/i686/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/i686", 0xbffff020) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/mmx/cmov/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/mmx/cmov", 0xbffff020) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/mmx/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/mmx", 0xbffff020) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/cmov/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/cmov", 0xbffff020) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
open("i686/mmx/cmov/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/cmov/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/libcrypt.so.1", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("mmx/cmov/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("mmx/libcrypt.so.1", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("cmov/libcrypt.so.1", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("libcrypt.so.1", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=12590, ...}) = 0
old_mmap(NULL, 12590, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3)                                = 0
open("/lib/libcrypt.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\t\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=18636, ...}) = 0
old_mmap(NULL, 181532, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001a000
old_mmap(0x4001f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x4001f000
old_mmap(0x40020000, 156956, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40020000
close(3)                                = 0
open("/usr/local/lib/libpam.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/cmov/libpam.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/libpam.so.0", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("i686/cmov/libpam.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/libpam.so.0", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("mmx/cmov/libpam.so.0", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("mmx/libpam.so.0", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("cmov/libpam.so.0", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("libpam.so.0", O_RDONLY)           = -1 ENOENT (No such file or directory)
open("/lib/libpam.so.0", O_RDONLY)      = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\10\25\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=28884, ...}) = 0
old_mmap(NULL, 31944, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40047000
old_mmap(0x4004e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6000) = 0x4004e000
close(3)                                = 0
open("/usr/local/lib/libpam_misc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/cmov/libpam_misc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/libpam_misc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/cmov/libpam_misc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/libpam_misc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("mmx/cmov/libpam_misc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("mmx/libpam_misc.so.0", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("cmov/libpam_misc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("libpam_misc.so.0", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/lib/libpam_misc.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0T\16\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=8316, ...}) = 0
old_mmap(NULL, 11396, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4004f000
old_mmap(0x40051000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x40051000
close(3)                                = 0
open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/cmov/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("i686/cmov/libc.so.6", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("i686/libc.so.6", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("mmx/cmov/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("mmx/libc.so.6", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("cmov/libc.so.6", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("libc.so.6", O_RDONLY)             = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p^\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1230832, ...}) = 0
old_mmap(NULL, 1236260, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40052000
old_mmap(0x40179000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x127000) = 0x40179000
old_mmap(0x4017e000, 7460, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4017e000
close(3)                                = 0
open("/usr/local/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/cmov/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("i686/cmov/libdl.so.2", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("i686/libdl.so.2", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("mmx/cmov/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("mmx/libdl.so.2", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("cmov/libdl.so.2", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("libdl.so.2", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \34\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9796, ...}) = 0
old_mmap(NULL, 8632, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40180000
old_mmap(0x40182000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x40182000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40183000
munmap(0x40016000, 12590)               = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1646752, ...}) = 0
mmap2(NULL, 1646752, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40184000
close(3)                                = 0
brk(0)                                  = 0x8058ed4
brk(0x8079ed4)                          = 0x8079ed4
brk(0)                                  = 0x8079ed4
brk(0x807a000)                          = 0x807a000
access("/etc/gshadow", F_OK)            = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=465, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
read(3, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 465
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40016000, 4096)                = 0
open("/usr/local/lib/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/cmov/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/cmov/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("mmx/cmov/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("mmx/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("cmov/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("libnss_compat.so.2", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=12590, ...}) = 0
old_mmap(NULL, 12590, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3)                                = 0
open("/lib/libnss_compat.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\22\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=27188, ...}) = 0
old_mmap(NULL, 30284, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40317000
old_mmap(0x4031e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6000) = 0x4031e000
close(3)                                = 0
open("/usr/local/lib/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/cmov/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/libnsl.so.1", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("i686/cmov/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/libnsl.so.1", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("mmx/cmov/libnsl.so.1", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("mmx/libnsl.so.1", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("cmov/libnsl.so.1", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("libnsl.so.1", O_RDONLY)           = -1 ENOENT (No such file or directory)
open("/lib/libnsl.so.1", O_RDONLY)      = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20<\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=73420, ...}) = 0
old_mmap(NULL, 84832, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4031f000
old_mmap(0x40331000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11000) = 0x40331000
old_mmap(0x40332000, 7008, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40332000
close(3)                                = 0
munmap(0x40016000, 12590)               = 0
open("/usr/local/lib/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/cmov/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/cmov/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/libnss_nis.so.2", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("mmx/cmov/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("mmx/libnss_nis.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("cmov/libnss_nis.so.2", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("libnss_nis.so.2", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=12590, ...}) = 0
old_mmap(NULL, 12590, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3)                                = 0
open("/lib/libnss_nis.so.2", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\34\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=32368, ...}) = 0
old_mmap(NULL, 35628, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40334000
old_mmap(0x4033c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x7000) = 0x4033c000
close(3)                                = 0
open("/usr/local/lib/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/cmov/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/cmov/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("mmx/cmov/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("mmx/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("cmov/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("libnss_files.so.2", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/libnss_files.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\35\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=34440, ...}) = 0
old_mmap(NULL, 37820, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4033d000
old_mmap(0x40346000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x8000) = 0x40346000
close(3)                                = 0
munmap(0x40016000, 12590)               = 0
open("/etc/group", O_RDONLY)            = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
_llseek(3, 0, [0], SEEK_CUR)            = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1136, ...}) = 0
mmap2(NULL, 1136, PROT_READ, MAP_SHARED, 3, 0) = 0x40016000
_llseek(3, 1136, [1136], SEEK_SET)      = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1136, ...}) = 0
munmap(0x40016000, 1136)                = 0
close(3)                                = 0
open("/etc/.pwd.lock", O_WRONLY|O_CREAT, 0600) = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
rt_sigaction(SIGALRM, {0x4012f730, ~[], SA_RESTORER, 0x4007b528}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [ALRM], [], 8) = 0
alarm(15)                               = 0
fcntl64(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0)                                = 15
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGALRM, {SIG_DFL}, NULL, 8) = 0
getpid()                                = 15372
open("/etc/group.15372", O_WRONLY|O_CREAT|O_EXCL, 0600) = 4
getpid()                                = 15372
write(4, "15372\0", 6)                  = 6
close(4)                                = 0
link("/etc/group.15372", "/etc/group.lock") = 0
stat64("/etc/group.15372", {st_mode=S_IFREG|0600, st_size=6, ...}) = 0
unlink("/etc/group.15372")              = 0
open("/etc/group", O_RDWR)              = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=1136, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
read(4, "root:x:0:\ndaemon:x:1:\nbin:x:2:\ns"..., 4096) = 1136
read(4, "", 4096)                       = 0
getpid()                                = 15372
open("/etc/gshadow.15372", O_WRONLY|O_CREAT|O_EXCL, 0600) = 5
getpid()                                = 15372
write(5, "15372\0", 6)                  = 6
close(5)                                = 0
link("/etc/gshadow.15372", "/etc/gshadow.lock") = 0
stat64("/etc/gshadow.15372", {st_mode=S_IFREG|0600, st_size=6, ...}) = 0
unlink("/etc/gshadow.15372")            = 0
open("/etc/gshadow", O_RDWR)            = 5
fstat64(5, {st_mode=S_IFREG|0640, st_size=1469, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
read(5, "root:*::\ndaemon:*::\nbin:*::\nsys:"..., 4096) = 1469
read(5, "", 4096)                       = 0
open("/etc/login.defs", O_RDONLY)       = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=9802, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(6, "#\n# /etc/login.defs - Configurat"..., 4096) = 4096
read(6, "est in the shell startup files)\n"..., 4096) = 4096
read(6, "nd beep continue to work as desc"..., 4096) = 1610
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0x40018000, 4096)                = 0
open("/etc/group", O_RDONLY)            = 6
fcntl64(6, F_GETFD)                     = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
_llseek(6, 0, [0], SEEK_CUR)            = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=1136, ...}) = 0
mmap2(NULL, 1136, PROT_READ, MAP_SHARED, 6, 0) = 0x40018000
_llseek(6, 1136, [1136], SEEK_SET)      = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=1136, ...}) = 0
time([1068652394])                      = 1068652394
open("/etc/localtime", O_RDONLY)        = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=766, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(7, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0"..., 4096) = 766
close(7)                                = 0
munmap(0x40019000, 4096)                = 0
getpid()                                = 15372
rt_sigaction(SIGPIPE, {0x40126370, [], SA_RESTORER, 0x4007b528}, {SIG_DFL}, 8) = 0
socket(PF_UNIX, SOCK_DGRAM, 0)          = 7
fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0
connect(7, {sa_family=AF_UNIX, path="/dev/log"}, 16) = 0
send(7, "<86>Nov 12 16:53:14 groupadd[153"..., 66, 0) = 66
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=1136, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=1136, ...}) = 0
umask(077)                              = 022
open("/etc/group-", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 8
umask(022)                              = 077
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "root:x:0:\ndaemon:x:1:\nbin:x:2:\ns"..., 4096) = 1136
fstat64(8, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(4, "", 4096)                       = 0
write(8, "root:x:0:\ndaemon:x:1:\nbin:x:2:\ns"..., 1136) = 1136
close(8)                                = 0
munmap(0x40019000, 4096)                = 0
utime("/etc/group-", [2003/11/12-16:53:14, 2003/11/12-16:53:06]) = 0
close(4)                                = 0
munmap(0x40016000, 4096)                = 0
umask(0777)                             = 022
open("/etc/group+", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
umask(022)                              = 0777
fchown32(0x4, 0, 0)                     = 0
fchmod(4, 0644)                         = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
write(4, "root:x:0:\ndaemon:x:1:\nbin:x:2:\ns"..., 1148) = 1148
fsync(4)                                = 0
close(4)                                = 0
munmap(0x40016000, 4096)                = 0
rename("/etc/group+", "/etc/group")     = 0
unlink("/etc/group.lock")               = 0
fstat64(5, {st_mode=S_IFREG|0640, st_size=1469, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0640, st_size=1469, ...}) = 0
umask(077)                              = 022
open("/etc/gshadow-", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
umask(022)                              = 077
_llseek(5, 0, [0], SEEK_SET)            = 0
read(5, "root:*::\ndaemon:*::\nbin:*::\nsys:"..., 4096) = 1469
fstat64(4, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
read(5, "", 4096)                       = 0
write(4, "root:*::\ndaemon:*::\nbin:*::\nsys:"..., 1469) = 1469
close(4)                                = 0
munmap(0x40016000, 4096)                = 0
utime("/etc/gshadow-", [2003/11/12-16:53:14, 2003/11/12-16:48:36]) = 0
close(5)                                = 0
munmap(0x40017000, 4096)                = 0
umask(0777)                             = 022
open("/etc/gshadow+", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
umask(022)                              = 0777
fchown32(0x4, 0, 0x2a)                  = 0
fchmod(4, 0640)                         = 0
fstat64(4, {st_mode=S_IFREG|0640, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
write(4, "root:*::\ndaemon:*::\nbin:*::\nsys:"..., 1478) = 1478
fsync(4)                                = 0
close(4)                                = 0
munmap(0x40016000, 4096)                = 0
rename("/etc/gshadow+", "/etc/gshadow") = 0
unlink("/etc/gshadow.lock")             = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 4
connect(4, {sa_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(4)                                = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 4
connect(4, {sa_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(4)                                = 0
close(3)                                = 0
exit_group(0)                           = ?

--Ns7jmDPpOpCD+GE/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="groupadd_loop.strace"

execve("/usr/sbin/groupadd", ["groupadd", "test"], [/* 43 vars */]) = 0
uname({sys="Linux", node="tekken", ...}) = 0
brk(0)                                  = 0x8058ed4
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/local/lib/i686/mmx/cmov/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/i686/mmx/cmov", 0xbffff020) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/i686/mmx/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/i686/mmx", 0xbffff020) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/i686/cmov/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/i686/cmov", 0xbffff020) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/i686/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/i686", 0xbffff020) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/mmx/cmov/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/mmx/cmov", 0xbffff020) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/mmx/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/mmx", 0xbffff020) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/cmov/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/cmov", 0xbffff020) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
open("i686/mmx/cmov/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/cmov/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/libcrypt.so.1", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("mmx/cmov/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("mmx/libcrypt.so.1", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("cmov/libcrypt.so.1", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("libcrypt.so.1", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=12590, ...}) = 0
old_mmap(NULL, 12590, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3)                                = 0
open("/lib/libcrypt.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\t\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=18636, ...}) = 0
old_mmap(NULL, 181532, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001a000
old_mmap(0x4001f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x4001f000
old_mmap(0x40020000, 156956, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40020000
close(3)                                = 0
open("/usr/local/lib/libpam.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/cmov/libpam.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/libpam.so.0", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("i686/cmov/libpam.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/libpam.so.0", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("mmx/cmov/libpam.so.0", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("mmx/libpam.so.0", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("cmov/libpam.so.0", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("libpam.so.0", O_RDONLY)           = -1 ENOENT (No such file or directory)
open("/lib/libpam.so.0", O_RDONLY)      = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\10\25\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=28884, ...}) = 0
old_mmap(NULL, 31944, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40047000
old_mmap(0x4004e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6000) = 0x4004e000
close(3)                                = 0
open("/usr/local/lib/libpam_misc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/cmov/libpam_misc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/libpam_misc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/cmov/libpam_misc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/libpam_misc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("mmx/cmov/libpam_misc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("mmx/libpam_misc.so.0", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("cmov/libpam_misc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("libpam_misc.so.0", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/lib/libpam_misc.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0T\16\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=8316, ...}) = 0
old_mmap(NULL, 11396, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4004f000
old_mmap(0x40051000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x40051000
close(3)                                = 0
open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/cmov/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("i686/cmov/libc.so.6", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("i686/libc.so.6", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("mmx/cmov/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("mmx/libc.so.6", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("cmov/libc.so.6", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("libc.so.6", O_RDONLY)             = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p^\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1230832, ...}) = 0
old_mmap(NULL, 1236260, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40052000
old_mmap(0x40179000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x127000) = 0x40179000
old_mmap(0x4017e000, 7460, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4017e000
close(3)                                = 0
open("/usr/local/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/cmov/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("i686/cmov/libdl.so.2", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("i686/libdl.so.2", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("mmx/cmov/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("mmx/libdl.so.2", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("cmov/libdl.so.2", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("libdl.so.2", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \34\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9796, ...}) = 0
old_mmap(NULL, 8632, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40180000
old_mmap(0x40182000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x40182000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40183000
munmap(0x40016000, 12590)               = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1646752, ...}) = 0
mmap2(NULL, 1646752, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40184000
close(3)                                = 0
brk(0)                                  = 0x8058ed4
brk(0x8079ed4)                          = 0x8079ed4
brk(0)                                  = 0x8079ed4
brk(0x807a000)                          = 0x807a000
access("/etc/gshadow", F_OK)            = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=465, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
read(3, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 465
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40016000, 4096)                = 0
open("/usr/local/lib/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/cmov/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/cmov/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("mmx/cmov/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("mmx/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("cmov/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("libnss_compat.so.2", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=12590, ...}) = 0
old_mmap(NULL, 12590, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3)                                = 0
open("/lib/libnss_compat.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\22\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=27188, ...}) = 0
old_mmap(NULL, 30284, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40317000
old_mmap(0x4031e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6000) = 0x4031e000
close(3)                                = 0
open("/usr/local/lib/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/cmov/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/libnsl.so.1", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("i686/cmov/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/libnsl.so.1", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("mmx/cmov/libnsl.so.1", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("mmx/libnsl.so.1", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("cmov/libnsl.so.1", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("libnsl.so.1", O_RDONLY)           = -1 ENOENT (No such file or directory)
open("/lib/libnsl.so.1", O_RDONLY)      = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20<\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=73420, ...}) = 0
old_mmap(NULL, 84832, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4031f000
old_mmap(0x40331000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11000) = 0x40331000
old_mmap(0x40332000, 7008, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40332000
close(3)                                = 0
munmap(0x40016000, 12590)               = 0
open("/usr/local/lib/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/cmov/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/cmov/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/libnss_nis.so.2", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("mmx/cmov/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("mmx/libnss_nis.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("cmov/libnss_nis.so.2", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("libnss_nis.so.2", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=12590, ...}) = 0
old_mmap(NULL, 12590, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3)                                = 0
open("/lib/libnss_nis.so.2", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\34\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=32368, ...}) = 0
old_mmap(NULL, 35628, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40334000
old_mmap(0x4033c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x7000) = 0x4033c000
close(3)                                = 0
open("/usr/local/lib/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/cmov/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/mmx/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/cmov/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("mmx/cmov/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("mmx/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("cmov/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("libnss_files.so.2", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/libnss_files.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\35\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=34440, ...}) = 0
old_mmap(NULL, 37820, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4033d000
old_mmap(0x40346000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x8000) = 0x40346000
close(3)                                = 0
munmap(0x40016000, 12590)               = 0
open("/etc/group", O_RDONLY)            = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
_llseek(3, 0, [0], SEEK_CUR)            = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1558, ...}) = 0
mmap2(NULL, 1558, PROT_READ, MAP_SHARED, 3, 0) = 0x40016000
_llseek(3, 1558, [1558], SEEK_SET)      = 0
_llseek(3, 429, [429], SEEK_SET)        = 0
munmap(0x40016000, 1558)                = 0
close(3)                                = 0
open("/etc/group", O_RDONLY)            = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
_llseek(3, 0, [0], SEEK_CUR)            = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1558, ...}) = 0
mmap2(NULL, 1558, PROT_READ, MAP_SHARED, 3, 0) = 0x40016000
_llseek(3, 1558, [1558], SEEK_SET)      = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1558, ...}) = 0
munmap(0x40016000, 1558)                = 0
close(3)                                = 0
open("/etc/group", O_RDONLY)            = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
_llseek(3, 0, [0], SEEK_CUR)            = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1558, ...}) = 0
mmap2(NULL, 1558, PROT_READ, MAP_SHARED, 3, 0) = 0x40016000
_llseek(3, 1558, [1558], SEEK_SET)      = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1558, ...}) = 0
munmap(0x40016000, 1558)                = 0
close(3)                                = 0

[REPEATS open -> close in a never ending loop]

--Ns7jmDPpOpCD+GE/--

--xkXJwpr35CY/Lc3I
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/sl+smv5De8StBpMRArSmAJ4h/tQH7F0jy4Jd2hXaYWJ/1GRyrQCgqfUa
JpsGzm7G/3mROLPq2FVsK5o=
=0/QG
-----END PGP SIGNATURE-----

--xkXJwpr35CY/Lc3I--


---------------------------------------
Received: (at 220426-done) by bugs.debian.org; 14 Apr 2005 17:16:52 +0000
>From bubulle@kheops.frmug.org Thu Apr 14 10:16:52 2005
Return-path: <bubulle@kheops.frmug.org>
Received: from perrier.eu.org (kheops.perrier.eu.org) [81.56.227.253] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DM7xU-0006gL-00; Thu, 14 Apr 2005 10:16:52 -0700
Received: from localhost (localhost [127.0.0.1])
	by kheops.perrier.eu.org (Postfix) with ESMTP id 65D024F972
	for <220426-done@bugs.debian.org>; Thu, 14 Apr 2005 19:16:06 +0200 (CEST)
Received: from kheops.perrier.eu.org ([127.0.0.1])
	by localhost (kheops [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 31688-08 for <220426-done@bugs.debian.org>;
	Thu, 14 Apr 2005 19:16:03 +0200 (CEST)
Received: from mykerinos.kheops.frmug.org (mykerinos.kheops.frmug.org [192.168.1.3])
	by kheops.perrier.eu.org (Postfix) with ESMTP id 2C4314F975
	for <220426-done@bugs.debian.org>; Thu, 14 Apr 2005 19:16:01 +0200 (CEST)
Received: by mykerinos.kheops.frmug.org (Postfix, from userid 7426)
	id 246F823299; Thu, 14 Apr 2005 17:59:49 +0200 (CEST)
Date: Thu, 14 Apr 2005 17:59:49 +0200
From: Christian Perrier <bubulle@debian.org>
To: 220426-done@bugs.debian.org
Subject: Re: [Pkg-shadow-devel] Bug#220426: Bug impossible to reproduce: groupadd hangs (loops and eats memory)
Message-ID: <20050414155948.GD10252@mykerinos.kheops.frmug.org>
References: <20050413205334.GG29258@mykerinos.kheops.frmug.org> <20050414141348.GN28016@ioi.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050414141348.GN28016@ioi.dk>
User-Agent: Mutt/1.5.9i
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at kheops.frmug.org
Delivered-To: 220426-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Quoting Fredrik Ax (frax@axnet.nu):

> I'm sorry (not really ;-) to say that all our systems are upgraded
> since we had the problem.
> 
> I unsuccessfully tried to reproduce it on a sarge 2.4.27-1-686-smp
> machine with /lib/libc-2.3.2.so and passwd package 4.0.3-30.7.
> 


Well, thanks for taking care to check. I hereby close this bug, then,
as obviously noone will reproduce it....and if it occurs again, it
seems better to reopen a new bug.