Bug 486699 - system-config-lvm crashes when "command_names = 1" in lvm.conf
Summary: system-config-lvm crashes when "command_names = 1" in lvm.conf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-lvm
Version: 10
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Marek Grac
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-21 08:55 UTC by J_Tom_Moon_79
Modified: 2009-08-27 02:13 UTC (History)
9 users (show)

Fixed In Version: 1.1.9-1.fc10
Clone Of:
Environment:
Last Closed: 2009-08-27 02:13:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Proposed patch (8.90 KB, patch)
2009-08-12 18:13 UTC, Marek Grac
no flags Details | Diff

Description J_Tom_Moon_79 2009-02-21 08:55:16 UTC
Hi,

Changing /etc/lvm/lvm.conf setting "command_names" from default
   command_names = 0 
to
   command_names = 1
Causes system-config-lvm to crash during the program startup (after entering credentials, during system-config-lvm lvm scan dialog)

Reproducible:
  100%

Reproduction Steps:
  1. in /etc/lvm/lvm.conf set "command_names = 0"
  2. start system-config-lvm
     (system-config-lvm runs as usual)
  3. in /etc/lvm/lvm.conf set "command_names = 1"
  4. start system-config-lvm
     BUG:      system-config-lvm crashes during lvm scan
     EXPECTED: system-config-lvm runs as usual

Notes:
  This occurred with lvm layout
    # pvscan
        PV /dev/sde1   VG VolGroup01   lvm2 [465.76 GB / 465.76 GB free]
        PV /dev/sdf1   VG VolGroup01   lvm2 [465.76 GB / 465.76 GB free]
        PV /dev/sdc1   VG VolGroup00   lvm2 [931.50 GB / 0    free]
        PV /dev/sdd1   VG VolGroup00   lvm2 [931.50 GB / 64.00 MB free]
     # lvscan
        ACTIVE            '/dev/lvm/VolGroup00/LogVol00' [1.82 TB] inherit
     # vgscan
        Found volume group "VolGroup01" using metadata type lvm2
        Found volume group "VolGroup00" using metadata type lvm2

  I am using Fedora Core 10, i386

-J_Tom_Moon_79

+++ This bug was initially created as a clone of Bug #440076 +++

+++ This bug was initially created as a clone of Bug #440017 +++

Comment 1 J_Tom_Moon_79 2009-02-21 08:59:37 UTC
Missing Step 3 (close system-config-lvm)
Reproduction Steps:
  1. in /etc/lvm/lvm.conf set "command_names = 0"
  2. start system-config-lvm
     (system-config-lvm runs as usual)
  3. close system-config-lvm
  4. in /etc/lvm/lvm.conf set "command_names = 1"
  5. start system-config-lvm
     BUG:      system-config-lvm crashes during lvm scan
     EXPECTED: system-config-lvm runs as usual

Comment 2 lexual 2009-03-06 10:09:10 UTC
Reproduced here, F10.

Comment 3 Marek Grac 2009-08-12 18:13:08 UTC
Created attachment 357217 [details]
Proposed patch

Comment 4 Fedora Update System 2009-08-20 13:04:11 UTC
system-config-lvm-1.1.8-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/system-config-lvm-1.1.8-1.fc10

Comment 5 Fedora Update System 2009-08-20 23:01:08 UTC
system-config-lvm-1.1.9-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/system-config-lvm-1.1.9-1.fc10

Comment 6 Fedora Update System 2009-08-22 01:02:25 UTC
system-config-lvm-1.1.9-1.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update system-config-lvm'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-8861

Comment 7 Fedora Update System 2009-08-27 02:13:14 UTC
system-config-lvm-1.1.9-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.