On 2007-07-17T18:33:04, Simon Horman <[EMAIL PROTECTED]> wrote:

> Move ldirector OCF resource into the ldirectord package from
> the heartbeat package.
> 
> Signed-off-by: Simon Horman <[EMAIL PROTECTED]>
> 
> --- 
> Can someone check that this works?

No, it won't work :-(

> @@ -1540,6 +1536,7 @@ ln -s @libdir@/heartbeat-gui/haclient.py
>  @sysconfdir@/logrotate.d/ldirectord
>  @INITDIR@/ldirectord
>  @sysconfdir@/ha.d/resource.d/ldirectord
> [EMAIL PROTECTED]@/heartbeat/ldirectord
>  %doc @mandir@/man8/ldirectord.8*
>  %doc @mandir@/man8/supervise-ldirectord-config.8*
>  %doc ldirectord/ldirectord.cf

RPM isn't smart enough to see that this means that this file now belongs
to ldirectord; because the whole directory is also included into
the heartbeat package itself. It will complain about "file listed
twice".

The only alternative is to list the RAs one-by-one in heartbeat's
section and then move ldirectord over. Or use a shell-glob there which
excludes just ldirectord, but I don't think that exists ...?


Regards,
    Lars

-- 
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to