[Bug 1705534] Re: "lvs" exits with status 0 after failing
Jonathan Kamens
jik at kamens.brookline.ma.us
Thu Jan 25 16:30:40 UTC 2018
In the absence of an explanation for why this bug should be closed when
it is in fact still a bug in 17.10, I'm once again reopening it.
Incidentally, even if it WERE correct to close the bug because it was
fixed, the correct status to use would be "Fix Committed" or "Fix
Released", not "Invalid".
If you insist on changing the status of this bug again, then please
explain why it is appropriate to do so when the bug is still present in
the current released version of Ubuntu.
** Changed in: lvm2 (Ubuntu)
Status: Invalid => New
--
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