Bug 147984
Summary: | /sbin/lvm no more: system-config-lvm breaks | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexandre Oliva <oliva> |
Component: | system-config-lvm | Assignee: | Jim Parsons <jparsons> |
Status: | CLOSED RAWHIDE | QA Contact: | Jim Parsons <jparsons> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | agk, byte, jim.cornette |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-05-05 17:24:23 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: |
Description
Alexandre Oliva
2005-02-14 15:16:14 UTC
I am also experiencing this problem with a system that was upgraded from FC3 to rawhide on Feb 13,2005. The version is the same as listed above. Traceback (most recent call last): File "/usr/sbin/system-config-lvm", line 131, in ? runFullGUI() File "/usr/sbin/system-config-lvm", line 116, in runFullGUI blvm = baselvm(glade_xml, app) File "/usr/sbin/system-config-lvm", line 70, in __init__ self.volume_tab_view = Volume_Tab_View(glade_xml, self.lvmm, self.main_win) File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 131, in __init__ self.prepare_tree() File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 203, in prepare_tree vg_list = self.model_factory.query_VGs() File "/usr/share/system-config-lvm/lvm_model.py", line 314, in query_VGs result_string = rhpl.executil.execWithCapture("/sbin/lvm",arglist) File "/usr/lib/python2.4/site-packages/rhpl/executil.py", line 105, in execWithCapture raise RuntimeError, command + " can not be run" RuntimeError: /sbin/lvm can not be run lvm itself is functional. I was able to run commands without errors. .... Adding a symlink from /usr/sbin/lvm to /sbin/lvm allows the program to come up and display the lvm information. I don't know whether lvm is in the wrong location or the script is looking in the wrong place. The reason for this defect is because the link from /usr/sbin/lvm to /sbin/lvm was dropped in a recent distribution of the underlying LVM2 application. This link has been restored, however, and should work correctly with the next fedora release. In the meanwhile, making this link above by hand addresses the issue immediately. Changed path in application to /usr/sbin/lvm. Fixed in system-config-lvm >= 0.9.21 Seems to work now, but it's extremely noisy in the output to the initiating console, at least with selinux enabled. It prints messages such as: File descriptor 7 left open File descriptor 8 left open File descriptor 9 left open File descriptor 10 left open File descriptor 11 left open File descriptor 12 left open File descriptor 13 left open File descriptor 14 left open a nearly-infinite number of times. I guess this is something for a separate bug report though. |