[FS#3485] logd: log starts up before networking, causing remote logging to miss boot messages

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Tue Dec 1 11:52:26 EST 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Dan Berger (dfberger) 

Attached to Project - OpenWrt/LEDE Project
Summary - logd: log starts up before networking, causing remote logging to miss boot messages 
Task Type - Bug Report
Category - Packages
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - openwrt-19.07
Due in Version - Undecided
Due Date - Undecided
Details - # grep PRETTY_NAME /etc/os-release
PRETTY_NAME="OpenWrt 19.07.4"

rc.d contains:

K10ddns -> ../init.d/ddns
...
K99socat -> ../init.d/socat
S00sysfixtime -> ../init.d/sysfixtime
S00urngd -> ../init.d/urngd
S01haveged -> ../init.d/haveged
S10boot -> ../init.d/boot
S10system -> ../init.d/system
S11sysctl -> ../init.d/sysctl
S12log -> ../init.d/log
S12rpcd -> ../init.d/rpcd
S19dnsmasq -> ../init.d/dnsmasq
S19dropbear -> ../init.d/dropbear
S19firewall -> ../init.d/firewall
S20network -> ../init.d/network
...


note log is S12, network is S20

there's a comment at the top of the log rc script which suggests this is the wrong order:

# cat /etc/init.d/log
#!/bin/sh /etc/rc.common
# Copyright (C) 2013 OpenWrt.org

# start after and stop before networking
START=12
STOP=89
PIDCOUNT=0

note: "start after ... networking"



More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3485

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list