Visitar URL original
incusd/rsync: Only transfer xattrs settable without CAP_SYS_ADMIN by stgraber · Pull Request #3965 · lxc/incus · GitHub
Skip to content

incusd/rsync: Only transfer xattrs settable without CAP_SYS_ADMIN - #3965

Merged
presztak merged 1 commit into
lxc:mainfrom
stgraber:hardening
Sep 8, 2026
Merged

presztak merged 1 commit into
lxc:mainfrom
stgraber:hardening

Conversation

@stgraber

@stgraber stgraber commented Sep 7, 2026

Copy link
Copy Markdown
Member

Restrict xattrs to user.* and security.capability on the receiver so rsync doesn't fail on trusted.* or other security.* xattrs, which the AppArmor profile rightly prevents it from setting.

Closes #3963

Restrict xattrs to user.* and security.capability on the receiver so
rsync doesn't fail on trusted.* or other security.* xattrs, which the
AppArmor profile rightly prevents it from setting.

Closes lxc#3963

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
@stgraber
stgraber requested review from bensmrs and presztak September 7, 2026 23:52
@presztak
presztak merged commit 33e91cd into lxc:main Sep 8, 2026
177 of 179 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.

copying containers between servers with dir storage fails - xattrs setting fails because of rsync apparmor profile restrictions

2 participants