Hi Manfred,
Thanks for the reply.
Here's the output per your request...
[EMAIL PROTECTED]:~ > rpm -qp heartbeat-2.1.0-45.1.x86_64.rpm --scripts
preinstall scriptlet (using /bin/sh):
if
getent group haclient >/dev/null
then
: OK group haclient already present
else
/usr/sbin/groupadd -o -r -g 90 haclient 2>/dev/null || :
fi
if
getent passwd hacluster >/dev/null
then
: OK hacluster user already present
else
/usr/sbin/useradd -r -g haclient -c "heartbeat processes" \
-d /var/lib/heartbeat/cores/hacluster -o -u 90 \
hacluster 2>/dev/null || :
fi
#
###########################################################
postinstall scriptlet (using /bin/sh):
%run_ldconfig
###########################################################
preuninstall scriptlet (using /bin/sh):
###########################################################
postuninstall scriptlet (using /bin/sh):
%run_ldconfig
###########################################################
--- Manfred Hollstein <[EMAIL PROTECTED]> wrote:
> Hi Dave,
>
> On Wed, 01 Aug 2007, 16:29:54 +0200, Dave wrote:
> > Hello,
> >
> > I've been able to build heartbeat rpm files on RHEL4 after installing a
> > fresh OS
> > with ALL packages (because many devel packages are needed). I used the src
> > rpm
> from
> > the Fedora 5 area here:
> > http://download.opensuse.org/repositories/server:/ha-clustering/Fedora_5/src/
> >
> > Only problem with the install now is the heartbeat package itself is failing
> during
> > the %post section. pils and stonith installed w/o incident. Here are the
> details:
> >
> > [EMAIL PROTECTED]:/usr/src/redhat/RPMS/x86_64 > rpm -ivh
> heartbeat-2.1.0-45.1.x86_64.rpm
> >
> > Preparing... ###########################################
> > [100%]
> > 1:heartbeat ###########################################
> > [100%]
> > /var/tmp/rpm-tmp.50506: line 1: fg: no job control
> > error: %post(heartbeat-2.1.0-45.1.x86_64) scriptlet failed, exit status 1
> >
> > I inspected the heartbeat spec file and it looks like the failure may be
> > due to
> > differences between Fedora and RHEL :-/ I suppose that macros which the
> > post
> > install is relying on for Fedora just don't work as expected under RHEL?
> >
> > To test, I ran the BasicSanityCheck by hand, which ended up failing with one
> error,
> > though it's unclear to me whether this is related to the %post install
> > error or
> not.
> > Is it???
>
> Could you please post the output from running the following command on
> the RPM you built yourself?
>
> rpm -qp heartbeat-2.1.0-45.1.x86_64.rpm --scripts
>
> Perhaps it'll show some blatantly obvious stuff...
>
> Cheers.
>
> l8er
> manfred
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems