Red Hat Bugzilla – Bug 840066
sanlock: use daemon --user root in init script
Last modified: 2016-04-26 11:45:10 EDT
Description of problem:
Make root user explicit to init.
Use sanlock with leases on SAN and NFS to test this.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Just run a basic test using an nfs storage domain. To do extra verification, you could use nfs domains from different vendor's servers.
Root squashing on nfs can cause problems when sanlock (which runs as root), tries to access files. sanlock adds itself to additional groups to give itself permission based on its group id rather than user id.
We've had to go back to running as non-root.