systemd CapabilityBoundingSet blocks open(...O_NOATIME...) #1334
Labels
No labels
blocked
breaking
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
borgmatic-collective/borgmatic#1334
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'm trying to do and why
I noticed in strace that the openat syscalls made by borg were being duplicated, once with O_NOATIME and again without:
Steps to reproduce
use unmodified borgmatic.service
Actual behavior
CapabilityBoundingSet=CAP_DAC_READ_SEARCH CAP_NET_RAWExpected behavior
change to
CapabilityBoundingSet=CAP_DAC_READ_SEARCH CAP_FOWNER CAP_NET_RAWOther notes / implementation ideas
CAP_FOWNERis documented to allowspecify O_NOATIME for arbitrary files in open(2) and fcntl(2).borgmatic version
1.9.14
borgmatic installation method
Debian package
Borg version
1.4.0
Python version
3.13.5
Database version (if applicable)
No response
Operating system and version
Debian GNU/Linux 13 (trixie)
Thanks for filing this! Fixed in main.