Bug#447932: heartbeat-2: missing gawk dependency (for IPaddr)

2007-11-14 Thread Dejan Muhamedagic
Hi,

 IPAddr(the OCF resource), one of the main plugins in heartbeat,
 needs gawk to function properly. there is no indication of this.

Why does it need gawk? It needs any kind of awk as far as I can
see:

j2:~ dm$ grep awk /usr/lib/ocf/resource.d/heartbeat/IPaddr
simple_OCF_NIC=`echo $OCF_RESKEY_nic | awk -F: '{print $1}'`
simple_NIC=`echo $NIC | awk -F: '{print $1}'`

Is that what you meant?

 btw, did you notice some of the scripts are not functionning
 properly out of the box ?

Please file bugzillas for any problem you find.

 the /usr/lib/ocf/resource.d/heartbeat/apache script is for
 exemple bad (at least for debian).

Why is that? Can you please show where's the problem.

 I believe that very few of the developers use Debian.

I'm one of those that do :)

Cheers,

Dejan



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#447932: heartbeat-2: missing gawk dependency (for IPaddr)

2007-10-28 Thread Simon Horman
On Thu, Oct 25, 2007 at 09:14:56AM -0400, xavier wrote:
 
   Hi,
   
   IPAddr(the OCF resource), one of the main plugins in heartbeat,
   needs gawk to function properly. there is no indication of this.
   at least in README.Debian it would be good.
   
   it fails silently, and i had to go to execute the script by hand,
   preseeding env. variables, to be able to diagnose the problem.
   
   thanks !
  
  Good point. Do you think that it would be best to add a dependancy?
 
 yes. as you said, it's essential, it's the main plugin.
 
 
  Or to add a recommends and some documentation in README.Debian?
  I think that the former would be better, as I believe that
  IPAddr is quite essential to the majority of heartbeat setups
  and using OCF is the prefered option.
 
 
 
 btw, did you notice some of the scripts are not functionning properly out of 
 the box ?
 
 the /usr/lib/ocf/resource.d/heartbeat/apache script is for exemple bad (at 
 least for debian).

No, I'm not aware of that problem. But it wouldn't surprise me.
I believe that very few of the developers use Debian.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#447932: heartbeat-2: missing gawk dependency (for IPaddr)

2007-10-28 Thread Simon Horman
tags 447932 +pending
thanks

On Wed, Oct 24, 2007 at 05:19:36PM -0400, xavier renaut wrote:
 Package: heartbeat-2
 Version: 2.1.2-1
 Severity: normal
 
 
 Hi,
 
 IPAddr(the OCF resource), one of the main plugins in heartbeat,
 needs gawk to function properly. there is no indication of this.
 at least in README.Debian it would be good.
 
 it fails silently, and i had to go to execute the script by hand,
 preseeding env. variables, to be able to diagnose the problem.

I have added this dependacy upstream and it should appear
in the next release.

http://hg.linux-ha.org/dev/rev/5858e8cf8fa4

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#447932: heartbeat-2: missing gawk dependency (for IPaddr)

2007-10-25 Thread xavier

  Hi,
  
  IPAddr(the OCF resource), one of the main plugins in heartbeat,
  needs gawk to function properly. there is no indication of this.
  at least in README.Debian it would be good.
  
  it fails silently, and i had to go to execute the script by hand,
  preseeding env. variables, to be able to diagnose the problem.
  
  thanks !
 
 Good point. Do you think that it would be best to add a dependancy?

yes. as you said, it's essential, it's the main plugin.


 Or to add a recommends and some documentation in README.Debian?
 I think that the former would be better, as I believe that
 IPAddr is quite essential to the majority of heartbeat setups
 and using OCF is the prefered option.



btw, did you notice some of the scripts are not functionning properly out of 
the box ?

the /usr/lib/ocf/resource.d/heartbeat/apache script is for exemple bad (at 
least for debian).

bye


-- 
xavier renaut, 514 906 1212 x315 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#447932: heartbeat-2: missing gawk dependency (for IPaddr)

2007-10-24 Thread xavier renaut
Package: heartbeat-2
Version: 2.1.2-1
Severity: normal


Hi,

IPAddr(the OCF resource), one of the main plugins in heartbeat,
needs gawk to function properly. there is no indication of this.
at least in README.Debian it would be good.

it fails silently, and i had to go to execute the script by hand,
preseeding env. variables, to be able to diagnose the problem.

thanks !


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (549, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22.2007.09.16.ws (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages heartbeat-2 depends on:
ii  heartbeat 2.1.2-1Subsystem for High-Availability Li

heartbeat-2 recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#447932: heartbeat-2: missing gawk dependency (for IPaddr)

2007-10-24 Thread Simon Horman
On Wed, Oct 24, 2007 at 05:19:36PM -0400, xavier renaut wrote:
 Package: heartbeat-2
 Version: 2.1.2-1
 Severity: normal
 
 
 Hi,
 
 IPAddr(the OCF resource), one of the main plugins in heartbeat,
 needs gawk to function properly. there is no indication of this.
 at least in README.Debian it would be good.
 
 it fails silently, and i had to go to execute the script by hand,
 preseeding env. variables, to be able to diagnose the problem.
 
 thanks !

Good point. Do you think that it would be best to add a dependancy?
Or to add a recommends and some documentation in README.Debian?
I think that the former would be better, as I believe that
IPAddr is quite essential to the majority of heartbeat setups
and using OCF is the prefered option.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]