i can confirm this bug.

in /usr/share/system-config-lvm/Multipath.py
system-config-lvm fetches the contents of /dev with "/bin/ls -l" (line 36 ff)
it then iterates over all block devices by searching for lines starting with 
'b' (like /bin/ls -l /dev | grep ^b)
after that it tries to add the tuple ['/dev/' + words[9], words[4].rstrip(','), 
words[5]] to an array, where words[0...9] are the respective words in every 
line of ls output.
the problem is, that words[9] does not exist, because all lines do only contain 
9 words (0-8).

if i change
                block_devices.append(['/dev/' + words[9], words[4].rstrip(','), 
words[5]])
to
                block_devices.append(['/dev/' + words[8], words[4].rstrip(','), 
words[5]])
system-config-lvm starts up normally and shows the partitions and lvm volumes 
correctly.

im not sure how this could not get noticed early, but maybe the
multipath code is only called in certain configurations.

** Changed in: system-config-lvm (Ubuntu)
       Status: New => Confirmed

-- 
Crashes on startup with "IndexError: list index out of range"
https://bugs.launchpad.net/bugs/567195
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to