Bug#908240: libmkl-rt: postinst script has a wrong redirection

treinen at debian.org treinen at debian.org
Fri Sep 7 17:56:18 BST 2018


Package: libmkl-rt
Version: 2018.3.222-3
Severity: minor
User: treinen at debian.org
Usertags: colis-shparser

Dear maintainer,

the postinst file of package libmkl-rt contains a wrong redirection
of the form:

some-command 2>&1 > /dev/null

Here it was probably intended to send both 2 (stderr) and 1 (stdout)
to /dev/null. In reality, the effect of the above is to send only 1
to /dev/null, and to send 2 to the file that 1 was sent to before
that line. The correct invocation to send both to /dev/null is

some-command > /dev/null 2>&1

This bug filing has been discussed and approved in thread [1].

-Nicolas and Ralf.

[1] https://lists.debian.org/debian-devel/2018/08/msg00031.html 



More information about the debian-science-maintainers mailing list