[Bug 1705534] Re: "lvs" exits with status 0 after failing
Jonathan Kamens
jik at kamens.brookline.ma.us
Thu Jul 20 17:07:05 UTC 2017
Reported upstream as https://bugzilla.redhat.com/show_bug.cgi?id=1473392
.
** Bug watch added: Red Hat Bugzilla #1473392
https://bugzilla.redhat.com/show_bug.cgi?id=1473392
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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
More information about the foundations-bugs
mailing list