Bug 214164 - system-config-nfs doesn't understand multi-lines
system-config-nfs doesn't understand multi-lines
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: system-config-nfs (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nils Philippsen
Depends On:
  Show dependency treegraph
Reported: 2006-11-06 06:39 EST by Bastien Nocera
Modified: 2010-10-22 02:50 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-12 08:38:49 EST
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 Bastien Nocera 2006-11-06 06:39:22 EST

1. Add the following lines to your /etc/exports:
/home/,no_root_squash,sync) \,no_root_squash,sync)
2. Launch system-config-nfs
3. Get an error like:
usr/share/system-config-nfs/mainWindow.py:82: DeprecationWarning: use gtk.UIManager
  item_fac = gtk.ItemFactory(gtk.MenuBar, "<main>", accel_group)
/usr/share/system-config-nfs/mainWindow.py:105: DeprecationWarning:
  self.on_add_button_clicked, None, 0)
/usr/share/system-config-nfs/mainWindow.py:112: DeprecationWarning:
  None, self.on_properties_button_clicked, None, 1)
/usr/share/system-config-nfs/mainWindow.py:118: DeprecationWarning:
  None, self.on_delete_button_clicked, None, 2)
/usr/share/system-config-nfs/mainWindow.py:124: DeprecationWarning:
  None, 3)
Traceback (most recent call last):
  File "/usr/share/system-config-nfs/system-config-nfs.py", line 41, in ?
  File "/usr/share/system-config-nfs/mainWindow.py", line 141, in __init__
    self.exports = nfsBackend.NfsBackend()
  File "/usr/share/system-config-nfs/nfsBackend.py", line 34, in __init__
  File "/usr/share/system-config-nfs/nfsBackend.py", line 125, in parseFile
    data = tokens[1]
IndexError: list index out of range

I also filed bug 214163 about the latest version not being able to parse
multi-lines either.
Comment 1 Nils Philippsen 2006-11-10 08:24:46 EST
fixed in Rawhide version 1.3.20
Comment 2 Nils Philippsen 2006-11-21 11:08:23 EST
Note that there are quite some changes to the parser between RHEL4 and current
CVS, so I'd rather not try to backport these, but rebase and possibly disable
some of the newer options that aren't valid in RHEL4.

Steve, what's your stance on this?
Comment 7 Phil Knirsch 2008-02-12 08:38:12 EST
This request was evaluated by Red Hat Engineering for inclusion in a Red
Hat Enterprise Linux maintenance release.

Red Hat does not currently plan to provide this change in a Red Hat Enterprise
Linux update release for currently deployed products.

With the goal of minimizing risk of change for deployed systems, and in
response to customer and partner requirements, Red Hat takes a conservative
approach when evaluating enhancements for inclusion in maintenance updates
for currently deployed products. The primary objectives of update releases
are to enable new hardware platform support and to resolve critical

However, Red Hat will further review this request for potential inclusion
in future major releases of Red Hat Enterprise Linux.

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