supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* silent boot with runit
@ 2020-07-13  5:23 Kian Kasad
  2020-07-13 10:40 ` Laurent Bercot
  0 siblings, 1 reply; 2+ messages in thread
From: Kian Kasad @ 2020-07-13  5:23 UTC (permalink / raw)
  To: supervision

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

I was wondering if it is possible to get a silent boot without having to
modify runit itself. With systemd, the `quiet` kernel parameter acheives
this. Is there anything similar for runit to prevent messages being
displayed to the tty?

Also I tried looking in the mailing list archives, but neither site was
up.

Thanks,
Kian Kasad

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: silent boot with runit
  2020-07-13  5:23 silent boot with runit Kian Kasad
@ 2020-07-13 10:40 ` Laurent Bercot
  0 siblings, 0 replies; 2+ messages in thread
From: Laurent Bercot @ 2020-07-13 10:40 UTC (permalink / raw)
  To: Supervision

>I was wondering if it is possible to get a silent boot without having to
>modify runit itself. With systemd, the `quiet` kernel parameter acheives
>this. Is there anything similar for runit to prevent messages being
>displayed to the tty?

  No, runit hardcodes stdout and stderr to /dev/console. In order to
silence things, you'd have to:
  - either redirect the console to something nonexistent or quiet on
the kernel command line (would "console=null" work?)
  - or redirect stdout and stderr for the service you want to keep
quiet. For instance, if you want the supervision tree to be quiet,
you could add >/dev/null 2>&1 to the runsvdir invocation in
/etc/runit/2.

(With s6-linux-init, all of init's output is redirected to the default
logger, and you have a switch for whether or not to also display it
on the console.)


>Also I tried looking in the mailing list archives, but neither site was
>up.

  skarnet.org has been up for about 300 days. It is possible, however,
that specific messages that you wanted to access in the archive did not
display correctly.

--
  Laurent


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-13 10:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-13  5:23 silent boot with runit Kian Kasad
2020-07-13 10:40 ` Laurent Bercot

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).