Your message dated Sat, 10 Jan 2026 15:08:33 +0000
with message-id <[email protected]>
and subject line Bug#1102545: fixed in lbdb 0.57-1
has caused the Debian Bug report #1102545,
regarding lbdb: eval quoting for $@ still doesn't work - shattering hopes
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.)
--
1102545: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102545
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lbdb
Version: 0.51.1-1
Severity: normal
X-Debbugs-Cc: [email protected]
Hi Roland,
I'm trying to use lbdb for Debian work, but I found some of my queries are
not returning results.
In particular uid queries work and I belive I tested with those when
writing my config eons ago. However having since found myself also needing
to lookup people by name I was always frustrated by the no results problem,
but usually too focused to look into it.
Now I have and it seems the smelly eval in the middle of lbdbq is to blame.
Looking into the history I find your
commit a5d53a802c5cc3fe288a3ae7640d9cccf0b5b762
Hopefully the quoting of $@ now works...
1 file changed, 1 insertion(+), 1 deletion(-)
lbdbq.sh.in | 2 +-
modified lbdbq.sh.in
@@ -55,7 +55,7 @@ for method in $METHODS ; do
done
for method in $METHODS ; do
- eval ${method}_query "$@" >> $collection || true
+ eval ${method}_query \""$@"\" >> $collection || true
done
Regrettably I must inform you that this did not seem to make the quoting
work :-).
Instead I submit to you the idea to
just-not-use-eval-at-all-ever-as-it's-rarely-really-actually-needed^TM:
- eval ${method}_query \""$@"\" >> "$collection" || true
+ ${method}_query "$@" >> "$collection" || true
This seems to fix my problem at least, but I'm not sure passing the $@ args
individually is the behaviour you intended?
--Daniel
PS: Thanks for lbdb.
I really like the whole concept of it if it would only work <3
-- System Information:
Debian Release: 12.10
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-18-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages lbdb depends on:
ii libc6 2.36-9+deb12u10
ii libvformat0 1.13-12
ii perl 5.36.0-7+deb12u1
lbdb recommends no packages.
Versions of packages lbdb suggests:
pn abook <none>
ii elpa-lbdb 0.51.1-1
ii finger 0.17-17
pn goobook <none>
pn khard <none>
ii libauthen-sasl-perl 2.1600-3
ii libnet-ldap-perl 1:0.6800+dfsg-1
pn libpalm-perl <none>
pn maildir-utils <none>
ii mutt 2.2.12-0.1~deb12u1
pn procmail <none>
-- Configuration Files:
/etc/lbdb.rc changed:
METHODS="m_gpg m_ldap"
LDAP_NICKS="debian"
/etc/lbdb_ldap.rc changed:
%ldap_server_db = (
'debian' => [
'ldaps://db.debian.org',
'ou=users,dc=debian,dc=org',
'uid cn sn ircnick',
'uid cn sn ircnick',
'${uid}@debian.org',
'${cn} ${sn}', '${ircnick}'
],
);
$ldap_server = 'ldaps://db.debian.org';
$search_base = 'ou=users,dc=debian,dc=org';
$ldap_search_fields = 'uid cn sn ircnick';
$ldap_expected_answers = 'uid cn sn ircnick';
$ldap_result_email = '${uid}@debian.org';
$ldap_result_realname = '${cn} ${sn}';
$ldap_result_comment = '(${ircnick})';
$ignorant = 0;
$ldap_bind_dn = '';
$ldap_bind_password = '';
$ldap_tls = 0; # Note: setting this to 1 breaks with ldaps urls
$ldap_sasl_mech = '';
1;
-- no debconf information
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: lbdb
Source-Version: 0.57-1
Done: Roland Rosenfeld <[email protected]>
We believe that the bug you reported is fixed in the latest version of
lbdb, 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.
Roland Rosenfeld <[email protected]> (supplier of updated lbdb 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: Sat, 10 Jan 2026 15:39:05 +0100
Source: lbdb
Architecture: source
Version: 0.57-1
Distribution: unstable
Urgency: medium
Maintainer: Roland Rosenfeld <[email protected]>
Changed-By: Roland Rosenfeld <[email protected]>
Closes: 1101372 1102545
Changes:
lbdb (0.57-1) unstable; urgency=medium
.
* New upstream version 0.57.
* This adds m_notmuch_addrlookup module, thanks to gregor herrmann
(Closes: #1101372).
* This replaces eval call in lbdbq (Closes: #1102545).
* Update debian/watch to version 5.
* Declare compliance with Debian Policy 4.7.2.
* Remove «Rules-Requires-Root: no», which is the current default.
* Remove «Priority: optional», which is the current default.
* Update FSF address in copyright to URL.
* Update debian/copyright with support of lrc.
* Declare compliance with Debian Policy 4.7.3.
Checksums-Sha1:
9575e15027c3778c0a023d55d4346af504de8d4b 2360 lbdb_0.57-1.dsc
543d25196b2e0dfa9ce3453742284f599bab55ea 208683 lbdb_0.57.orig.tar.gz
8d6b7ab73998af414ccc0ba71203488d77b25773 833 lbdb_0.57.orig.tar.gz.asc
9002f3796d61b9952f693ad4218e15d3b1e9b819 20760 lbdb_0.57-1.debian.tar.xz
9c7d191c5f3cf6e0f499b277b613ed76f607a743 20193 lbdb_0.57-1_source.buildinfo
Checksums-Sha256:
4b1253ea461cda45b0c4c087f131bf4284868148eef66189e66fb464f8ae90fd 2360
lbdb_0.57-1.dsc
212fe2e40df5ed3e5496bc5e821e4b0683a6c9523b8885e7e87b634bcf923a88 208683
lbdb_0.57.orig.tar.gz
4e61fd53e42fa9c2650c36cc90014b389572e87f5f886d98c0d7ab97e81de8fa 833
lbdb_0.57.orig.tar.gz.asc
0a6876b12b2b9446e13cf15a118d2297d21847f355d4b491a86aceea15623f54 20760
lbdb_0.57-1.debian.tar.xz
f6cdfbb674716ef2d7a9dbc7e31a4cd4a5c657c1c22ae78f7a3d912247abef95 20193
lbdb_0.57-1_source.buildinfo
Files:
bc480fe29e7f2410672baea6b08527cc 2360 mail optional lbdb_0.57-1.dsc
71fdee75c1a5561493986c64f2a9b92b 208683 mail optional lbdb_0.57.orig.tar.gz
6ca483044fdf0f20771d3a03e155c3b8 833 mail optional lbdb_0.57.orig.tar.gz.asc
cea372e0b8bb302ab337f386fb8d19c6 20760 mail optional lbdb_0.57-1.debian.tar.xz
23fd808c22f6cb90c7b7f51d9da8370c 20193 mail optional
lbdb_0.57-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEErC+9sQSUPYpEoCEdAnE7z8pUELIFAmliZW8ACgkQAnE7z8pU
ELLOMg/+IEVl7D54f8W3RuoOIYcvCBleeCrEOrAa58DqzxCoYYtcYAx0r8AvwzKT
jbhA1PjObl1B2mt+hwvbVE97wn4NCtXc/kRqGQ0163cF9RgD+KoFJR59IjiGcmWK
UM10q3xTKDXc/aInFYb/wrU+IDmoGB5oPty/U3wSN00HVlfwQ+fP2K/IpKXihZN0
bOMBe/JpRCnTSPDlCsrNZpD0ORnXQrpvSIT0wwj1Ozd//HQRlgUeqlV51GxXqsUV
dSHE0drtkJ2Mkrctcx2kV3RZlNixF5p76YsFcF2+eg4PfudKvunipATpZFytcfsz
WojcpOAhPl1wUhZ3cW+BFI2lJZqAXUT+J+CRVrJDQlxPqDiH2bZzlQfibA9canoF
Cxkts/pDsa9zoWeOrRys4PlpsqFGlso0IYILbOjdb2QBkDyWVW+yK5A+2lN2/YYs
U0zsBGgi97tRRdqmj6BTELXHD95iG4BE2wSlgUvIRR9oF9GyK/uCnx/HWX+HxBM+
vgiKflXpHfWSeIqGuHJXrKdL14fahR5mAKG8B7Jb6JMQYpW5xn+K7dCuBJ7NSNyR
dulYQ5ECsiD7e9FnwewcPA+2ldzuJmlSQgLXYPmyeGdtsuCV7L009urSbS84BTf3
rhXhlvHqMLEsqWD/Mwy+7wLHpWMM1sdIB30AgaDO0CoV2HMMBp4=
=9AJQ
-----END PGP SIGNATURE-----
pgpzL4Sq7qe3n.pgp
Description: PGP signature
--- End Message ---