misc/91980: /usr/sbin/rpc.yppasswdd leaves zombie sh processes
Arjan van der Velde
a.vandervelde at xs4all.nl
Wed Jan 18 16:30:08 PST 2006
>Number: 91980
>Category: misc
>Synopsis: /usr/sbin/rpc.yppasswdd leaves zombie sh processes
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 19 00:30:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Arjan van der Velde
>Release: 6.0-RELEASE-p2 on i386
>Organization:
Mohja
>Environment:
FreeBSD prime 6.0-RELEASE-p2 FreeBSD 6.0-RELEASE-p2 #0: Thu Jan 12 13:38:48 CET 2006 root at prime:/usr/obj/usr/src/sys/noresult-prime-0.2 i386
>Description:
Whenever changing a password the rpc.yppasswdd updates the password correctly, but leaves a process "[sh]" in zombie state. See below.
prime# ps -axj | grep "rpc\.yppasswdd"
root 4437 1 4437 4437 0 Is ?? 0:00.01 /usr/sbin/rpc.yppasswdd -v
prime# ps -axj | grep 4437
root 4437 1 4437 4437 0 Is ?? 0:00.01 /usr/sbin/rpc.yppasswdd -v
root 4440 4437 4437 4437 0 RE ?? 0:00.26 [sh]
root 5042 3826 5041 3796 2 S+ p1 0:00.00 grep 4437
prime#
The sh process cannot be killed. The only solution is to restart rpc.yppasswdd. I'm not sure what the impact of those zombie processes is and as a workaround one could do a periodical restart of the rpc.yppasswdd process.
Thanks,
Regards,
Arjan van der Velde
>How-To-Repeat:
Setup a NIS server and start the rpc.yppasswdd process by turning on the following options in rc.conf:
nisdomainname="nis-domain"
nis_server_enable="YES"
nis_yppasswdd_enable="YES"
nis_client_enable="YES"
nis_client_flags="-S ftaclub-nis,192.168.10.15"
nis_yppasswdd_flags="-v"
in /var/yp there is a master.passwd present containing a selection of user to be served using NIS. The initial NIS maps have been created following the handbook.
>Fix:
Workaround: restart the rpc.yppasswdd process periodically.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list