Bug still exists in 17.10, not clear to me why you marked it invalid.
** Changed in: lvm2 (Ubuntu) Status: Invalid => New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lvm2 in Ubuntu. https://bugs.launchpad.net/bugs/1705534 Title: "lvs" exits with status 0 after failing Status in lvm2 package in Ubuntu: New Bug description: $ sudo lvs --noheadings -o vg_name /tmp [sudo] password for jik: "/tmp": Invalid path for Logical Volume. $ echo $? 0 $ The exit status there after I've provided an invalid logical volume path and the program has printed an error message clearly should not be 0. ProblemType: Bug DistroRelease: Ubuntu 17.04 Package: lvm2 2.02.167-1ubuntu5 ProcVersionSignature: Ubuntu 4.10.0-28.32-generic 4.10.17 Uname: Linux 4.10.0-28-generic x86_64 ApportVersion: 2.20.4-0ubuntu4.5 Architecture: amd64 CurrentDesktop: Unity:Unity7 Date: Thu Jul 20 12:42:39 2017 InstallationDate: Installed on 2017-05-19 (62 days ago) InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412) SourcePackage: lvm2 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1705534/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp