openwrt / openwrt/fstools

blockd attempts to mount the system partition to /mnt

Open
#17 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
4
Forks
19
PR merge metrics
No merged PRs in 30d

Description

@dangowrt

https://forum.openwrt.org/t/saving-changes-on-mount-point-page-causes-device-to-fail/206368

I posted on a forum a few years ago but didn't get an answer. This issue seems to occur only on ext4 systems. The problem occurs when I change any options in system -> mount points and save&apply.

Looking at "ubus monitor," it seems to be attempting to remove the system partition using mount.remove and then remount it to /mnt. Is that correct? I am not a developer, so I may not be entirely accurate. I would appreciate it if you could take a look.

ubus monitor.txt

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the problem on an ext4 system through System → Mount Points and Save & Apply. Inspect the attached ubus monitor output, focusing on mount.remove and the reported attempt to remount the system partition at /mnt. Done means the system partition is not incorrectly removed or mounted at /mnt during this operation.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.