| Summary: | SELinux is preventing /usr/sbin/sanlock from search access on NFS directory | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Alex Jia <ajia> | |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | |
| Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 6.2 | CC: | berrange, dwalsh, eparis, gsun, mmalik, mzhan, rwu, teigland | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 784586 (view as bug list) | Environment: | ||
| Last Closed: | 2012-06-20 12:29:00 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 784586 | |||
|
Description
Alex Jia
2011-11-17 08:45:34 UTC
We will need to add the same boolean which we have for virtd sanlock_use_nfs Added to Fedora. Hi Dave, could you help us? Why is wdmd calling chown() ? Is it because of /dev/watchdog ? The wdmd daemon is run as "wdmd -G sanlock".
Then socket_gid = group_to_gid("sanlock"), (using getgrnam)
Then it chowns its unix socket to socket_gid so that the
sanlock daemon can connect to it.
http://git.fedorahosted.org/git?p=sanlock.git;a=blob;f=wdmd/main.c;h=18a4109dff5240330748675f2836e537cacdc39d;hb=HEAD#l342
The socket is /var/run/wdmd/wdmd.sock Ok I guess we need to allow it. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0780.html |