Bug 6380 - system-config-samba dies silently on startup
Summary: system-config-samba dies silently on startup
Status: RESOLVED INVALID
Alias: None
Product: Samba 3.2
Classification: Unclassified
Component: Config Files (show other bugs)
Version: 3.2.11
Hardware: All Linux
: P3 normal
Target Milestone: ---
Assignee: Simo Sorce
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-20 00:32 UTC by Rob Robason
Modified: 2009-05-20 07:41 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Robason 2009-05-20 00:32:04 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 :-).
Comment 1 Volker Lendecke 2009-05-20 01:03:06 UTC
Assigning to Simo, I think this would be more appropriate in a Fedora bug tracker.

Volker
Comment 2 Simo Sorce 2009-05-20 07:41:41 UTC
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).