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

AlmaLinux9/RKE2 Selinux blocks pv-migrate #220

Closed
dragon2611 opened this issue May 4, 2023 · 3 comments
Closed

AlmaLinux9/RKE2 Selinux blocks pv-migrate #220

dragon2611 opened this issue May 4, 2023 · 3 comments

Comments

@dragon2611
Copy link

It seems SELINUX is blocking rsync from accessing the volume, pvmigrate works if selinux is set to permissive.

Almalinux 9 / RKE2 v1.25.9+rke2r1

rsync: [sender] change_dir "/source/" failed: Permission denied (13) 0 100% 0.00kB/s 0:00:00 (xfr#0, to-chk=0/0)

@BonzTM
Copy link

BonzTM commented Sep 6, 2023

It seems SELINUX is blocking rsync from accessing the volume, pvmigrate works if selinux is set to permissive.

Almalinux 9 / RKE2 v1.25.9+rke2r1

rsync: [sender] change_dir "/source/" failed: Permission denied (13) 0 100% 0.00kB/s 0:00:00 (xfr#0, to-chk=0/0)

Temporarily set your SELinux policy to permissive, migrate, then set back.

@utkuozdemir
Copy link
Owner

I think it is out-of-scope for this tool to make meet SELinux requirements. I would suggest the same as @BonzTM. Closing.

@utkuozdemir utkuozdemir closed this as not planned Won't fix, can't repro, duplicate, stale Jan 20, 2024
@log1cb0mb
Copy link

just run sshd as privileged using sshd.securityContext.privileged=true or sshd.securityContext.seLinuxOptions.type=spc_t

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

No branches or pull requests

4 participants