After editing mountpoints in luci and clicking save, something goes really wrong
/etc/config/fstab still looks okay though
After editing mountpoints in luci and clicking save, something goes really wrong
/etc/config/fstab still looks okay though
Do you have âanonymous mountsâ enabled? (option anon_mount 1
)
I think thatâs the cause, blockd is likely trying to (re)mount / , /boot etc. without realizing theyâve been already mounted as part of the system boot.
A similar thing happens on ubifs/NAND as well so I guess it needs some adjustments to work with non-traditional OpenWrt systems.
(âtraditionalâ = OpenWrt on NOR)
I finally tracked down the cause of this! There is an âautofsâ scan done when you click the âSave & Applyâ button on the mount points screen. The scan did not recognize the disk drive mounted as / so it fired a hotplug event to unmount it.
Preliminary patch here:
Thanks for this. I note it isnât available in https://archive.traverse.com.au/pub/traverse/ls1088firmware/openwrt/branches/22_03/latest/image/openwrt-armvirt-64-generic-ext4-combined.img.gz - any chance of including it in a new build?
Fix is in the 22.03 branch as of this build:
https://archive.traverse.com.au/pub/traverse/ls1088firmware/openwrt/branches/22_03/761053395/image/
Iâve been intending to revisit it before submitting upstream, ideally it needs to be regression tested on a âtraditionalâ (NOR/jffs2) OpenWrt device.