[Linux-ha-dev] Re: Bug#479472: heartbeat(8) documents a binary which is not shipped in PATH

Simon Horman horms at verge.net.au
Wed May 7 17:03:12 MDT 2008


On Wed, May 07, 2008 at 02:10:46AM +0200, Josip Rodin wrote:
> On Mon, May 05, 2008 at 11:00:16PM +1000, Simon Horman wrote:
> > > > > Package: heartbeat-2
> > > > > Version: 2.0.7-2
> > > > > 
> > > > > Hi,
> > > > > 
> > > > > There's a manual page for heartbeat in section 8 (system management
> > > > > commands), but there is no command called like that in the package.
> > > > > The binary appears to be shipped in /usr/lib/heartbeat/heartbeat,
> > > > > but it should be in /usr/sbin or somewhere else in PATH.
> > > > > 
> > > > > Please fix this. TIA.
> > > > 
> > > > Would a suitable fix be to remove the documentation?
> > > 
> > > Well, what sense does it make to keep the main binary out of a binary
> > > directory, especially given that the init script uses it? You're out
> > > on a mission to undermine FHS or something? :)
> > 
> > I was half-joking. I don't really like the binary's current
> > location myself. But on the other hand, its only ever called
> > from the init script.
> 
> The heartbeat -s command seems useful enough, as documented, because it
> shows both the autodetected node name (uname(2) output) and the set up node
> name (what's in /etc/heartbeat/nodeinfo). After some investigation I now
> know that I can run that through the init script, but having it available
> as documented just makes sense :)

Ok, I will see about making it so.

-- 
Horms



More information about the Linux-HA-Dev mailing list