From owner-freebsd-bugs Tue Feb 15 4:19:39 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by builder.freebsd.org (Postfix) with ESMTP id 456824365 for ; Tue, 15 Feb 2000 04:19:37 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA00563; Tue, 15 Feb 2000 04:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from yoda.fwe.pi.musin.de (yoda.fwe.pi.musin.de [194.246.250.18]) by builder.freebsd.org (Postfix) with ESMTP id 3148742D5 for ; Tue, 15 Feb 2000 04:15:32 -0800 (PST) Received: by yoda.fwe.pi.musin.de (Postfix, from userid 4242) id B6DE8382; Tue, 15 Feb 2000 13:15:50 +0100 (CET) Message-Id: <20000215121550.B6DE8382@yoda.fwe.pi.musin.de> Date: Tue, 15 Feb 2000 13:15:50 +0100 (CET) From: sec@yoda.fwe.pi.musin.de Reply-To: sec@yoda.fwe.pi.musin.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/16726: rpc.rstatd from inetd sig11's Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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//) >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