Bug 740341
Summary: | inconsistent output of dmsetup table | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dan Horák <dan> |
Component: | lvm2 | Assignee: | Milan Broz <mbroz> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | agk, bmarzins, bmr, dwysocha, heinzm, jonathan, lvm-team, mbroz, msnitzer, prajnoha, prockai, pvrabec, zkabelac |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | lvm2-2.02.86-6.fc16 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-02-11 22:02:37 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 718271 |
Description
Dan Horák
2011-09-21 17:22:45 UTC
Shoold be just one line fix. --- a/tools/dmsetup.c +++ b/tools/dmsetup.c -3478,7 +3478,8 @@ int main(int argc, char **argv) #endif doit: - multiple_devices = (argc != 2 && cmd->repeatable_cmd); + multiple_devices = (cmd->repeatable_cmd && argc != 2 && + (argc != 1 || (!_switches[UUID_ARG] && !_switches[MAJOR_ARG]))); do { (In reply to comment #1) > Shoold be just one line fix. > > --- a/tools/dmsetup.c > +++ b/tools/dmsetup.c > -3478,7 +3478,8 @@ int main(int argc, char **argv) > #endif > > doit: > - multiple_devices = (argc != 2 && cmd->repeatable_cmd); > + multiple_devices = (cmd->repeatable_cmd && argc != 2 && > + (argc != 1 || (!_switches[UUID_ARG] && > !_switches[MAJOR_ARG]))); > do { yes, this patch fixes my problem Fixed in lvm2-2.02.86-6.fc16. lvm2-2.02.86-6.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/lvm2-2.02.86-6.fc16 Package lvm2-2.02.86-6.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing lvm2-2.02.86-6.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0984/lvm2-2.02.86-6.fc16 then log in and leave karma (feedback). lvm2-2.02.86-6.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |