Skip to content

Commit

Permalink
Merge pull request #3938 from xiaodwan/fix_nfs_permission_issue
Browse files Browse the repository at this point in the history
Enable virt_use_nfs when selinux is enforcing
  • Loading branch information
dzhengfy committed Sep 13, 2024
2 parents 1d8db9f + 6eec9f6 commit f9e58ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions virttest/utils_test/libvirt.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ def setup_or_cleanup_nfs(
'"setsebool virt_use_nfs on" to get '
"nfs access right."
)
process.run("setsebool virt_use_nfs on", shell=True)
_nfs.setup()
nfs_mount_info = (
process.run("nfsstat -m", shell=True).stdout_text.strip().split(",")
Expand Down

0 comments on commit f9e58ea

Please sign in to comment.