Skip to content
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

Error for getting status when using podman/toolbox #691

Open
PatrickJosh opened this issue Feb 22, 2022 · 1 comment
Open

Error for getting status when using podman/toolbox #691

PatrickJosh opened this issue Feb 22, 2022 · 1 comment

Comments

@PatrickJosh
Copy link

Hello,

I have an error using snapper on my home subvolume with some files used by podman and toolbox. There is a character special file in a subfolder of .local/share/containers with the following attributes:

c---------. 1 noeske noeske 0, 0 Feb 15 21:08 fca50e56005e85af082b358efcce51e5ef374a

It seems like snapper is not able to read this file, even with root permissions. I get the following error on trying to get the status of the subvolume:

IO Error (open failed path:/home/.snapshots/621/snapshot/noeske/.local/share/containers-old/storage/overlay/092ca4b1d42a8870e0658ba8339dbc2e56d89f4dff0ec4c5b65ddb2f3ffb9fb8/diff/usr/lib/.build-id/04/fca50e56005e85af082b358efcce51e5ef374a errno:13 (Permission denied)).

Therefore, I cannot use snapper status for this subvolume any more. As an interim solution, I created a separate subvolume for .local/share/containers but it would be nice if there is the possibility to handle that otherwise as the folder is now excluded from the backups by snapper.

I'm using Fedora Linux 35 with snapper version

snapper 0.8.16
flags btrfs,lvm,no-ext4,xattrs,rollback,btrfs-quota,selinux

If there is any additional information that I can/should provide, I'm happy to provide it.

@aschnell
Copy link
Member

The trailing dot in c---------. shows that the file has an SELinux security context but no other alternate access method. I assume you should fix that but I am not an expert concerning SELinux so I cannot help here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants