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: "billa chaitanya" <billachaitanya@gmail.com>,
	supervision@list.skarnet.org
Subject: Re: S6 logging
Date: Tue, 09 Mar 2021 10:55:25 +0000	[thread overview]
Message-ID: <em95cd1a3f-8a13-4d7e-8f41-9ec3b9a9e400@elzian> (raw)
In-Reply-To: <CAH9hU4JPCKiFhGLcSVpCo=MJS97R45pw3xoxXGCgGAEk1y5FNg@mail.gmail.com>

>I am trying to log the prints coming from daemons like dropbear using
>s6-log, but couldn't make it.
>Am I missing something?

  You really need to improve on your way of asking for help.

"couldn't make it" is not an actionable report. You need to say:
- exactly what you did (you did that, good, but you did not mention
that you were using s6-rc, which may or may not be relevant)
- exactly what you expected (you didn't do that, but it is easy to
figure out)
- exactly what happened (you didn't do that at all and we're left
to guess).

  Going out on a limb, and reading the manual page (I haven't used
dropbear in a little while), I'm guessing that the problem is this:


>/usr/sbin/dropbear -F

  You also need the -E option in order to tell dropbear to send its
error messages to stderr instead of syslog.

  But if it still doesn't work with -F -E, then we'll need more precise
information.

--
  Laurent


      reply	other threads:[~2021-03-09 10:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-09  8:14 billa chaitanya
2021-03-09 10:55 ` Laurent Bercot [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=em95cd1a3f-8a13-4d7e-8f41-9ec3b9a9e400@elzian \
    --to=ska-supervision@skarnet.org \
    --cc=billachaitanya@gmail.com \
    --cc=supervision@list.skarnet.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).