Bug 830848
Summary: | sanlock: initscript should create /var/lock/subsys/sanlock | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Daniel Berrangé <berrange> |
Component: | sanlock | Assignee: | David Teigland <teigland> |
Status: | CLOSED ERRATA | QA Contact: | Haim <hateya> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 6.4 | CC: | ajia, cluster-maint, cpelland, lnatapov, psztoch, yeylon |
Target Milestone: | rc | Keywords: | Reopened, ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | sanlock-2.5-1.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-21 08:52:44 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 841991, 906027 |
Description
Daniel Berrangé
2012-06-11 14:13:08 UTC
Hi Dan, this seems to work for me, could you check for any wdmd or sanlock errors in /var/log/messages? This could also be related to all the uid issues we've been going through (sanlock is now back to being root, so that should lessen the problems.) # modprobe softdog # service wdmd start # service sanlock start # ps ax | grep -E 'sanlock|wdmd' 17771 ? SLs 0:00 wdmd -G sanlock 17787 ? SLsl 0:00 sanlock daemon -U sanlock -G sanlock # ls -l /var/run/sanlock/ total 4 -rw-rw-rw-. 1 root root 6 Jun 11 10:17 sanlock.pid srw-rw----. 1 sanlock sanlock 0 Jun 11 10:17 sanlock.sock # killall sanlock # ps ax | grep -E 'sanlock|wdmd' 17771 ? SLs 0:00 wdmd -G sanlock You are mixing up the 'killall' command in /usr/bin which kills processes based on their argv[0] name, with the /etc/init.d/killall script which stops init services based on the existance of /var/lock/subsys/XXXXXX (where XXXX must be the initscript name ie 'sanlock'). Thanks, I've pushed out a fix for both sanlock and wdmd: http://git.fedorahosted.org/git/?p=sanlock.git;a=commitdiff;h=e25453ccd46d265de1d5ef720e40977786a6fb1b *** This bug has been marked as a duplicate of bug 838654 *** deconsolidating sanlock-2.6-2.el6.x86_64. [root@cinteg26 ~]# service sanlock start Starting sanlock: [ OK ] [root@cinteg26 ~]# ls -al /var/run/sanlock/ total 12 drwxrwxr-x. 2 sanlock sanlock 4096 Dec 17 17:17 . drwxr-xr-x. 24 root root 4096 Dec 17 13:23 .. -rw-r--r--. 1 sanlock sanlock 6 Dec 17 17:17 sanlock.pid srw-rw----. 1 sanlock sanlock 0 Dec 17 17:17 sanlock.sock [root@cinteg26 ~]# 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-2013-0530.html |