On Wed, 11 Jul 2007, Horms wrote: > Although I breifly spoke with Lars about this on IRC, > I'm a little confused about changeset cf4e9638ffa5. > > On the Debian side of things it does the following to the heartbeat package. > 1. removes /usr/lib/heartbeat/ha_logger > 2. adds /usr/sbin/ha_logger > > The change works, and does _not_ break the build in any way. However, > doing a sample build I note that the removed file still exists in the > tree that make install creates (though it isn't included in the Debian > package). Is this desired? Should it be in Debian? Should it not be > installed by make install? > > I believe that as things stand both /usr/lib/heartbeat/ha_logger and > /usr/sbin/ha_logger will end up in RPM packages, though I haven't tested > this theory.
"make install" also puts "ha_logger" in two locations (one is a symlink to the other). Stepping back: Does "ha_logger" really need to be available from two different paths? It is quite unusual (although I suppose not unique) for such a thing to be done. If it is a transition exercise (staged migration across releases from one to another) temporarily requiring two locations, then wouldn't it be better to make the "old" location be a tiny script that produces a "warning: deprecated" message and then invokes the new one? (That's what Andrew and I have just done with the migrating "ocf-shellfuncs".) -- : David Lee I.T. Service : : Senior Systems Programmer Computer Centre : : UNIX Team Leader Durham University : : South Road : : http://www.dur.ac.uk/t.d.lee/ Durham DH1 3LE : : Phone: +44 191 334 2752 U.K. : _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
