Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 618207 - Unable to add new entry to /etc/fstab
Unable to add new entry to /etc/fstab
Product: Fedora
Classification: Fedora
Component: system-config-lvm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Marek Grac
Fedora Extras Quality Assurance
Depends On:
Blocks: 619040
  Show dependency treegraph
Reported: 2010-07-26 08:15 EDT by Kamil Páral
Modified: 2010-09-11 04:58 EDT (History)
7 users (show)

See Also:
Fixed In Version: system-config-lvm-1.1.15-1.fc13
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 619040 672948 (view as bug list)
Last Closed: 2010-09-11 04:58:53 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Kamil Páral 2010-07-26 08:15:54 EDT
Description of problem:
When I try to create new LV and check "mount when rebooted" option and fill in mount point text field, I get this traceback:

Traceback (most recent call last):
  File "/usr/share/system-config-lvm/InputController.py", line 656, in on_new_lv
    if dlg.run() == False:
  File "/usr/share/system-config-lvm/InputController.py", line 1351, in run
    if self.apply() == True:
  File "/usr/share/system-config-lvm/InputController.py", line 2041, in apply
    Fstab.add(None, lv_path, mountpoint_new, filesys_new.fsname)
  File "/usr/share/system-config-lvm/Fstab.py", line 27, in add
    fstab = __remove_and_replace(dev_path_old, line)
  File "/usr/share/system-config-lvm/Fstab.py", line 43, in __remove_and_replace
    paths = get_all_paths(mnt_device)
  File "/usr/share/system-config-lvm/Fstab.py", line 114, in get_all_paths
    follow_links_to_target(dev_path, paths)
  File "/usr/share/system-config-lvm/utilities.py", line 6, in follow_links_to_target
    o, s = execWithCaptureStatus('/bin/readlink', ['/bin/readlink', '-e', path])
  File "/usr/share/system-config-lvm/execute.py", line 15, in execWithCaptureStatus
    res = execWithCaptureErrorStatus(bin, args)
  File "/usr/share/system-config-lvm/execute.py", line 22, in execWithCaptureErrorStatus
    command = command + ' ' + arg
TypeError: cannot concatenate 'str' and 'NoneType' objects

The dialog then stays stuck and must be closed with titlebar close button. The LV is created, filesystem is created, but /etc/fstab is not modified and filesystem is not mounted.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Hit Create new LV
2. Select name, size, filesystem, select "mount when rebooted", fill in mount point
3. Hit OK
Comment 2 Fedora Update System 2010-09-02 11:18:09 EDT
system-config-lvm-1.1.15-1.fc13 has been submitted as an update for Fedora 13.
Comment 3 Fedora Update System 2010-09-02 16:49:24 EDT
system-config-lvm-1.1.15-1.fc13 has been pushed to the Fedora 13 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: https://admin.fedoraproject.org/updates/system-config-lvm-1.1.15-1.fc13
Comment 4 Kamil Páral 2010-09-03 03:59:29 EDT
Verified, problem fixed.
Comment 5 Fedora Update System 2010-09-11 04:58:48 EDT
system-config-lvm-1.1.15-1.fc13 has been pushed to the Fedora 13 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.