Your message dated Sun, 24 May 2026 16:17:06 +0000
with message-id <[email protected]>
and subject line Bug#1133386: fixed in resource-agents 1:4.16.0-3+deb13u2
has caused the Debian Bug report #1133386,
regarding resource-agents: Fatal syntax error in
/usr/lib/ocf/lib/heartbeat/ocf-shellfuncs
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1133386: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1133386
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: resource-agents
Version: 1:4.16.0-3+deb13u1
Severity: important
Dear Maintainer,
after upgrading to trixie, one of my OCF cluster resources (mariadb with OCF
/usr/lib/ocf/lib/heartbeat/ocf-shellfuncs) behaved irrational.
Tracing revealed a weird error:
```
+ /bin/bash -c 'CIB_file=<(/usr/sbin/cibadmin -Q
/usr/sbin/crm_mon $*' -- -1 --output-as=xml
--: -c: line 2: unexpected EOF while looking for matching `)'
```
Following the breadcrumbs, I revealed the cause in the "crm_mon_no_validation"
function from /usr/lib/ocf/lib/heartbeat/ocf-shellfuncs:
```
crm_mon_no_validation()
{
# The subshell prevents parsing error with incompatible shells
ocf_version_cmp "$OCF_RESKEY_crm_feature_set" "3.19.7"
if [ $res -eq 2 ] || [ $res -eq 1 ]; then
"$SHELL" -c "CIB_file=<(${HA_SBIN_DIR}/cibadmin -Q \
${HA_SBIN_DIR}/crm_mon \$*" -- $*
else
"$SHELL" -c "CIB_file=<(${HA_SBIN_DIR}/cibadmin -Q | sed
's/validate-with=\"[^\"]*\"/validate-with=\"none\"/') \
${HA_SBIN_DIR}/crm_mon \$*" -- $*
fi
}
```
The first $SHELL line is obviously missing a ")", which causes the function to
return erronously with 1.
-- System Information:
Debian Release: 13.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'proposed-updates'), (500, 'oldstable-updates'), (500, 'oldstable-security'),
(500, 'oldstable-proposed-updates'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.74+deb13+1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages resource-agents depends on:
ii bc 1.07.1-4
ii cluster-glue 1.0.12-24+b1
ii gawk 1:5.2.1-2+b1
ii libc6 2.41-12+deb13u2
ii libnet1 1.3+dfsg-2
ii libplumb2t64 1.0.12-24+b1
ii libqb100 2.0.8-2+b1
ii psmisc 23.7-2
ii python3 3.13.5-1
Versions of packages resource-agents recommends:
pn libxml2-utils <none>
ii net-tools 2.10-1.3
ii python3-googleapi 2.166.0-1
resource-agents suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: resource-agents
Source-Version: 1:4.16.0-3+deb13u2
Done: Valentin Vidic <[email protected]>
We believe that the bug you reported is fixed in the latest version of
resource-agents, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Valentin Vidic <[email protected]> (supplier of updated resource-agents package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 10 May 2026 10:17:59 +0200
Source: resource-agents
Architecture: source
Version: 1:4.16.0-3+deb13u2
Distribution: trixie
Urgency: medium
Maintainer: Debian HA Maintainers
<[email protected]>
Changed-By: Valentin Vidic <[email protected]>
Closes: 1133386
Changes:
resource-agents (1:4.16.0-3+deb13u2) trixie; urgency=medium
.
* debian/patches: fix bash syntax error (Closes: #1133386)
Checksums-Sha1:
fc64030b25d28d3fdd28d845a0d48bf1a89c90ce 2783
resource-agents_4.16.0-3+deb13u2.dsc
af1fe0686072849543ecb77aaad312ac00efe211 22848
resource-agents_4.16.0-3+deb13u2.debian.tar.xz
fac58c09a9153fdf2347d80f9e7902525f0701e4 8673
resource-agents_4.16.0-3+deb13u2_source.buildinfo
Checksums-Sha256:
70c963c5493a60518aca23a7147c56f59b46638b9bfd7664a21835ef79e0bd7f 2783
resource-agents_4.16.0-3+deb13u2.dsc
c9661558b7409dee5dcdac85f07c455aaa083a2fd9e4ccbe5bb290cf5687a375 22848
resource-agents_4.16.0-3+deb13u2.debian.tar.xz
e9d766a0eb9038d9c6d94da3800c524cdac5703be4e47cd34f635c93ad95c2be 8673
resource-agents_4.16.0-3+deb13u2_source.buildinfo
Files:
5efb0a7a74b5f706b53f646defdaff38 2783 admin optional
resource-agents_4.16.0-3+deb13u2.dsc
9621b8593e9a705c195541e90eac0a7c 22848 admin optional
resource-agents_4.16.0-3+deb13u2.debian.tar.xz
f26770138e08501fd93fedf2ac8e61c6 8673 admin optional
resource-agents_4.16.0-3+deb13u2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEExaW53cM9k/u2PWfIMofYmpfNqHsFAmoS/0QSHHZ2aWRpY0Bk
ZWJpYW4ub3JnAAoJEDKH2JqXzah77oAP/im+V6Fv9SCFGSWFno/m+661pXXGF9k7
MpgZlhhvhpkp6SdT/PgvgJdJAN/GznY4VHu4928IbODPKieZWjqaN6JXWEHx5xAC
fuLSNl14uaKEPDiEWZxwjtK9CiKvZTi262Q1nF7AAd4nR3uJuuawrihHJCsBRZgW
K5l2u0YdwoCLT/Vtx++DBjuZ/ScTaqpv2p56nnvcumEPmBmC3/T7MSYTsiZ4IKka
lXdjKAYLjKGubSH5bEvh8PknBMGBHtQRASDv35krQbIjgfWTaOTdCclQnJ0flyuL
FAP93fbdKEKSF3ApWlbuj5GwhNEvIOr2JGjCzmY0BOsw7acWApXNzW9S7aTkX7bg
5SJaqgYyeIzq+ODLThlc+9E0fKiJJxcZ5i+bFG7l+TxhuoFTajOWvmOkI2nOpYWM
4Dk+69viotV/Tzl5orxa3pGohptFt3EGyKiO23wgdHbsD356TlFz9TSv6+iLrYDP
A+t5XYkcp77+rc1qoOjBAIWPRD7xBymCmuv6MWySYJliNWLZDhWTyrqMWg7Ggdcd
JPfdScBb6n6ZNFmrrOCrwabotV9t8giD+21PSg/AUsoBJUPAidvoQjd862Hu4nqd
hDC5y4vVnTbwiYYo34WotVXvBTgYDwanGGNsdwa1Jon7X51YcKvFah9AlpLU/Anf
sws8Gw2s7mo5
=EryC
-----END PGP SIGNATURE-----
pgpy7hmhFAnrw.pgp
Description: PGP signature
--- End Message ---