Red Hat Bugzilla – Bug 815730
RPM does not include a /etc/sysconfig/sanlock file
Last modified: 2016-04-18 02:44:23 EDT
Description of problem:
The sanlock init script allows use of a /etc/sysconfig/sanlock file to customize startup options. The RPM does not, however, include any such file. It should be installed, showing example config options that can be used, but commented out.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum install sanlock
2. cat /etc/sysconfig/sanlock
No such file
# Add any command line options for the sanlock daemon
# For example, to disable use of the watchdog use '-w 0'
> #SANLOCK_OPTS="-w 0"
Hah, I even typod in my example - which just goes to demonstrate the value of having an example. The env var name should of course be "SANLOCKOPTS"
Thanks Dan, I pushed out a sample, and will include it in the next build.
I include the "-w 0" example, but refer people to the sanlock man page
for the full list of command line options.
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.
Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.
This will be fixed in the final 6.3 sanlock rebase.
*** This bug has been marked as a duplicate of bug 782600 ***