void-linux / void-linux/void-runit
03-filesystems.sh ignores ro option in /etc/fstab for root fs
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 245
- Forks
- 67
- Avg merge
- 2d
- Merged PRs (30d)
- 2
Description
Even with default,ro in /etc/fstab for root fs (/) the filesystem is always mounted as read-write. Relevant part of /etc/runit/core-services/03-filesystems.sh:
msg "Mounting rootfs read-write..."
mount -o remount,rw / || emergency_shell
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with /etc/runit/core-services/03-filesystems.sh and inspect how the root filesystem remount command relates to the /etc/fstab options. Reproduce or trace the root mount with default,ro configured, then verify that the root filesystem remains read-only while other required startup behavior still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100