Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 1999 16:15:18 +0900 (JST)
From:      Masachika ISHIZUKA <ishizuka@ish.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/11860: inetd is broken when kill -HUP
Message-ID:  <199905230715.QAA11991@onion.ish.org>

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

>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




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