Op Wed 21 Jan 2009 om 12:09:52 +1100 schreef Simon Horman: > On Tue, Jan 20, 2009 at 03:44:16PM +0100, Joost van Baal wrote: > > Package: heartbeat > > Version: 2.1.3-6 > > Severity: normal > > > > heartbeat writes an error to syslog: > > > > Jan 20 15:15:33 pippi IPaddr[21527]: ERROR: Setup problem: Couldn't find > > utility /usr/bin/mawk > > > > Adding mawk to this package's dependencies likely fixes it. > > Hi Joost, > > this is quite curious. On i386 at least,
FWIW, the behaviour is seen on an amd64 box. > heartbeat requires gawk > and IPaddr seems to call awk, so all seems to be well. > > Perhaps I am missing something. Could you run the following? > > grep awk /etc/ha.d/resource.d/IPaddr /usr/lib/ocf/resource.d/heartbeat/IPaddr Sure: pippi# grep awk /etc/ha.d/resource.d/IPaddr /usr/lib/ocf/resource.d/heartbeat/IPaddr /usr/lib/ocf/resource.d/heartbeat/IPaddr: simple_OCF_NIC=`echo $OCF_RESKEY_nic | awk -F: '{print $1}'` also: pippi# grep -R mawk /usr/lib/ocf /usr/lib/ocf/resource.d/heartbeat/.ocf-binaries:: ${AWK:=/usr/bin/mawk} Thanks for your prompt reply, Bye, Joost
signature.asc
Description: Digital signature