Skip to content

wip: Improve parsing of fstab options in init.d/root - #1096

Closed
meoovv wants to merge 1 commit into
OpenRC:masterfrom
meoovv:service-root
Closed

meoovv wants to merge 1 commit into
OpenRC:masterfrom
meoovv:service-root

Conversation

@meoovv

@meoovv meoovv commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

closes #907 , fix is similar to #1095

Comment thread init.d/root.in
{
local root_opts=",$(fstabinfo -o /),"
case "$root_opts" in
case ",${root_opts}," in

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unnecessary, root_opts already inserts commas in the string

@navi-desu

Copy link
Copy Markdown
Member

this just adds an extra pair of commas around the mount options, i don't think it fixes #907 at all, i'll have to take a look at it later

@meoovv meoovv changed the title Improve parsing of fstab options in init.d/root wip: Improve parsing of fstab options in init.d/root Sep 28, 2026
@meoovv

meoovv commented Sep 28, 2026

Copy link
Copy Markdown
Contributor Author

yeah, i should've tested this first 🧐
the real problem is: #907 (comment)

@meoovv

meoovv commented Sep 28, 2026

Copy link
Copy Markdown
Contributor Author

fix would involve filtering out rshared, shared, rslave, slave options in do_mount

do_mount(struct ENT *ent, bool remount)
.
ill close this for now.

@meoovv meoovv closed this Sep 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding rshared to fstab causes error meesages in rc.log

2 participants