Bug 486699

Summary: system-config-lvm crashes when "command_names = 1" in lvm.conf
Product: [Fedora] Fedora Reporter: J_Tom_Moon_79 <jtm.moon.forum.user>
Component: system-config-lvmAssignee: Marek Grac <mgrac>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 10CC: agk, dmair, dwysocha, jtm.moon.forum.user, lex.lists, mbroz, mclasen, prockai, tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.1.9-1.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-27 02:13:34 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:
Attachments:
Description Flags
Proposed patch none

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.