#1108061 mc: ten-second freeze at start, pause after running command option ignored

Package:
mc
Source:
mc
Description:
Midnight Commander - a powerful file manager
Submitter:
Thorsten Glaser
Date:
2025-08-31 16:51:07 UTC
Severity:
normal
Tags:
#1108061#5
Date:
2025-06-19 21:02:58 UTC
From:
To:
As I’ve mentioned upstream, these issues (which are heavily felt in
daily use as I start and exit mc tons of times) are caused by the
subshell communication code sometimes using a too-high file descriptor
number and then the shell runs “pwd >&10”, which is not supported in
POSIX shells (including mksh/lksh).

I’ve just submitted a corresponding change upstream, but this needs
to be fixed in trixie, too. Please find attached a debdiff for this
(except debian/changelog), apply and get a freeze exception.

(mc will need to be rebuilt for trixie already *anyway* due to
 #1108010 once e2fsprogs is fixed, so this’ll save a binNMU)

#1108061#12
Date:
2025-06-29 00:03:41 UTC
From:
To:
tags 1108061 + fixed-upstream
thanks

Hi,

the equivalent patch (plus a new comment) got merged upstream.

I would really like this in trixie; if it’d help, I’d do it as
NMU and ask for approval. Please indicate if that’s okay or not.

Thanks,
//mirabilos

#1108061#17
Date:
2025-08-26 16:23:40 UTC
From:
To:
Dear maintainer,

I've prepared an NMU for mc (versioned as 3:4.8.33-1.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

(I’ve also filed a trixie-p-u request.)

As announced earlier,
//mirabilos

#1108061#22
Date:
2025-08-31 16:49:39 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
mc, 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 1108061@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thorsten Glaser <tg@mirbsd.de> (supplier of updated mc 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 26 Aug 2025 16:08:19 +0000
Source: mc
Architecture: source
Version: 3:4.8.33-1.1
Distribution: unstable
Urgency: high
Maintainer: Dmitry Smirnov <onlyjob@debian.org>
Changed-By: Thorsten Glaser <tg@mirbsd.de>
Closes: 1108061
Changes:
 mc (3:4.8.33-1.1) unstable; urgency=high
 .
   * Non-maintainer upload.
   * Added debian/patches/subshell-fd.patch (Closes: #1108061)
Checksums-Sha1:
 c543e65b8c701d9cde73070430bccb8d52757293 2152 mc_4.8.33-1.1.dsc
 3f2102b1642a392e0985b7efd54c0186c5eb74cc 47300 mc_4.8.33-1.1.debian.tar.xz
Checksums-Sha256:
 2dc1b40d0da394b1980899673f66f4ad54fd0c5411c4f40fcc384ce0b2307b18 2152 mc_4.8.33-1.1.dsc
 609a26ebe07ff2b8fbab3a6027854af8e989f38110828a3c4210ad857f90c35d 47300 mc_4.8.33-1.1.debian.tar.xz
Files:
 62ff3057b5ac1828158c02bfda4d1534 2152 utils optional mc_4.8.33-1.1.dsc
 2a6dae6abd32c66f6f8f4866c96299c4 47300 utils optional mc_4.8.33-1.1.debian.tar.xz
iQIcBAEBCQAGBQJordzIAAoJEHa1NLLpkAfgPbAQAJVcZyuHm+NWdPa8CJ4spiFs
9FBgjMc1oyWFeiMJEfxqZFVC32bKxG/x+9sP77sAGwV6ZdAsu5ZZstuky7OasYQ/
BjsoFwxphSY/tV75To+PYjKGk8aNBhONCeH98JS0Hia+l2LCnwqQ9h1Caeifyz4x
6q7+NbanMwOANvKDTAlSvK7GDlKGUTplRI24gRnwYqZ8nF3GSUkr8/CU0wFg1vK3
XoDu4YIMvEuJvxAfMxAB7vzNEsXBWo2dDV29QBoQ5ViVxohQIwQ5X1633qM0eCMa
v4WrZbvp1xIjyB5oBZMcF/0z//4Dogiea/2KMabK49Bv/HT2pL1w9VWABmGWs0RB
RFR1lClgySttmht0JxCxsb040sTfZNL4L8WYxwZ9qsXMsDCgFR5LTPTZmMWGD2w9
hjyARmGRdShRoKOBp4qxYm/vK5Ht5jjaKdDEFBU1gB5/2I8cbb3LWzZVbJZ8XxtK
F1AYW7VbdysOZ4KUErRelGlHyHhDojyEze1XJjp/IZtC9iUgwsxhdaSWgLjCo7JR
z4zSLg6UNS/PGMpNttoKYKpoRMdEFJXTxqz/q//PV4dMe203ldCPsXLgQyg7g8S9
ObRSO2lNqacXDiiTGPQSj0H32hw8qciqs1pwNWyPSem5sSgvG2/mJErPmT6QYNdT
fiXXd5pVpy7Dt91xW3QO
=r/Xv
-----END PGP SIGNATURE-----