Skip to content

Add SETFCAP to populate-jail#2714

Open
andriishestakov wants to merge 1 commit into
nebius:mainfrom
andriishestakov:setfcap-jail-job
Open

Add SETFCAP to populate-jail#2714
andriishestakov wants to merge 1 commit into
nebius:mainfrom
andriishestakov:setfcap-jail-job

Conversation

@andriishestakov

Copy link
Copy Markdown
Contributor

Allows to set xattrs on target fs.

Problem

Populate jail fails with:
xattr.LSet /mnt/jail/usr/bin/ping security.capability: operation not permitted

Solution

Add SETFCAP to populate jail job

@Uburro Uburro added the go Pull requests that update Go code label Jul 8, 2026
The jail fs image may have files with xattrs.
This fix allows to set xattrs on target fs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants