Your message dated Tue, 26 Jan 2016 18:34:02 +0000
with message-id <[email protected]>
and subject line Bug#812784: fixed in debianutils 4.7
has caused the Debian Bug report #812784,
regarding debianutils: add-shell chokes on empty /etc/shells, due to use of
grep to copy it
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.)
--
812784: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812784
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debianutils
Version: 4.6
Severity: important
Tags: patch
Dear Maintainer,
With debian-utils 4.6 the add-shell utility now uses a grep '^' construct to
copy /etc/shells to a temporary file.
This construct fails if grep does not find at least one match, which can happen
if /etc/shells is empty.
In this case add-shell errors out with a (in context) bogus error message.
This behaviour is a change from previous versions which used 'awk' for the same
purpose.
Judging by the rest of the code, an empty /etc/shells (and hence empty
tmeporary file) should not otherwise prevent add-shell from working correctly.
Since the package already relies on 'cat' for the subsequent error message, why
not simply use 'cat' for the copying stage as well? (Or, indeed, why not use
cp?)
----
This particular bug can be triggered by bootstrapping tools (e.g.: brickstrap)
or by manually creating an empty /etc/shells to provoke it.
-- System Information:
Debian Release: stretch/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages debianutils depends on:
ii libc6 2.21-7
ii sensible-utils 0.0.9
debianutils recommends no packages.
debianutils suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: debianutils
Source-Version: 4.7
We believe that the bug you reported is fixed in the latest version of
debianutils, 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.
Clint Adams <[email protected]> (supplier of updated debianutils 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: Tue, 26 Jan 2016 13:17:55 -0500
Source: debianutils
Binary: debianutils
Architecture: source amd64
Version: 4.7
Distribution: unstable
Urgency: medium
Maintainer: Clint Adams <[email protected]>
Changed-By: Clint Adams <[email protected]>
Description:
debianutils - Miscellaneous utilities specific to Debian
Closes: 812784
Changes:
debianutils (4.7) unstable; urgency=medium
.
* Revert "add-shell: use grep instead of awk." closes: #812784.
Checksums-Sha1:
1d802b242250693bad4a6aef6d995cb40aae5c02 1703 debianutils_4.7.dsc
1d62ff7cf902c69a6f1ef071cead61a76ce01f86 156276 debianutils_4.7.tar.xz
54dcf0dd7f1dece9cef70e525c2001eaff0b368e 99702 debianutils_4.7_amd64.deb
Checksums-Sha256:
8dd1d66186f56bfe11bce5151b50c6909787d690bf90cc90212ea6deec186460 1703
debianutils_4.7.dsc
a269cacd40f52f2fa5d5636357714a49e8538459c16d77772efaa23711fe53d9 156276
debianutils_4.7.tar.xz
da7fc70617fe0360800b968cc534c677ec67e2e1c438f8f4f0441d4119bf2f39 99702
debianutils_4.7_amd64.deb
Files:
673c7cbb83f42ea021e870a6451035fc 1703 utils required debianutils_4.7.dsc
00186f527b35e2cecd4db593c6d512d0 156276 utils required debianutils_4.7.tar.xz
6363d30445f9bd1f2f7bad8bb0be9399 99702 utils required debianutils_4.7_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Debian!
iQJ8BAEBCgBmBQJWp7kBXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ3NTgxRUM4NzQwNTNFNkM4MDc3OTFCOUI1
NTkyMzMxRTE5OUQzOEE4AAoJEFWSMx4ZnTiof/EP/ipvio49zZmAJ7oj9zGwhWyt
98WRe8u+kpZICgqLetDLK6cSb2OiOXp29+Xb/Vl+ZlrZ5kzN8OGn1pGzyvfIacfq
b4ZMxSb79ouHUkS7j3xKuTZzKTwvFilM1XB3934gdnp+0U49FjZz3H7yULppNZbR
z7yAueXqRiJhT8ni+uKLlYMhrAsNU7PNYqVk/wBTP2BHG2qRpN0sde6AT+qi9Ipg
VhTBajvdDZ+hal679MhvzLGw0+bSVdC3lvNYFyiTPBr1NmSIT6F3rFTzrBDUxtFR
DVk+vV/9lQi0tXXK6cdM/T5mM9hEHnq2JE0vyeZgsifwEZrEPSNVeB6noZ+q51QY
31gjIN8tsj+7dFcuI+Q8/ZitHpUzhJmOhayxEdAvKgzOWZtg5sUMhYUux29TWa3m
4Uh9AFtkV0auX2DzPZFqAeNDEk4LwMXpsqNmgsX8hDYj5g+bPQf9TwRofr7Xa8gi
wvdvmGHX2xjHN7XygON2hNClnXrH0j3RXktAW3rJHnxEZcG4ptTzirDaRrwXgrWH
d5BCLixtG5bkpaG3Lq0UapccCTO2eied+pc8MsJv2UhcSezoT3iPYrY9E6D3Bhrx
/PH9/rwpLE6RQote8g6T9ocRBCoAfxJ1PJ8YRbqIpYtl8N3rEJWxF3Wmr/+N3Ji8
vtX5OxpTOZinPNYzd9Qa
=cdf6
-----END PGP SIGNATURE-----
--- End Message ---