Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2000 13:15:50 +0100 (CET)
From:      sec@yoda.fwe.pi.musin.de
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/16726: rpc.rstatd from inetd sig11's
Message-ID:  <20000215121550.B6DE8382@yoda.fwe.pi.musin.de>

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

>Number:         16726
>Category:       bin
>Synopsis:       rpc.rstatd from inetd sig11's
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 15 04:20:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Stefan `Sec` Zehl
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
>Environment:

Reasonably recent 3.4-STABLE:

FreeBSD yoda 3.4-STABLE FreeBSD 3.4-STABLE #1: Tue Jan 18 17:55:37 CET 2000     root@:/usr/src/sys/compile/YODA  i386

>Description:

I have 'xsysstats' running, which monitors machines via the rcp.rstatd

rpc.rstatd is started via inetd:

yoda:~>grep rstatd /etc/inetd.conf
rstatd/1-3      dgram rpc/udp wait root /usr/libexec/rpc.rstatd  rpc.rstatd

every now when I start xsysstats i get the following in /var/log/messages:

Feb 15 12:51:22 yoda inetd[194]: /usr/libexec/rpc.rstatd[59201]: exit status 0xb
Feb 15 12:51:22 yoda /kernel: pid 59202 (inetd), uid 0: exited on signal 11
Feb 15 12:51:22 yoda inetd[194]: /usr/libexec/rpc.rstatd[59202]: exit status 0xb
Feb 15 12:51:22 yoda /kernel: pid 59203 (inetd), uid 0: exited on signal 11
Feb 15 12:51:22 yoda inetd[194]: /usr/libexec/rpc.rstatd[59203]: exit status 0xb
Feb 15 12:51:22 yoda /kernel: pid 59204 (inetd), uid 0: exited on signal 11
Feb 15 12:51:23 yoda inetd[194]: /usr/libexec/rpc.rstatd[59204]: exit status 0xb
Feb 15 12:51:23 yoda /kernel: pid 59205 (inetd), uid 0: exited on signal 11
Feb 15 12:51:23 yoda inetd[194]: /usr/libexec/rpc.rstatd[59205]: exit status 0xb
Feb 15 12:51:23 yoda /kernel: pid 59206 (inetd), uid 0: exited on signal 11
Feb 15 12:51:23 yoda inetd[194]: /usr/libexec/rpc.rstatd[59206]: exit status 0xb
Feb 15 12:51:23 yoda inetd[194]: rstatd/udp server failing (looping), service terminated

If I then start "/usr/libexec/rpc.rstatd" as root from the shell, everything
works fine.

>How-To-Repeat:

	

enable rpc.rstatd in inetd.conf, kill -HUP inetd
install /usr/ports/sysutils/xsysstats
and start it like this:

xsysstats -allnames -split 1x3 -display :0.0  -window 1  -type cpu@yoda -color "blue" -window 2  -type disk@yoda -color "blue" -window 3  -type pkts@yoda -color "blue" -samescale -geometry 300x10-0-4 &

(just an example, s/yoda/<your_machine>/)


>Fix:
	
(workaround) Start rpc.rstatd by hand, and not from inetd.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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