Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2009 12:49:23 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Barkley Vowk <bvowk@math.ualberta.ca>
Cc:        hackers@freebsd.org, delphij@freebsd.org, rafan@freebsd.org
Subject:   Re: rpc.yppasswdd fails in 7.2?
Message-ID:  <20090629094923.GU2884@deviant.kiev.zoral.com.ua>
In-Reply-To: <alpine.BSF.2.00.0906261648070.95627@3jane.math.ualberta.ca>
References:  <alpine.BSF.2.00.0906261648070.95627@3jane.math.ualberta.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

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

On Fri, Jun 26, 2009 at 04:59:29PM -0600, Barkley Vowk wrote:
> I've got a 7.2 box acting as NIS master, running rpc.yppasswdd. When=20
> remote users try to change their passwords they see:
>=20
> testing1# passwd mytest
> Changing NIS password for mytest
> Old Password:
> New Password:
> Retype New Password:
> passwd: pam_chauthtok(): error in service module
>=20
> On the server I get this in the logs:
> rpc.yppasswdd[36858]: pw_mkdb() failed
>=20
> I tracked the error message down to line 620 of yppasswdd_server.c, which
> lead me to libutil/pw_util.c.
>=20
> It looks like waitpid in mk_pwdb is returning the error "No child=20
> processes", which then makes mk_pwdb return an error. But the child does=
=20
> run and do it's job as expected. If you edit yppasswdd_server.c to ignore=
=20
> the return value of mk_pwdb, passwords are changed as expected.

I think this is a side-effect of r184459/r186756, that made rpc.yppasswdd to
ignore SIGCHLD.

--EzyTiZo8w1pFn3ee
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkpIjiIACgkQC3+MBN1Mb4hkDwCfbwZN8ules/o3b8fv7V28bHf0
pUUAn2Rwuf0WogYhBDeij1Axm6KH8hc+
=W9lh
-----END PGP SIGNATURE-----

--EzyTiZo8w1pFn3ee--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090629094923.GU2884>