From owner-freebsd-bugs Sun Jul 21 9: 0:13 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B71D037B400 for ; Sun, 21 Jul 2002 09:00:09 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7673143E31 for ; Sun, 21 Jul 2002 09:00:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6LG09JU094679 for ; Sun, 21 Jul 2002 09:00:09 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6LG099T094678; Sun, 21 Jul 2002 09:00:09 -0700 (PDT) Date: Sun, 21 Jul 2002 09:00:09 -0700 (PDT) Message-Id: <200207211600.g6LG099T094678@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Johan Karlsson Subject: Re: misc/26636: If /etc/ttys goes empty, init(8) never rereads it Reply-To: Johan Karlsson Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/26636; it has been noted by GNATS. From: Johan Karlsson To: Matthew Braithwaite Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/26636: If /etc/ttys goes empty, init(8) never rereads it Date: Sun, 21 Jul 2002 17:51:33 +0200 On Sat, Jul 13, 2002 at 17:39 (-0700) +0000, Matthew Braithwaite wrote: > > It is clearly stated in the manpage that one > > have to send a HUP signal to init for it to reread > > the ttys file. > > Yes, I know that. But after /etc/ttys has gone empty, a SIGHUP won't > make init reread it. Ok, so does 1: clear /etc/ttys 2: SIGHUP init 2.5: make sure nothing is started by init 3: restore /etc/ttys 4: SIGHUP init 4.5: make sure the stuff in ttys is started by init not work as excpected for you? If not, what happens? It seems to work for me. Maybe you are doing something different from me. /Johan K -- Johan Karlsson mailto:johan@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message