Hi,

as announced in our talk at debconf'18 [1] we intend a MBF about wrong
redirections in maintainer scripts. In general these are of the form

  foo 2>&1 1> /dev/null

Here it was probably intended to send both stderr and stdout to /dev/null.
In reality the effect of this is to send only 1 to /dev/null, and to send
2 to the file that 1 was sent to before that line. We found 128 occurrences
of this problem in sid in 110 different packages. A list of packages
and of maintainers is attached.

Do you think that a MBF is appropriate for this? If yes then it deserves
probably only severity=minor. We will of course also submit a wishlist
bug for this against lintian.

-Nicolas and Ralf.

[1] https://debconf18.debconf.org/talks/90-mining-debian-maintainer-scripts/
aewm++-goodies  1.0-10  postrm
bacula-common   9.0.8-1 preinst
cyrus-common    2.5.10-3+b1     postinst
dict-freedict-afr-deu   2016.12.12-1    postinst
dict-freedict-afr-eng   2016.12.12-1    postinst
dict-freedict-all       2016.12.12-1    postinst
dict-freedict-ara-eng   2016.12.12-1    postinst
dict-freedict-bre-fra   2016.12.12-1    postinst
dict-freedict-ces-eng   2016.12.12-1    postinst
dict-freedict-ckb-kmr   2016.12.12-1    postinst
dict-freedict-cym-eng   2016.12.12-1    postinst
dict-freedict-dan-eng   2016.12.12-1    postinst
dict-freedict-deu-eng   2016.12.12-1    postinst
dict-freedict-deu-fra   2016.12.12-1    postinst
dict-freedict-deu-ita   2016.12.12-1    postinst
dict-freedict-deu-kur   2016.12.12-1    postinst
dict-freedict-deu-nld   2016.12.12-1    postinst
dict-freedict-deu-por   2016.12.12-1    postinst
dict-freedict-deu-swe   2016.12.12-1    postinst
dict-freedict-deu-tur   2016.12.12-1    postinst
dict-freedict-eng-afr   2016.12.12-1    postinst
dict-freedict-eng-ara   2016.12.12-1    postinst
dict-freedict-eng-ces   2016.12.12-1    postinst
dict-freedict-eng-cym   2016.12.12-1    postinst
dict-freedict-eng-deu   2016.12.12-1    postinst
dict-freedict-eng-ell   2016.12.12-1    postinst
dict-freedict-eng-fra   2016.12.12-1    postinst
dict-freedict-eng-gle   2016.12.12-1    postinst
dict-freedict-eng-hin   2016.12.12-1    postinst
dict-freedict-eng-hrv   2016.12.12-1    postinst
dict-freedict-eng-hun   2016.12.12-1    postinst
dict-freedict-eng-ita   2016.12.12-1    postinst
dict-freedict-eng-lat   2016.12.12-1    postinst
dict-freedict-eng-lit   2016.12.12-1    postinst
dict-freedict-eng-nld   2016.12.12-1    postinst
dict-freedict-eng-pol   2016.12.12-1    postinst
dict-freedict-eng-por   2016.12.12-1    postinst
dict-freedict-eng-rom   2016.12.12-1    postinst
dict-freedict-eng-rus   2016.12.12-1    postinst
dict-freedict-eng-spa   2016.12.12-1    postinst
dict-freedict-eng-srp   2016.12.12-1    postinst
dict-freedict-eng-swe   2016.12.12-1    postinst
dict-freedict-eng-swh   2016.12.12-1    postinst
dict-freedict-eng-tur   2016.12.12-1    postinst
dict-freedict-fra-bre   2016.12.12-1    postinst
dict-freedict-fra-deu   2016.12.12-1    postinst
dict-freedict-fra-eng   2016.12.12-1    postinst
dict-freedict-fra-nld   2016.12.12-1    postinst
dict-freedict-gla-deu   2016.12.12-1    postinst
dict-freedict-gle-eng   2016.12.12-1    postinst
dict-freedict-gle-pol   2016.12.12-1    postinst
dict-freedict-hrv-eng   2016.12.12-1    postinst
dict-freedict-hun-eng   2016.12.12-1    postinst
dict-freedict-isl-eng   2016.12.12-1    postinst
dict-freedict-ita-deu   2016.12.12-1    postinst
dict-freedict-ita-eng   2016.12.12-1    postinst
dict-freedict-jpn-deu   2016.12.12-1    postinst
dict-freedict-jpn-eng   2016.12.12-1    postinst
dict-freedict-jpn-fra   2016.12.12-1    postinst
dict-freedict-jpn-rus   2016.12.12-1    postinst
dict-freedict-kha-deu   2016.12.12-1    postinst
dict-freedict-kha-eng   2016.12.12-1    postinst
dict-freedict-kur-deu   2016.12.12-1    postinst
dict-freedict-kur-eng   2016.12.12-1    postinst
dict-freedict-kur-tur   2016.12.12-1    postinst
dict-freedict-lat-deu   2016.12.12-1    postinst
dict-freedict-lat-eng   2016.12.12-1    postinst
dict-freedict-lit-eng   2016.12.12-1    postinst
dict-freedict-mkd-bul   2016.12.12-1    postinst
dict-freedict-nld-deu   2016.12.12-1    postinst
dict-freedict-nld-eng   2016.12.12-1    postinst
dict-freedict-nld-fra   2016.12.12-1    postinst
dict-freedict-nno-nob   2016.12.12-1    postinst
dict-freedict-oci-cat   2016.12.12-1    postinst
dict-freedict-pol-gle   2016.12.12-1    postinst
dict-freedict-por-deu   2016.12.12-1    postinst
dict-freedict-por-eng   2016.12.12-1    postinst
dict-freedict-san-deu   2016.12.12-1    postinst
dict-freedict-slk-eng   2016.12.12-1    postinst
dict-freedict-spa-ast   2016.12.12-1    postinst
dict-freedict-spa-eng   2016.12.12-1    postinst
dict-freedict-spa-por   2016.12.12-1    postinst
dict-freedict-srp-eng   2016.12.12-1    postinst
dict-freedict-swe-deu   2016.12.12-1    postinst
dict-freedict-swe-eng   2016.12.12-1    postinst
dict-freedict-swh-eng   2016.12.12-1    postinst
dict-freedict-swh-pol   2016.12.12-1    postinst
dict-freedict-tur-deu   2016.12.12-1    postinst
dict-freedict-tur-eng   2016.12.12-1    postinst
gwhois  20120626-1.2    postinst
gwhois  20120626-1.2    prerm
libmkl-dev      2018.3.222-1    postinst
libmkl-rt       2018.3.222-1    postinst
lilo    1:24.2-3        postinst
linuxdoc-tools  0.9.72-7        postinst
linuxdoc-tools  0.9.72-7        postrm
mimedefang      2.84-2  postinst
miredo  1.2.6-4 postrm
miredo-server   1.2.6-4 postrm
muroard 0.1.14-5        postrm
mysql-server-5.7        5.7.22-1        postinst
needrestart-session     0.3-5   postrm
prads   0.3.3-1+b1      postinst
prelude-correlator      4.1.1-2 postinst
prelude-manager 4.1.1-2 postinst
pyca    20031119-0      postinst
pyca    20031119-0      postrm
rdnssd  1.0.3-3 postrm
roaraudio       1.0~beta11-10   postrm
roarplaylistd   0.1.9-6 postrm
sagan   1.2.0-1 postinst
tenshi  0.13-2  postinst
tenshi  0.13-2  postrm
varnish 5.2.1-1+b1      postinst
Agustin Martin Domingo <agmar...@debian.org>
   linuxdoc-tools (U)

Anthony Prades <toony.deb...@chezouam.net>
   cyrus-imapd (U)

Bernhard Schmidt <be...@debian.org>
   ndisc6

Carsten Leonhardt <l...@debian.org>
   bacula (U)

Chris Boyle <c...@debian.org>
   aewm++-goodies

Christoph Martin <mar...@uni-mainz.de>
   mimedefang

Clint Byrum <cl...@ubuntu.com>
   mysql-5.7 (U)

Debian Bacula Team <pkg-bacula-de...@alioth-lists.debian.net>
   bacula

Debian Cyrus Team <pkg-cyrus-imapd-debian-de...@lists.alioth.debian.org>
   cyrus-imapd

Debian MySQL Maintainers <pkg-mysql-ma...@lists.alioth.debian.org>
   mysql-5.7

Debian Science Maintainers <debian-science-maintain...@lists.alioth.debian.org>
   intel-mkl

Debian XML/SGML Group <debian-xml-sgml-p...@lists.alioth.debian.org>
   linuxdoc-tools

Emanuele Rocca <e...@debian.org>
   varnish (U)

Henrique de Moraes Holschuh <h...@debian.org>
   cyrus-imapd (U)

Ignace Mouzannar <mouzan...@gmail.com>
   tenshi

James Page <jamesp...@debian.org>
   mysql-5.7 (U)

Jan Wagner <w...@cyconet.org>
   varnish (U)

Joachim Wiedorn <joodeb...@joonet.de>
   lilo

Juliane Holzt <deb...@julijane.de>
   gwhois

Kacper Wysocki <comot...@krutt.org>
   prads (U)

Lars Bahner <bah...@debian.org>
   pyca
   varnish (U)

Lars Tangvald <lars.tangv...@oracle.com>
   mysql-5.7 (U)

Mo Zhou <cdlumin...@gmail.com>
   intel-mkl (U)

Norbert Tretkowski <norb...@tretkowski.de>
   mysql-5.7 (U)

Ondřej Surý <ond...@debian.org>
   cyrus-imapd (U)

Patrick Matthäi <pmatth...@debian.org>
   muroard
   needrestart-session
   roaraudio
   roarplaylistd

Pierre Chifflier <pol...@debian.org>
   prelude-correlator
   prelude-manager
   sagan

Prads package developers <prads-de...@projects.linpro.no>
   prads

Robie Basak <ro...@justgohome.co.uk>
   mysql-5.7 (U)

Sebastian Humenda <shume...@gmx.de>
   freedict

Stig Sandbeck Mathisen <s...@debian.org>
   prads (U)
   varnish (U)

Thomas Andrejak <thomas.andre...@gmail.com>
   prelude-correlator (U)
   prelude-manager (U)

Tollef Fog Heen <tfh...@debian.org>
   varnish (U)

Tomasz Buchert <tom...@debian.org>
   miredo

Varnish Package Maintainers <pkg-varnish-de...@lists.alioth.debian.org>
   varnish

Reply via email to