Bug#907189: busybox-syslogd: Please provide systemd .service files (attached)
- To: 907189@bugs.debian.org
- Subject: Bug#907189: busybox-syslogd: Please provide systemd .service files (attached)
- From: Michael Tokarev <mjt@tls.msk.ru>
- Date: Tue, 6 Jun 2023 19:27:20 +0300
- Message-id: <[🔎] 49af2864-3b6a-ddc8-8067-444eba103fbd@tls.msk.ru>
- Reply-to: Michael Tokarev <mjt@tls.msk.ru>, 907189@bugs.debian.org
- In-reply-to: <f3e0054e-d034-d125-8d42-29f5e78c63b7@tls.msk.ru>
- References: <20180824163900.Horde.cre-uBr8Vg_6ksAfqSMqpVd@webmail.in-berlin.de> <20180824163900.Horde.cre-uBr8Vg_6ksAfqSMqpVd@webmail.in-berlin.de> <f3e0054e-d034-d125-8d42-29f5e78c63b7@tls.msk.ru> <20180824163900.Horde.cre-uBr8Vg_6ksAfqSMqpVd@webmail.in-berlin.de>
21.01.2023 19:49, Michael Tokarev wrote:
..
What's the reason to provide these systemd services for busybox-syslogd?
In my view, busybox-syslogd can be used as a minimal syslogging service
on a bare minimal system without much else besides busybox itself.
On a system with systemd, systemd-journald is already running, and provides
far better logging services than busybox-syslogd, including kernel logging
and /dev/log redirection.
I don't really see the point in providing systemd .services for busybox-syslogd.
After some thinking and facing issues with logging on a low-power machine where
systemd-journald is taking just too much time to find journal entries, I think
it is a good idea to provide busybox-syslogd.
In /etc/init.d/busybox-klogd, we have if running_under_systemd; then exit; fi -
added by me, with a comment stating klogd makes no sense under systemd. This
is apparently wrong, - yes, journald does intercept kernel log and logs it to
the journal, but it suffers from the same prob: on a low-power machine these
journal entries takes ages to retrieve. So it makes sense to package klogd
too, and to provide systemd service file for it.
Doing that now.
/mjt
Reply to: