supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Gerrit Pape <pape@smarden.org>
Subject: Re: Debian vserver [REPORT]
Date: Sun, 15 May 2005 10:46:30 +0000	[thread overview]
Message-ID: <20050515104634.16136.qmail@3cb28cd8aeeaa2.315fe32.mid.smarden.org> (raw)
In-Reply-To: <20050510132906.GA8019@harfang.homelinux.org>

[-- Attachment #1: Type: text/plain, Size: 496 bytes --]

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.

[-- Attachment #2: diff --]
[-- Type: text/plain, Size: 451 bytes --]

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();

      reply	other threads:[~2005-05-15 10:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-09 13:27 Gilles
2005-05-10 13:29 ` Gilles
2005-05-15 10:46   ` Gerrit Pape [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050515104634.16136.qmail@3cb28cd8aeeaa2.315fe32.mid.smarden.org \
    --to=pape@smarden.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).