Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#4257 - fstools: mount_root done not working corectly #9237

Open
openwrt-bot opened this issue Feb 7, 2022 · 0 comments
Open

FS#4257 - fstools: mount_root done not working corectly #9237

openwrt-bot opened this issue Feb 7, 2022 · 0 comments
Labels
flyspray release/21.02 pull request/issue targeted (also) for OpenWrt 21.02 release

Comments

@openwrt-bot
Copy link

dansan:

Supply the following if possible:

  • Device problem occurs on
    GSE MCG-101 (mt7620a board)

  • Software versions of OpenWrt/LEDE release, packages, etc.
    v21.02

  • 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().

@aparcar aparcar added the release/21.02 pull request/issue targeted (also) for OpenWrt 21.02 release label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray release/21.02 pull request/issue targeted (also) for OpenWrt 21.02 release
Projects
None yet
Development

No branches or pull requests

2 participants