From owner-freebsd-bugs Sun May 23 0:20: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0AC6D14E14 for ; Sun, 23 May 1999 00:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id AAA91666; Sun, 23 May 1999 00:20:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from onion.ish.org (onion.ish.org [210.145.219.202]) by hub.freebsd.org (Postfix) with ESMTP id A67A014E13 for ; Sun, 23 May 1999 00:15:20 -0700 (PDT) (envelope-from ishizuka@ish.org) Received: (from ishizuka@localhost) by onion.ish.org (8.9.3/3.7Wpl1-08/27/98) id QAA11991; Sun, 23 May 1999 16:15:18 +0900 (JST) Message-Id: <199905230715.QAA11991@onion.ish.org> Date: Sun, 23 May 1999 16:15:18 +0900 (JST) From: Masachika ISHIZUKA Reply-To: ishizuka@ish.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/11860: inetd is broken when kill -HUP Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 11860 >Category: bin >Synopsis: inetd is broken if kill -HUP `/var/run/inetd.pid` >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 23 00:20:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Masachika ISHIZUKA >Release: FreeBSD 3.2-RELEASE i386 >Organization: ish.org >Environment: FreeBSD 3.2R >Description: After modifying /etc/inetd.conf, we use the following command, # kill -HUP `/var/run/inetd.pid` But it let inetd not to work correctly. After kill -HUP, inetd can't recognize daemon name in /etc/hosts.allow. For example, | onion% cat /etc/hosts.allow | telnetd : pumpkin : allow | ALL : ALL : deny | | pumpkin% telnet onion | Trying xxx.xxx.xxx.xxx... | Connected to onion | Escape character is '^]'. | | FreeBSD (onion) (ttyp1) | | login: | | onion# kill -HUP `/var/run/inetd.pid` | | pumpkin% telnet onion | Trying xxx.xxx.xxx.xxx... | Connected to onion | Escape character is '^]'. | Connection closed by foreign host. >How-To-Repeat: See description. >Fix: I don't know. You can kill inetd, and then restart /usr/sbin/inetd, but I think its very dangerous. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message