Skip to content

Mount options (lxc.mount.entry) handling improvements#4547

Merged
stgraber merged 2 commits into
lxc:mainfrom
mihalicyn:mnt_opts_parsing_impr
May 10, 2025
Merged

Mount options (lxc.mount.entry) handling improvements#4547
stgraber merged 2 commits into
lxc:mainfrom
mihalicyn:mnt_opts_parsing_impr

Conversation

@mihalicyn

Copy link
Copy Markdown
Member

No description provided.

@mihalicyn mihalicyn force-pushed the mnt_opts_parsing_impr branch from fc5e376 to 6fcc752 Compare May 10, 2025 07:11
mihalicyn added 2 commits May 10, 2025 13:41
Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Currently, if user wants to use a flag-like mount option in lxc.mount.entry,
for example "userxattr" with overlayfs then it will be silently ignored.

Let's fix that by making parse_vfs_attr() to process all mount options.

Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
@mihalicyn mihalicyn force-pushed the mnt_opts_parsing_impr branch from 6fcc752 to afb35f3 Compare May 10, 2025 11:41
@mihalicyn mihalicyn marked this pull request as ready for review May 10, 2025 11:50
@mihalicyn mihalicyn requested a review from stgraber May 10, 2025 11:50
@stgraber stgraber merged commit 1077752 into lxc:main May 10, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants