mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/busybox-initscripts: fix klogd startup klogd should rely on syslog, as syslog must already be running for klogd to properly utilize it
This commit is contained in:
parent
0865952997
commit
ce73d3dd40
@ -6,7 +6,7 @@ command_args="${KLOGD_OPTS}"
|
|||||||
pidfile="/var/run/klogd.pid"
|
pidfile="/var/run/klogd.pid"
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
need clock hostname localmount
|
need clock hostname localmount syslog
|
||||||
before net
|
before net
|
||||||
keyword -vserver -lxc
|
keyword -vserver -lxc
|
||||||
}
|
}
|
||||||
|
@ -9,6 +9,6 @@ pidfile="/var/run/syslogd.pid"
|
|||||||
start_stop_daemon_args="-g wheel -k 027"
|
start_stop_daemon_args="-g wheel -k 027"
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
need clock hostname klogd localmount
|
need clock hostname localmount
|
||||||
provide logger
|
provide logger
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,9 @@ for i in etc/rc[SL].d/*; do
|
|||||||
|
|
||||||
# add the service to correct "runlevel"
|
# add the service to correct "runlevel"
|
||||||
case "$svc" in
|
case "$svc" in
|
||||||
hwclock|modules|sysctl|hostname|keymaps|syslog|bootmisc)
|
syslog|klogd)
|
||||||
|
rc_update $svc sysinit;;
|
||||||
|
hwclock|modules|sysctl|hostname|keymaps|bootmisc)
|
||||||
rc_update $svc boot;;
|
rc_update $svc boot;;
|
||||||
*) rc_update $svc default;;
|
*) rc_update $svc default;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user