[FS#1536] Ubus: not creating needed /var/run directory

LEDE Bugs lede-bugs at lists.infradead.org
Wed May 9 02:55:31 PDT 2018


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

User who did this - Christian Schoenebeck (chris5560) 

Attached to Project - OpenWrt/LEDE Project
Summary - Ubus: not creating needed /var/run directory
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - All
Due in Version - Undecided
Due Date - Undecided
Details - /sbin/init create /tmp/run directory.
ubus uses /var/run directory that’s normally linked to /tmp aka /tmp/run and starts up.

If by accident /var is deleted and the router is rebooted the system hangs forever.
It does not help to create an empty /var directory /var/run is not created by ubus.

Console shows: “procd - early -” and afterwards “procd - ubus -”
The needed directories are created later inside “/etc/rc.d/S10boot” aka “/etc/init.d/boot”


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



More information about the lede-bugs mailing list