From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1178 Path: news.gmane.org!not-for-mail From: Richard A Downing FBCS CITP Newsgroups: gmane.comp.sysutils.supervision.general Subject: Runit on tty1 Date: Fri, 23 Jun 2006 20:26:28 +0100 Message-ID: <449C4064.6050504@langside.org.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1151131062 13641 80.91.229.2 (24 Jun 2006 06:37:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 24 Jun 2006 06:37:42 +0000 (UTC) Original-X-From: supervision-return-1414-gcsg-supervision=m.gmane.org@list.skarnet.org Sat Jun 24 08:37:40 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1Fu1lz-0007nH-2u for gcsg-supervision@gmane.org; Sat, 24 Jun 2006 08:37:39 +0200 Original-Received: (qmail 31447 invoked by uid 76); 24 Jun 2006 06:37:59 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 19158 invoked from network); 23 Jun 2006 19:31:18 -0000 User-Agent: Thunderbird 1.5.0.2 (X11/20060425) Original-To: supervision@list.skarnet.org Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1178 Archived-At: I have just built a new system (glibc-2.4, gcc04.1.1, linux-2.6.17.1) with runit-1.5.1. This seems to be quite stable except that tty1 does not accept ctrl-c - indeed if /etc/runit/ctrlaltdel exists, this is run when ctrl-c is pressed on tty1 (and causes a reboot as expected). Another effect, also only on tty1 is that a long output can be interrupted by a replay of earlier output, this can be recovered by switching to another tty and back - nothing is in fact list, it's just the screen output. Further investigation reveals that runit, as process 1, is marked by ps-ef as being on tty1 and the bash process started by getty-1 is marked as ? for it's TTY. I suspect this is the problem, as it is quite unlike my other runit-based systems. There are no errors in the runsvdir proctitle. Does anyone have any idea what has gone wrong? Richard.