On Wed, Jan 21, 2009 at 09:49:12AM +0100, Joost van Baal wrote: > 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,
Thanks, I see the problem now. Configure seems to find mawk rather than gawk when both are installed at build-time. Thus mawk ends up in /usr/lib/ocf/resource.d/heartbeat/.ocf-binaries. I'll try and get that fixed up in upstream and sid. But for now I'll add a dependancy on mawk to heartbeat and upload a package for lenny. -- Simon Horman VA Linux Systems Japan K.K., Sydney, Australia Satellite Office H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org