Visitar URL original
incusd/device/disk: Use virtiofsd --posix-acl=auto if supported by germag · Pull Request #3468 · lxc/incus · GitHub
Skip to content

incusd/device/disk: Use virtiofsd --posix-acl=auto if supported - #3468

Merged
stgraber merged 1 commit into
lxc:mainfrom
germag:virtiofsd-acl-neg-modes
Jun 22, 2026
Merged

stgraber merged 1 commit into
lxc:mainfrom
germag:virtiofsd-acl-neg-modes

Conversation

@germag

@germag germag commented Jun 8, 2026 •

Copy link
Copy Markdown
Contributor

Detect virtiofsd negotiation mode support via --print-capabilities and use --posix-acl=auto if possible, so virtiofsd doesn't fail if the guest doesn't support posix ACLs.

A note for reviewers: calling --print-capabilities on older virtiofsd is safe (even the old C version) since it is mandatory for vhost-user backends[0]

Fixes #2947

[0] https://qemu-project.gitlab.io/qemu/interop/vhost-user.html#backend-program-conventions

Detect virtiofsd negotiation mode support via --print-capabilities
and use --posix-acl=auto if possible, so virtiofsd
doesn't fail if the guest doesn't support posix ACLs.

Signed-off-by: German Maglione <gmaglione@redhat.com>
@germag

germag commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

I'm not familiar with the incus code, so I hope this is correct

@stgraber stgraber added the Blocked Waiting on an external task label Jun 8, 2026
@germag

germag commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

virtiofsd MR 320 has been merged, removing the draft.

@germag
germag marked this pull request as ready for review June 22, 2026 15:01
@germag
germag requested a review from stgraber as a code owner June 22, 2026 15:01
@stgraber

Copy link
Copy Markdown
Member

Thanks!

@stgraber
stgraber merged commit 126ca8f into lxc:main Jun 22, 2026
54 of 56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Blocked Waiting on an external task

Development

Successfully merging this pull request may close these issues.

Debian 11 virtiofs mounts fail due to unsupported POSIX ACLs

2 participants