Subject: Re: rpc.yppasswdd problems
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 06/11/2002 11:08:48
On Tue, Jun 11, 2002 at 10:10:39AM +0300, Martti Kuparinen wrote:
> On Mon, 10 Jun 2002, Manuel Bouyer wrote:
> 
> > I fixed this problem in the attached patch. This is for 1.6.
> 
> I'm sorry to say, but it doesn't work for me even though the patch
> applied cleanly. I still get this (an nothing in the logs).

The code uses warnx(), I'm not sure this goes anywhere as this program
uses daemon().
Maybe try to recompile without calling daemon() and see if you get
messages on stderr.

> 
> sl:~> passwd
> Changing YP password for martti.
> Old password:
> New password:
> Retype new password:
> Couldn't change YP password.
> 
> sl:~> ls -l /usr/sbin/rpc.yppasswdd
> -r-xr-xr-x  1 root  wheel  11916 Jun 11 08:59 /usr/sbin/rpc.yppasswdd
> 
> sl:~> ps axw
>   PID TT STAT     TIME COMMAND
>  6376 ?? Ss    0:00.01 /usr/sbin/rpc.yppasswdd -d /var/yp
> 
> And restart won't work properly either...

I noticed this too, but I got it with the old one as well. There's a comment
about signal handlers not restored in the code, this may be the reason.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--