The Samba-Bugzilla – Bug 6380
system-config-samba dies silently on startup
Last modified: 2009-05-20 07:41:41 UTC
When I ran system-config-samba (FC9 package system-config-samba-1.2.63-1.fc9.noarch) from the Gnome System menu, I'm was prompted for the root password, but the app wouldn't run. Running the program manually from the command line, I got a stack trace reporting that "Error" in the following error handling statement in sambaParser.py (method SambaSection:__init__) was undefined:
raise Error ("section %s already defined" % (name))
Similar handlers in this file use the statement "raise RuntimeError (...), so I changed the bad line to use this exception, and was finally able to find _my_ problem: a duplicate [homes] section in my samba.conf file.
I haven't spent any time actually verifying that my change to sambaParser.py is appropriate, which I'll leave for someone familiar with the code, but I'd like to be sure I won't need to worry about this in the future (since I don't know exactly how the duplicate section got into my conf file to begin with :-).
Assigning to Simo, I think this would be more appropriate in a Fedora bug tracker.
system-config-samba is not part of the samba packages even in Fedora. IOt is a separate package.
Please open a bug against system-config-samba in Fedora's bugzilal (although note that F-9 is EOL in a couple of weeks).