No /proc/mounts

After editing mountpoints in luci and clicking save, something goes really wrong

image
image

/etc/config/fstab still looks okay though

Do you have “anonymous mounts” enabled? (option anon_mount 1)
image

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)

No, that doesn’t seem to be set.

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:

1 Like

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.