[FS#4257] fstools: mount_root done not working corectly
openwrt-bugs at lists.openwrt.org
Sun Feb 6 17:32:49 PST 2022
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Daniel Santos (dansan)
Attached to Project - OpenWrt/LEDE Project
Summary - fstools: mount_root done not working corectly
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - openwrt-21.02
Due in Version - Undecided
Due Date - Undecided
Details - Supply the following if possible:
- Device problem occurs on
GSE MCG-101 (mt7620a board)
- Software versions of OpenWrt/LEDE release, packages, etc.
- Steps to reproduce
Install a package with valid init.d script to rootfs with init script not enabled (via DISABLED_SERVICE variable or my CONFIG_NO_ENABLE_SERVICE patch which I haven't yet submitted).
Attempt to enable the service via /etc/uci-defaults script via
I have a service that I enable in /etc/uci-defaults as long as prior initialization succeeds because I don't want it to try to start if there's a problem with prerequisites. I can see the it was executed because I'm logging this script and I've set -e:
+ /etc/rc.common /etc/init.d/sbd enable
Unfortunately, the service didn't start and instead I found a symlink at /tmp/root/upper/etc/rc.d/S57sbd, but not at /overlay/upper/etc/rc.d/S57sbd after init had completed and the jffs2 system was mounted. So something is going wrong, I presume in projects/fstools/mount_root.c jffs2_switch().
More information can be found at the following URL:
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