Your message dated Sat, 10 Jul 2021 20:48:40 +0000
with message-id <[email protected]>
and subject line Bug#990265: fixed in mksh 59c-9
has caused the Debian Bug report #990265,
regarding mksh: output error is not checked for some builtins
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.)
--
990265: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990265
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mksh
Version: 59c-8
Severity: normal
Like with ksh93, output error is not checked for some builtins
(at least pwd and ulimit), e.g. after closing stdout.
$ exec >&-
$ for i in echo pwd print ulimit; do echo "[$i]" >&2; $i; echo $? >&2; done
[echo]
1
[pwd]
0
[print]
1
[ulimit]
0
Note also that for pwd, POSIX[*] says:
If an error is detected, output shall not be written to standard
output, a diagnostic message shall be written to standard error,
and the exit status is not zero.
so that one would expect a diagnostic message (and I think that
one should also get one for the other builtins).
[*] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/pwd.html
Note: Debian bug for ksh93:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990264
-- System Information:
Debian Release: 11.0
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-security'), (500,
'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-7-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mksh depends on:
ii libc6 2.31-12
Versions of packages mksh recommends:
ii ed 1.17-1
mksh 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: mksh
Source-Version: 59c-9
Done: Thorsten Glaser <[email protected]>
We believe that the bug you reported is fixed in the latest version of
mksh, 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.
Thorsten Glaser <[email protected]> (supplier of updated mksh 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: SHA384
Format: 1.8
Date: Sat, 10 Jul 2021 22:08:30 +0200
Source: mksh
Architecture: source
Version: 59c-9
Distribution: unstable
Urgency: medium
Maintainer: Thorsten Glaser <[email protected]>
Changed-By: Thorsten Glaser <[email protected]>
Closes: 990265
Changes:
mksh (59c-9) unstable; urgency=medium
.
* Cherry-pick bugfixes from CVS HEAD:
- stop referring to dead IRC network
- check lower bounds of input line array when backspacing
- protect against hi-bit7 (stty) EOF character
- show error message and exit nōn-zero on stdout write failure
for builtin calls (Closes: #990265) + display correct errno
- show error message in echo/print builtin on output write failure
(it exits 1 already in that case)
- ensure macro calls don’t have side effects in arguments
- properly flush stderr and unwind for direct builtin calls
(“ln -s /bin/mksh echo; ./echo …”)
- fix truncation behaviour for internal snprintf equivalent
* Update upstream contact info accordingly
Checksums-Sha1:
7fd8960867e3bbfe0e383a8b89ffb28a5d1e91da 2255 mksh_59c-9.dsc
66fdcbe0a9260014eabbb0a5501113ba90398479 124224 mksh_59c-9.debian.tar.xz
Checksums-Sha256:
600dd7cdb3ad6d87a2b00645bbbbb28ce9758121dcedc39c65e4a20e08f48038 2255
mksh_59c-9.dsc
f277df316fcc15bdf33f4c0fa87571094a9ceace7b44e64f7950bd5286881483 124224
mksh_59c-9.debian.tar.xz
Files:
8c1287b39ea646e4449c594a509cc7f4 2255 shells optional mksh_59c-9.dsc
62814d9e2d533048ba6da97b912773d7 124224 shells optional
mksh_59c-9.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (MirBSD)
Comment: ☃ ЦΤℱ—8 ☕☂☄
iQIcBAEBCQAGBQJg6gI2AAoJEHa1NLLpkAfgVEEQAI5zWAUU9MSbdTCIyFsObUdk
dkypfc0S6cZsVQoE7djOiVON3pVnFQmRkSwCzytUBAV7FT9r6yR0QkqV5R69Ly5Y
zpxe6JgjJRT6CxSOMuSkc4YpwZdYyJG8fz08bmmj3KOCmai5PfQpb84asPmvbWUo
0tIi4KdcwJ4UUTeSOXkmEgWsbZ+lVxoPRTFatfTL9gFU1aJcN8q/qAdMnC1yaNpq
6DBeOVqGuGWkUFp3ziyqiUsI5yGP1m2dbpLNy16xgsF8JosoIrmiBuZORQBMKlmV
yNeGlqdoXmL8fFXkB7vxg82TChlAcTGfTsFJd193BbfwmqeqFB9UZHwo4qLJ2heM
jv62bJnc6eC6d4uulQCkGZdPQvXFXGw0iV/oVRgRkOM4thReqzIk1+GyiH3j2aE8
J6czPPYVEulKHVJ9bMVpGrB8SGCSyu06j7YvkO9snnkHeJGhA1tkLxwHE84obLpu
4Hp+nvEa77uI8t9g7bjo1873FRzv2qxqpMlbSjGH1v8kj6ejdllOwO2m//LOrEOc
nH4DLBNMDODNLGITZ8eq0QXwrSWbZEVy92BK/Bv8SlNM5apUc8hzT5Cjam/HJbs4
fbLux7nZLFifL0dOnb5rYk4YutNc10qRUW8RQzOoifaYBOSV+i93uHckPEw7y+2E
b9Z+P2fJENQ70EvkE6nS
=Vu/8
-----END PGP SIGNATURE-----
--- End Message ---