supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: "Laurent Bercot" <ska-supervision@skarnet.org>
To: "Mr Rini" <wastelander1972@gmail.com>, supervision@list.skarnet.org
Subject: Re: OpenVPN runit service flooding tty
Date: Mon, 04 Dec 2023 00:40:03 +0000	[thread overview]
Message-ID: <em783517f5-4f39-4f2f-b9e8-a3f4b277bf3c@e23db244.com> (raw)
In-Reply-To: <CAH5fFJoYA7HaFxDgpErnsd+UEgqDxmLCBQ1FBtdJ0AkXZZ0YeA@mail.gmail.com>


>Hi, I am using the Artix Linux runit service for OpenVPN, available here:
>https://gitea.artixlinux.org/packages/openvpn-runit

  Sounds like two compounding problems:
  1. the default logging place for the runit supervision tree is the same
terminal you're using to log in
  2. there is no dedicated logger for the openvpn service.

  IIRC, 1. is intrinsic to runit, there is no way to redirect the default
logging, and that means your console is at the mercy of verbose services 
-
so every service needs a dedicated logger.
  You can use --syslog as a workaround indeed, but 2. should be fixed: a
runit service should use the runit logging facility. That is something
you should report and suggest to the maintainer of the openvpn service
in Artix.

--
  Laurent


  reply	other threads:[~2023-12-04  0:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAH5fFJp+rKgj2CUdeTiKdijWFzRKa4O8HG-Qw-0D=xojPCWEew@mail.gmail.com>
2023-12-03 21:22 ` Mr Rini
2023-12-04  0:40   ` Laurent Bercot [this message]
2023-12-05  7:29     ` Jan Braun

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=em783517f5-4f39-4f2f-b9e8-a3f4b277bf3c@e23db244.com \
    --to=ska-supervision@skarnet.org \
    --cc=supervision@list.skarnet.org \
    --cc=wastelander1972@gmail.com \
    /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).