Ok guys, Found the problem to this behaviour...
The Debian::AdduserCommon module (from adduser-3.63) uses "nscd -i group" to invalidate the group name service cache when a new group is added. Well, it should. Unfortunately, it expects a file /var/run/nscd.pid to exist: my $nscdpid = "/var/run/nscd.pid"; # this function replaces startnscd and stopnscd (closes: #54726) if(defined($nscd) && -f $nscdpid) .... system ($nscd, "-i", "group"); This code is broken because nscd's pidfile is called /var/run/nscd, as least with nscd-2.3.5-13. So the group invalidation doesn't happen, and so if you add a user with adduser immediately after adding a group with addgroup, adduser may fail (and continue to fail when retried) for a small period of time. Consider using pidof(8) to identify running nscd processes. This is what the nscd startup script does. Regards Marlon Van der Linde -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]