[Pkg-nagios-devel] Bug#316271: marked as done (nagios install fails "chage: can't open shadow password fileadduser")

Debian Bug Tracking System owner at bugs.debian.org
Mon Aug 29 17:03:12 UTC 2005


Your message dated Mon, 29 Aug 2005 12:56:43 -0400
with message-id <20050829165643.GA1738 at seanius.net>
and subject line closing old shadow file related bug
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; 29 Jun 2005 19:29:49 +0000
>From daniel.oneill at lycos.de Wed Jun 29 12:29:49 2005
Return-path: <daniel.oneill at lycos.de>
Received: from lmfilto01.st1.spray.net [212.78.202.65] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DniFo-0001Sn-00; Wed, 29 Jun 2005 12:29:48 -0700
Received: from localhost (localhost [127.0.0.1])
	by lmfilto01.st1.spray.net (Postfix) with ESMTP id 9221E16FDCE
	for <submit at bugs.debian.org>; Wed, 29 Jun 2005 19:29:16 +0000 (GMT)
Received: from lmsmtp02.st1.spray.net ([212.78.202.112])
 by localhost (lmfilto01.st1.spray.net [212.78.202.32]) (amavisd-new, port 10024)
 with ESMTP id 07139-06 for <submit at bugs.debian.org>;
 Wed, 29 Jun 2005 19:29:16 +0000 (GMT)
Received: from ath.mine.nu (24-178-87-74.dhcp.mtgm.al.charter.com [24.178.87.74])
	by lmsmtp02.st1.spray.net (Postfix) with ESMTP id 332C7AF
	for <submit at bugs.debian.org>; Wed, 29 Jun 2005 19:29:16 +0000 (GMT)
Received: from ath.mine.nu (ath.mine.nu [127.0.0.1])
	by ath.mine.nu (8.13.4/8.13.4/Debian-4) with ESMTP id j5TJSqWJ020105
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
	for <submit at bugs.debian.org>; Wed, 29 Jun 2005 14:28:52 -0500
Received: (from djo at localhost)
	by ath.mine.nu (8.13.4/8.13.4/Submit) id j5TJSqJ2020102
	for submit at bugs.debian.org; Wed, 29 Jun 2005 14:28:52 -0500
Date: Wed, 29 Jun 2005 14:28:51 -0500
From: prosolutions at gmx.net
To: submit at bugs.debian.org
Subject: nagios install fails "chage: can't open shadow password fileadduser"
Message-ID: <20050629192851.GB17549 at ath.alaya.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
X-Virus-Scanned: by amavisd-new at spray.net
Delivered-To: submit at 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.4 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	NO_REAL_NAME autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: nagios-common
Version: 1.3-cvs.20050402-2.sarge.1

Installation of nagios-common fails with the following error:

Unpacking nagios-common (from
.../nagios-common_2%3a1.3-cvs.20050402-2.sarge.1_all.deb) ...
chage: can't open shadow password fileadduser: `/usr/bin/chage -M 99999
nagios' returned error code 1.  Aborting.
Cleaning up.
Removing user `nagios'.
Removing group `nagios'.
groupdel: group nagios does not exist
dpkg: error processing
/var/cache/apt/archives/nagios-common_2%3a1.3-cvs.20050402-2.sarge.1_all.deb
(--unpack):
 subprocess pre-installation script returned error exit status 1
Reloading web server config...done.
Errors were encountered while processing:
 /var/cache/apt/archives/nagios-common_2%3a1.3-cvs.20050402-2.sarge.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


this is a fresh install.

---------------------------------------
Received: (at 316271-done) by bugs.debian.org; 29 Aug 2005 16:57:14 +0000
>From seanius at seanius.net Mon Aug 29 09:57:14 2005
Return-path: <seanius at seanius.net>
Received: from dsl092-235-113.phl1.dsl.speakeasy.net (sativa.seanius.net) [66.92.235.113] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1E9mwc-00035R-00; Mon, 29 Aug 2005 09:57:14 -0700
Received: by sativa.seanius.net (Postfix, from userid 1000)
	id 588C415834; Mon, 29 Aug 2005 12:56:43 -0400 (EDT)
Date: Mon, 29 Aug 2005 12:56:43 -0400
From: sean finney <seanius at debian.org>
To: 316271-done at bugs.debian.org
Subject: closing old shadow file related bug
Message-ID: <20050829165643.GA1738 at seanius.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb"
Content-Disposition: inline
User-Agent: Mutt/1.5.5.1+cvs20040105i
Delivered-To: 316271-done at 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-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02


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

hey,

after having revisited this report while doing some housecleaning, i
feel it should be closed. =20

first, after having read over the problem again, it seems that the
problem was actually in the adduser utility rather than nagios:

> chage: can't open shadow password fileadduser: `/usr/bin/chage -M 99999

nagios doesn't call chage, which was actually called by adduser.  why
adduser wasn't able to cope with the non-existance of the shadow file
may never be known, but there was nothing nagios could have done.

that, combined with the revelations about skipping base-config  make me
think that this doesn't affect nagios so i'll be closing the bug.


thanks,
	sean


--=20

--VS++wcV0S1rZb1Fb
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFDEz5LynjLPm522B0RArq3AJ9s2pMhXvPlLds4yWIZa9Gp1u4kPACdE9wx
pDMs2wMiazS8WTeKud6Qfu0=
=EXZb
-----END PGP SIGNATURE-----

--VS++wcV0S1rZb1Fb--



More information about the Pkg-nagios-devel mailing list