mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
Fix slow syslogd remote syslog startup and klogd interaction
Because syslogd is not properly started its remote syslog support when klogd dumps its kernel ring buffer content to it, most of the kernel boot output is missing on the remote syslog server. By adding a small delay between syslogd and klogd, we are sure the messages are properly send to the remote syslog by syslogd.
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
source /storage/.cache/syslog/remote
|
||||
fi
|
||||
|
||||
SYSLOGD_OPTIONS="-L -D"
|
||||
SYSLOGD_OPTIONS="-L"
|
||||
|
||||
if [ "$SYSLOG_REMOTE" == "true" -a "$SYSLOG_SERVER" ]; then
|
||||
SYSLOGD_OPTIONS="-R $SYSLOG_SERVER $SYSLOGD_OPTIONS"
|
||||
@@ -42,6 +42,8 @@
|
||||
|
||||
syslogd $SYSLOGD_OPTIONS
|
||||
|
||||
sleep 3
|
||||
|
||||
progress "Starting Kernellog daemon"
|
||||
klogd
|
||||
)&
|
||||
|
||||
Reference in New Issue
Block a user