[Linux-ha-dev] init.d script

Pavol Gono palo.gono at gmail.com
Wed Mar 21 23:37:14 MDT 2007


Hi

Heartbeat's init.d script is missing "Provides:" comment (according to
http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html
).
When running "insserv -v heartbeat" on SLES10, I got following warning:
...
insserv: Loading powersaved
insserv: Loading novell-zmd
insserv: Loading heartbeat
insserv: script heartbeat could be broken: incomplete LSB comment.
insserv: Missing entry for Provides: please add even if empty.
insserv: enable service ../heartbeat -> /etc/init.d/rc3.d/S11heartbeat
...

The attached patch fixes the warning.

Palo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: heartbeat.in.diff
Type: text/x-diff
Size: 534 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha-dev/attachments/20070322/a67af906/heartbeat.in.bin


More information about the Linux-HA-Dev mailing list