bashism in Xen resource script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
heartbeat (Ubuntu) |
Fix Released
|
Medium
|
Luca Falavigna |
Bug Description
Binary package hint: heartbeat
If I use heartbeat to monitor a Xen domain under hardy, then my log gets filled with messages like this:
May 15 11:22:00 sol lrmd: [5363]: info: RA output: (firewall:
This is because on line 196 of the file
/usr/lib/
we have
if [ "X${OCF_
which should be
if [ "X${OCF_
This is a bashism. You can check for bashisms using the checkbashisms script shipped in the package devscripts
/usr/lib/
possible bashism in Xen line 196 (should be 'b = a'):
if [ "X${OCF_
The reason it is showing up in ubuntu is that /bin/sh is dash rather than bash.
Changed in heartbeat: | |
assignee: | nobody → dktrkranz |
importance: | Undecided → Medium |
status: | New → In Progress |
This bug was fixed in the package heartbeat - 2.1.3-6ubuntu1
---------------
heartbeat (2.1.3-6ubuntu1) intrepid; urgency=low
* debian/ patches/ more_bashisms. patch:
- Fix some bashisms (LP: #174182, #230653).
* debian/control:
- Update Maintainer field as per spec.
-- Luca Falavigna <email address hidden> Thu, 19 Jun 2008 22:55:57 +0200