-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restic backups - can fail on lost+found directory #1033
Comments
Reported by @erenfro . Interestingly, we do have ext4 in use in e2e tests that run on OpenShift in AWS, however they haven't caught this. My best guess is it's because in OpenShift fsGroup is set automatically and lost+found ends up being readable by the group. @erenfro Do you currently set fsGroup in your |
I don't generally set that, but despite that, lost+found technically should always ever be root:root owned, as this is an innate part of the filesystem design itself. It simply should not be included in the backup regardless of what permissions it has. |
And actually, by default, yes, it's actually set in my moverSecurityContext template I use. |
thx for the confirmation |
For reference, I use this setup for my VolSync, in a templated fashion: |
Describe the bug
Restic backups may fail due to lost+found directory created for ext4 filesystems. Should exclude this dir from restic backups.
Steps to reproduce
Expected behavior
Actual results
Additional context
The text was updated successfully, but these errors were encountered: