Your message dated Sat, 30 May 2026 12:03:55 +0000
with message-id <[email protected]>
and subject line Bug#1072504: fixed in lynx 2.9.3-1
has caused the Debian Bug report #1072504,
regarding lynx: does not discard output from mailcap test
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.)


-- 
1072504: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072504
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lynx
Version: 2.9.2-1
Severity: important

lynx does not discard output from mailcap test, so that "lynx -dump"
generates incorrect output.

With mailcap 3.71:

$ lynx -dump /dev/null
/bin/atril
/usr/bin/emacs
/usr/bin/emacs
/bin/gimp-2.10
/bin/baobab
/bin/eog
/bin/evince
/bin/inkscape
/bin/wireshark

because /etc/mailcap now has lines like

application/pdf; atril %s; test=command -v atril && test -n "$DISPLAY"

where "command -v atril" outputs "/bin/atril".

I can see from strace output that lynx executes

434913 execve("/bin/sh", ["sh", "-c", "--", "command -v atril && test -n 
\"$DISPLAY\""], 0x55b606914990 /* 137 vars */ <unfinished ...>

and so on.

As a comparison, run-mailcap discards stdout and stderr:

        if ($match =~ m/;\s*test=(.*?)\s*($|;)/) {
            my $test;
            print STDERR " - running test: $1 " if $debug;
            $test   = system "$1 >/dev/null 2>&1";

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), 
(500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.7.12-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=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 lynx depends on:
ii  libbrotli1      1.1.0-2+b3
ii  libbsd0         0.12.2-1
ii  libbz2-1.0      1.0.8-5.1
ii  libc6           2.38-12
ii  libgnutls30t64  3.8.5-4
ii  libidn2-0       2.3.7-2
ii  libncursesw6    6.5-2
ii  libtinfo6       6.5-2
ii  lynx-common     2.9.2-1
ii  zlib1g          1:1.3.dfsg-3.1

Versions of packages lynx recommends:
ii  mailcap  3.71

lynx suggests no packages.

-- no debconf information

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

--- End Message ---
--- Begin Message ---
Source: lynx
Source-Version: 2.9.3-1
Done: Andreas Metzler <[email protected]>

We believe that the bug you reported is fixed in the latest version of
lynx, 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.
Andreas Metzler <[email protected]> (supplier of updated lynx 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, 30 May 2026 13:43:40 +0200
Source: lynx
Architecture: source
Version: 2.9.3-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Lynx Packaging Team <[email protected]>
Changed-By: Andreas Metzler <[email protected]>
Closes: 1072504
Changes:
 lynx (2.9.3-1) experimental; urgency=medium
 .
   * New upstream version.
     + Drop cherry-picked patch.
     + Update copyright info.
     + Modify mailcap "test=" handling to redirect stdout/stderr to /dev/null
       (Closes: #1072504)
   * [lintian] Drop redundant Priority: optional.
Checksums-Sha1: 
 0167b8df53a72a866862cd98d36cbcc91f1010aa 2422 lynx_2.9.3-1.dsc
 ff74670dc6112d6c9c301369ade1a1f9ec6286a6 2852278 lynx_2.9.3.orig.tar.bz2
 2da00e2e5a8a49bba4dfbc4fd317c7e3b3a0d45e 729 lynx_2.9.3.orig.tar.bz2.asc
 784c9be50b2ffd8638806edfc2dae5d7af4d8de7 34592 lynx_2.9.3-1.debian.tar.xz
Checksums-Sha256: 
 2adcaea91f027fa8e9f2ac4bb6c460703acbbe65978787c50925f4d780a49f39 2422 
lynx_2.9.3-1.dsc
 174b7f2866a60f3247ba75f5c7dbb10b124aede4a1359312de15f3bfebd2050f 2852278 
lynx_2.9.3.orig.tar.bz2
 6c12f9bfeef6e7df055b27ea546c7adddaa9c53831b76e633ac771196671bb0f 729 
lynx_2.9.3.orig.tar.bz2.asc
 721dfa2231ff95e080af618738e2d188b87b0ffd79a48551d6a69e1ee3cb6a65 34592 
lynx_2.9.3-1.debian.tar.xz
Files: 
 887d16a9d22c33c4db5eb4215faeced1 2422 web optional lynx_2.9.3-1.dsc
 faedd64b8e3cb87ae41197340cc3016a 2852278 web optional lynx_2.9.3.orig.tar.bz2
 e345647988972985ee18422973344cf8 729 web optional lynx_2.9.3.orig.tar.bz2.asc
 33fed96b9b8a16c488c3cd785f5b52b7 34592 web optional lynx_2.9.3-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE0uCSA5741Jbt9PpepU8BhUOCFIQFAmoazekACgkQpU8BhUOC
FIQiSg/+IzgQ1SSJITUwbsKTZarHPfTzJvcjbH6F7umyg/rrYef/WjMNYfHc6XJP
0cIq/CP8tFjI6JVEl1vcRTv8wMhHvfT13cle+QPuRszzmiMqa83yIOKcUps6ct97
6DnezpjitwIWMFBRwG+aH9YXAokyMRgQ2Kr96y6b+OFda+mMmnTiy8/AP7jemcBW
djhzVrrZiJ1rGpuCWEISN4Otzu4cF/I4qrHBrJV0HXL97zRcV3Fb7o2Qw9vGMWNi
Iwbcq6CzG7LzmI8FQ+JigYftE0c4P0m4Q2Gwi6S9UMfP09MFnmnIvr+Lrx27kIC8
K9VSAQqP5qDe3au9widx1kPpSGW0O68E6LvEjD3rTP/H95tkq5x2HS4ttKyZ+K02
oFIyyfsnY+qFAyTN3MyrtMpwQiUXkILPKo1JD0G20IRh3KCf0sNTODxyljObRdqJ
8Zk68KbxUuiEEFz6NQN3TIX8KyA+n2LhOs+fzHTkYxx11y1paauQOmJbhNgb4Ol5
ISHaoJaPnbO2AlgpccOADgmrluxueO8u1HbcknCZrv0HJqtMiVfSEb0L8dZQGiVn
gMXz40R3rp/qAzQrhSn/89zGNX1HIjU8RJ/Ajj7LbYhXZKO4KS0MBvNiQShpc+Qp
xloBU5XCdyHm4ZwbUjp8kcWclVRkX6bicAyO3V1W9QQ3h63HvBw=
=85u0
-----END PGP SIGNATURE-----

Attachment: pgpa_Ib4gQCTN.pgp
Description: PGP signature


--- End Message ---

Reply via email to