From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/794 Path: news.gmane.org!not-for-mail From: Gerrit Pape Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Debian vserver [REPORT] Date: Sun, 15 May 2005 10:46:30 +0000 Message-ID: <20050515104634.16136.qmail@3cb28cd8aeeaa2.315fe32.mid.smarden.org> References: <20050509132709.GC31001@harfang.homelinux.org> <20050510132906.GA8019@harfang.homelinux.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ReaqsoxgOBHFXBhH" X-Trace: sea.gmane.org 1116153998 5536 80.91.229.2 (15 May 2005 10:46:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 May 2005 10:46:38 +0000 (UTC) Original-X-From: supervision-return-1030-gcsg-supervision=m.gmane.org@list.skarnet.org Sun May 15 12:46:36 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1DXGdI-0002vD-5O for gcsg-supervision@gmane.org; Sun, 15 May 2005 12:46:04 +0200 Original-Received: (qmail 1978 invoked by uid 76); 15 May 2005 10:46:39 -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 1973 invoked from network); 15 May 2005 10:46:39 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20050510132906.GA8019@harfang.homelinux.org> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:794 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:794 --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Gilles, thanks for this report. On Tue, May 10, 2005 at 03:29:06PM +0200, Gilles wrote: > I forgot to mention the following warning, printed at > vserver startup: > > - runit: warning: unable to open /dev/console: file does not exist > > Is it possible to avoid it? I'm not familiar with the vserver environment, and don't know whether it's possible to have it providing the /dev/console device. To make runit not print this warning you would need to change the source. Regards, Gerrit. --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=diff Index: src/runit.c =================================================================== RCS file: /cvs/runit/src/runit.c,v retrieving revision 1.12 diff -u -r1.12 runit.c --- src/runit.c 26 Jun 2004 14:28:12 -0000 1.12 +++ src/runit.c 15 May 2005 10:44:45 -0000 @@ -114,8 +114,6 @@ dup2(ttyfd, 0); if (ttyfd > 2) close(ttyfd); } - else - strerr_warn2(WARNING, "unable to open /dev/console: ", &strerr_sys); } else setsid(); --ReaqsoxgOBHFXBhH--