All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 0/8] init scripts: rewrite S01logging
Date: Thu, 11 Oct 2018 17:09:48 +0200	[thread overview]
Message-ID: <20181011170948.3594d391@windsurf> (raw)
In-Reply-To: <20181007114605.18153-1-casantos@datacom.com.br>

Hello,

On Sun,  7 Oct 2018 08:45:57 -0300, Carlos Santos wrote:
> Continuing our effort to improve daemon startup scripts, this series
> focuses on S01logging, which starts the logging daemon. Common features
> are:
> 
> - Indent with tabs, not spaces.
> - Implement start, stop, restart and reload as functions.
> - Use start-stop-daemon.
> - Correctly detect and report start/stop/restart/reload errors.
> - Support a configuration file at /etc/default (example files for each
>   package are provided in individual patches).
> - Support a configuration variable that completely disables the service
>   and issues a warning message on any invocation.

Thanks a lot for working on this, much appreciated. Overall, I am happy
with the proposal you're making and the consistency between init
scripts that your proposal is bringing.

The only thing that I'm not entirely sure about is specific to these
logging init scripts:

 (1) Do we really want that Busybox, syslog-ng, rsyslog, sysklogd all
     install a file of the same name, S01logging ? Isn't this
     contradicting our goal of not having one package overwrite files
     installed by another package ?

     Wouldn't it make more sense to install S01syslog-ng, S01rsyslog,
     S01sysklogd ? This way, we also have a mapping between the init
     script name and the daemon/package being started ?

 (2) For the Busybox case, do we want to keep a single init script that
     starts both klogd and syslogd ? Or should we have one init script
     per daemon, so that again the init script name matches the daemon
     being started ? So S01klogd, S01syslogd ?

Note: the above points are really proposals/discussion items. Do not
rework your series according to those comments until there has been
some discussion/agreement with other developers.

Another point, but which can definitely be handled separately, is
documenting in the manual what the init scripts should look like, by at
least pointing to the "good" init scripts, so that people know which
ones are good to use as a template.

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  parent reply	other threads:[~2018-10-11 15:09 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-07 11:45 [Buildroot] [PATCH v3 0/8] init scripts: rewrite S01logging Carlos Santos
2018-10-07 11:45 ` [Buildroot] [PATCH v3 1/8] busybox: update S01logging Carlos Santos
2018-10-08 15:14   ` Matthew Weber
2018-10-21 18:23   ` Arnout Vandecappelle
2018-10-07 11:45 ` [Buildroot] [PATCH v3 2/8] busybox: add logging configuration file Carlos Santos
2018-10-08 15:23   ` Matthew Weber
2018-10-21 18:27   ` Arnout Vandecappelle
2018-11-02 19:01     ` Carlos Santos
2018-10-07 11:46 ` [Buildroot] [PATCH v3 3/8] rsyslog: update S01logging Carlos Santos
2018-10-08 15:31   ` Matthew Weber
2018-10-07 11:46 ` [Buildroot] [PATCH v3 4/8] rsyslog: add logging configuration file Carlos Santos
2018-10-08 15:31   ` Matthew Weber
2018-10-07 11:46 ` [Buildroot] [PATCH v3 5/8] sysklogd: update S01logging Carlos Santos
2018-10-07 11:46 ` [Buildroot] [PATCH v3 6/8] sysklogd: add logging configuration file Carlos Santos
2018-10-07 11:46 ` [Buildroot] [PATCH v3 7/8] syslog-ng: update S01logging Carlos Santos
2018-10-07 11:46 ` [Buildroot] [PATCH v3 8/8] syslog-ng: add logging configuration file Carlos Santos
2018-10-11 15:09 ` Thomas Petazzoni [this message]
2018-10-12 11:50   ` [Buildroot] [PATCH v3 0/8] init scripts: rewrite S01logging Carlos Santos
2018-10-13 12:55     ` Thomas Petazzoni
2018-11-02 21:13       ` Carlos Santos
2018-11-02 21:25         ` Thomas Petazzoni
2018-11-02 22:30           ` Arnout Vandecappelle
2018-11-03 10:44             ` Thomas Petazzoni

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=20181011170948.3594d391@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.