The HA-Tools provide some programs to improve shell scripting, especially in a High Availability environment. The halockrun program provides a simple and reliable way to implement locking in shell scripts (a typical usage for halockrun is to prevent cronjobs to run simultanously), and the hatimerun program provides a time-out mechanism.
Release Notes: Verbose (-v) options were added to hatimerun and halockrun to help with diagnosing issues and to allow simpler error reporting.
Release Notes: An environment manipulation bug was fixed in halockrun and hatimerun.
Release Notes: A build problem was fixed. This bug prevented successful compilation on some systems. If you did not suffer any build problems, there is no need to upgrade.
Release Notes: A bug in halockrun's asynchronous (-a) was fixed and the error reporting was improved.
Release Notes: The portability of halockrun was improved by fixing a bug in the non-blocking mode (-n) and introducing the noop-mode (-N) as an alternative to -t for systems which don't implement the GETLK operation. Error reporting was improved in async mode in case the command can't be executed at all. Convenience was improved by allowing hh:mm:ss notation for timeout values with hatimerun.