[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#36607: marked as done (nscd breaks adduser)



Your message dated 30 Aug 1999 18:52:11 -0000
with message-id <19990830185211.7723.qmail@master.debian.org>
and subject line Bug#36607: fixed in adduser 3.11
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'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Ian Jackson
(administrator, Debian bugs database)

Received: (at submit) by bugs.debian.org; 24 Apr 1999 01:20:03 +0000
Received: (qmail 32343 invoked from network); 24 Apr 1999 01:20:02 -0000
Received: from taz.net.au (postfix@203.16.167.1)
  by master.debian.org with SMTP; 24 Apr 1999 01:20:02 -0000
Received: from siva.taz.net.au (siva.taz.net.au [203.16.167.2])
	by taz.net.au (Postfix) with ESMTP id CEFA6300B
	for <submit@bugs.debian.org>; Sat, 24 Apr 1999 11:19:57 +1000 (EST)
Received: by siva.taz.net.au (Postfix, from userid 0)
	id 8DDE611CAC; Sat, 24 Apr 1999 11:19:57 +1000 (EST)
Date: Sat, 24 Apr 1999 11:19:57 +1000
From: Craig Sanders <cas@taz.net.au>
To: submit@bugs.debian.org
Subject: nscd breaks adduser
Message-ID: <19990424111956.Z3025@taz.net.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i

Package: nscd
Version: 2.1.1-1

the follow bug has been seen with 2.1.1-1 and earlier (2.1.1-0.2)

looks like a cache/timing problem...nscd hasn't noticed that the group
foo exists yet.

with nscd running:

	# adduser foo
	Adding user foo...
	Adding new group foo (9136).
	Adding new user foo (9136) with group foo.
	useradd: unknown group foo
	adduser: `useradd -d /home/foo -g foo -s /bin/bash -u 9136 foo' returned
	error code 1536.  Aborting.
	Cleaning up.
	Removing user `foo'.
	userdel: user foo does not exist
	Removing group `foo'.
	groupdel: group foo does not exist

now clean up

	# userdel foo
	userdel: user foo does not exist
	# groupdel foo

now kill nscd and try again.

	# /etc/init.d/nscd stop
	Stopping Name Service Cache Daemon: nscd.
	# adduser foo
	Adding user foo...
	Adding new group foo (9136).
	Adding new user foo (9136) with group foo.
	Creating home directory /home/foo.
	Copying files from /etc/skel
	Changing password for foo
	Enter the new password (minimum of 5, maximum of 8 characters)
	Please use a combination of upper and lower case letters and numbers.
	New password:

(at this point i pressed ^C to cancel the adduser)

	adduser: `passwd foo' returned error code 2.  Aborting.
	Cleaning up.
	Removing directory `/home/foo'
	Removing user `foo'.
	Removing group `foo'.


i don't actually need nscd on this machine, so i just removed the package.

craig

--
craig sanders


Reply to: