You have been subscribed to a public bug:

Ubuntu version of dmidecode breaks several scripts because it prints
diagnostics messages to stdout instead of stderr.

E.g.: sudo /bin/ksh93
# /usr/sbin/dmidecode -s baseboard-manufacturer 2>/dev/null
Supermicro
Invalid entry length (16). Fixed up to 11.


The original version (https://git.savannah.nongnu.org/git/dmidecode.git) 
however, works as expected:
# /tmp/dmidecode -s baseboard-manufacturer 2>/dev/null
Supermicro


$ /usr/bin/lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.2 LTS
Release:        16.04
Codename:       xenial

** Affects: dmidecode (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: dmidecode
-- 
dmidecode should print diagnostic messages to stderr
https://bugs.launchpad.net/bugs/1688162
You received this bug notification because you are a member of Kernel Packages, 
which is subscribed to dmidecode in Ubuntu.

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to