Bug 573234
| Summary: | [abrt] Leading whitespace in section name lines breaks parsing of smb.conf | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | adalsaady | ||||||
| Component: | system-config-samba | Assignee: | Nils Philippsen <nphilipp> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 12 | CC: | alejandro.perez.torres, frenchja, georges.resume, glaubitz, happycoolbr, jon.hamelin, nphilipp, sylvain, thomas | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | i686 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | abrt_hash:d53d87de | ||||||||
| Fixed In Version: | python-slip-0.2.9-1.fc12 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2010-04-27 02:26:36 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
adalsaady
2010-03-13 15:38:01 UTC
Created attachment 399861 [details]
File: backtrace
There seems to be a problem with your Samba configuration file. Would you please attach /etc/samba/smb.conf to this ticket? Thanks. Created attachment 400281 [details]
my configuration
It stumbles over the leading tab character in line 305:
[public]
You can remove that as a workaround:
[public]
It seems I need to make the parser robust against section names with leading/trailing whitespace. I wonder why nobody reported this problem before ;-).
Fixed upstream in eebe51018d2349230f62fcb9c74e6fd696968952: http://git.fedorahosted.org/git/system-config-samba.git?p=system-config-samba.git;a=commitdiff;h=eebe51018d2349230f62fcb9c74e6fd696968952 *** Bug 577441 has been marked as a duplicate of this bug. *** system-config-samba-1.2.88-1.fc12,python-slip-0.2.9-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/system-config-samba-1.2.88-1.fc12,python-slip-0.2.9-1.fc12 python-slip-0.2.9-1.fc13,system-config-samba-1.2.88-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/python-slip-0.2.9-1.fc13,system-config-samba-1.2.88-1.fc13 system-config-samba-1.2.88-1.fc12, python-slip-0.2.9-1.fc12 has been pushed to the Fedora 12 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-samba python-slip'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/system-config-samba-1.2.88-1.fc12,python-slip-0.2.9-1.fc12 python-slip-0.2.9-1.fc12, system-config-samba-1.2.89-1.fc12 has been pushed to the Fedora 12 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 python-slip system-config-samba'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/system-config-samba-1.2.89-1.fc12,python-slip-0.2.9-1.fc12 system-config-samba-1.2.89-1.fc13, python-slip-0.2.9-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. How to reproduce ----- 1.opened System > Administration >Samba 2. 3. Comment ----- attempted to open Samba to configure How to reproduce ----- 1.just start it 2. 3. Jon, Alejandro, which versions of system-config-samba and python-slip do you have installed? system-config-samba noarch 1.2.86-1.fc12 python-slip noarch 0.2.8-1.fc12 Info from abrt: Package: system-config-samba-1.2.86-1.fc12 Latest Crash: Mon 26 Apr 2010 07:37:03 AM Command: /usr/bin/python /usr/bin/system-config-samba Reason: polkit.py:143:_enable_proxy:DBusException: org.freedesktop.DBus.Python.Exception: Traceback (most recent call last): Comment: attempted to open Samba to configure Bug Reports: Status: ON_QA https://bugzilla.redhat.com/show_bug.cgi?id=573234;file:///var/log/abrt.log (In reply to comment #15) > system-config-samba noarch 1.2.86-1.fc12 > python-slip noarch 0.2.8-1.fc12 In that case, please check whether you can reproduce this problem with the updated version available from updates-testing. Thanks. python-slip-0.2.9-1.fc12, system-config-samba-1.2.89-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. system updated today 27 April 2010 with system-config-samba-1.2.89-1.fc12.noarch, python-slip-0.2.9-1.fc12.noarch and python-slip-dbus-0.2.9-1.fc12.noarch. Same problem. Nothing solved! (In reply to comment #18) > Same problem. Nothing solved! I guess you're suffering from the same symptom -- s-c-samba crashing/causing a traceback -- caused by a different problem. This bug is about white space in section name lines, are you sure your problem is caused by this as well? Solved. Removed Samba and reinstalled. Works fine now. Doh ! It's no my intention to be offensive but this pretty looks like a no analysis at all issue. The question is what was (and is probably still) wrong with the samba installation ? Any bug report about the above ? |