Public bug reported: 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 ** Package changed: qemu (Ubuntu) => dmidecode (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1688162 Title: dmidecode should print diagnostic messages to stderr To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1688162/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
