Bug 1285929 - [abrt] system-config-samba: connection.py:651:call_blocking:DBusException: org.freedesktop.DBus.Python.RuntimeError: Traceback (most recent call last):
[abrt] system-config-samba: connection.py:651:call_blocking:DBusException: or...
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: system-config-samba (Show other bugs)
23
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Nils Philippsen
Fedora Extras Quality Assurance
https://retrace.fedoraproject.org/faf...
abrt_hash:9a738259566cf54b87d2fa0aa66...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-26 21:13 EST by Paul Finnigan
Modified: 2016-06-03 08:21 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-03 08:21:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
File: backtrace (3.48 KB, text/plain)
2015-11-26 21:13 EST, Paul Finnigan
no flags Details
File: dso_list (69 bytes, text/plain)
2015-11-26 21:13 EST, Paul Finnigan
no flags Details
File: environ (1.75 KB, text/plain)
2015-11-26 21:13 EST, Paul Finnigan
no flags Details

  None (edit)
Description Paul Finnigan 2015-11-26 21:13:09 EST
Description of problem:
Just tried to start system-config-samba. I was asked for authentication for my user but the application never opened its own windows. My system was upgraded from fedora 22 using dnf.

Version-Release number of selected component:
system-config-samba-1.2.100-4.fc23

Additional info:
reporter:       libreport-2.6.3
cmdline:        /usr/bin/python /usr/bin/system-config-samba
executable:     /usr/bin/system-config-samba
kernel:         4.2.6-301.fc23.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
connection.py:651:call_blocking:DBusException: org.freedesktop.DBus.Python.RuntimeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/slip/dbus/service.py", line 127, in reply_handler
    result = method(self, *p, **k)
  File "/usr/lib/python2.7/site-packages/scsamba/dbus/service/sambaBackend.py", line 54, in readSmbConf
    return self.backend.readSmbConf()
  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaBackend.py", line 80, in readSmbConf
    self.readSmbPasswords()
  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaBackend.py", line 127, in readSmbPasswords
    "\n".join(( x.strip() for x in samba_passwd_file)))
RuntimeError: Error while reading Samba password list:
tdbsam_open: failed to grab mutex.
tdbsam_getsampwnam: failed to open /var/lib/samba/private/passdb.tdb!
User Search failed!


Traceback (most recent call last):
  File "/usr/bin/system-config-samba", line 56, in <module>
    use_dbus=use_dbus)
  File "/usr/share/system-config-samba/mainWindow.py", line 136, in __init__
    self.samba_data = sambaConfig.SambaConfig(self.samba_backend)
  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaConfig.py", line 29, in __init__
    self.parseFile()
  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaConfig.py", line 32, in parseFile
    return self.parse(self.backend.readSmbConf())
  File "<string>", line 2, in readSmbConf
  File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 121, in _enable_proxy
    return func(*p, **k)
  File "/usr/lib/python2.7/site-packages/scsamba/dbus/proxy/sambaBackend.py", line 56, in readSmbConf
    return self.dbus_interface.readSmbConf()
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/site-packages/slip/dbus/proxies.py", line 51, in __call__
    return dbus.proxies._ProxyMethod.__call__(self, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Python.RuntimeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/slip/dbus/service.py", line 127, in reply_handler
    result = method(self, *p, **k)
  File "/usr/lib/python2.7/site-packages/scsamba/dbus/service/sambaBackend.py", line 54, in readSmbConf
    return self.backend.readSmbConf()
  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaBackend.py", line 80, in readSmbConf
    self.readSmbPasswords()
  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaBackend.py", line 127, in readSmbPasswords
    "\n".join(( x.strip() for x in samba_passwd_file)))
RuntimeError: Error while reading Samba password list:
tdbsam_open: failed to grab mutex.
tdbsam_getsampwnam: failed to open /var/lib/samba/private/passdb.tdb!
User Search failed!


Local variables in innermost frame:
byte_arrays: False
self: <dbus._dbus.SystemBus (system) at 0x7fca49f8b9b0>
args: ()
object_path: '/org/fedoraproject/Config/Samba/Backend'
signature: ''
bus_name: dbus.UTF8String(':1.79')
get_args_opts: {'byte_arrays': False, 'utf8_strings': False}
timeout: 2147483.647
kwargs: {}
dbus_interface: 'org.fedoraproject.Config.Samba.Backend'
message: <dbus.lowlevel.MethodCallMessage path: /org/fedoraproject/Config/Samba/Backend, iface: org.fedoraproject.Config.Samba.Backend, member: readSmbConf dest: :1.79>
method: 'readSmbConf'

Potential duplicate: bug 1177271
Comment 1 Paul Finnigan 2015-11-26 21:13:14 EST
Created attachment 1099518 [details]
File: backtrace
Comment 2 Paul Finnigan 2015-11-26 21:13:15 EST
Created attachment 1099519 [details]
File: dso_list
Comment 3 Paul Finnigan 2015-11-26 21:13:16 EST
Created attachment 1099520 [details]
File: environ
Comment 4 Nils Philippsen 2016-06-03 08:21:50 EDT
Sorry for the late response.

The backtrace indicates that some other application locked the Samba password database while s-c-samba was starting up. As I'm not actively developing this application any longer, I probably won't get around to making it more robust against this error condition. I'll close the bug accordingly.

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