portblock resource agent script is broken and will not work.

Bug #489719 reported by David Ramsden
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
heartbeat (Debian)
Fix Released
Unknown
heartbeat (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: heartbeat

The portblock resource agent script requires 4 arguements. However the script checks that only (exactly) 3 arguements are passed to it. Therefore when this resource agent is executed, it'll always display the script usage and return 1.

In addition, the script exports the OCF_RESKEY_action variable twice and does not export the OCF_RESKEY_protocol variable. Once again this causes the resource agent to fail.

Attached is a patch to correct this.

Revision history for this message
David Ramsden (david-hexstream) wrote :
Revision history for this message
David Ramsden (david-hexstream) wrote : apport-collect data

Architecture: amd64
DistroRelease: Ubuntu 9.10
Package: heartbeat 2.99.2+sles11r9-5ubuntu1
PackageArchitecture: amd64
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_GB.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-14.48-server
Uname: Linux 2.6.31-14-server x86_64
UserGroups:

Revision history for this message
David Ramsden (david-hexstream) wrote : Dependencies.txt
tags: added: apport-collected
Changed in heartbeat (Debian):
status: Unknown → New
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Marking confirmed based on debian report.

Changed in heartbeat (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Changed in heartbeat (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.