portblock resource agent script is broken and will not work.
Bug #489719 reported by
David Ramsden
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
heartbeat (Debian) |
Fix Released
|
Unknown
|
|||
heartbeat (Ubuntu) |
Confirmed
|
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.
Changed in heartbeat (Debian): | |
status: | Unknown → New |
Changed in heartbeat (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
Architecture: amd64 sles11r9- 5ubuntu1 ture: amd64 ature: Ubuntu 2.6.31-14.48-server
DistroRelease: Ubuntu 9.10
Package: heartbeat 2.99.2+
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
LANG=en_GB.UTF-8
ProcVersionSign
Uname: Linux 2.6.31-14-server x86_64
UserGroups: