Bug 1482210

Summary: [abrt] dnfdragora-gui: _handle_dbus_error(): __init__.py:242:_handle_dbus_error:dnfdaemon.client.AccessDeniedError: Session is not authorized (36)
Product: [Fedora] Fedora Reporter: Heiko Adams <bugzilla>
Component: dnfdragoraAssignee: Björn Esser (besser82) <besser82>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: anaselli, besser82, flashl, leigh123linux, lupinix.fedora, ngompa13, patrick.laxton, rkudyba, w
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/981e859906724599f5069f384a84d435736af343
Whiteboard: abrt_hash:e7285fee2e8d0d13b1fe508e9fb105a98ae5f680;VARIANT_ID=workstation;
Fixed In Version: dnfdragora-1.0.1-8.git20171229.24e4647.fc27 dnfdragora-1.0.1-8.git20171229.24e4647.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-31 21:27:34 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 Flags
File: backtrace
none
File: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Heiko Adams 2017-08-16 18:10:25 UTC
Version-Release number of selected component:
dnfdragora-gui-1.0.1-5.git20170505.2a3b056.fc26

Additional info:
reporter:       libreport-2.9.1
cmdline:        /usr/bin/python3 /usr/bin/dnfdragora-updater
crash_function: _handle_dbus_error
exception_type: dnfdaemon.client.DaemonError
executable:     /usr/bin/dnfdragora-updater
kernel:         4.12.5-300.fc26.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
__init__.py:242:_handle_dbus_error:dnfdaemon.client.AccessDeniedError: Session is not authorized (36)

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/dnfdaemon/client/__init__.py", line 361, in Lock
    return self._run_dbus_async('Lock')
  File "/usr/lib/python3.6/site-packages/dnfdaemon/client/__init__.py", line 293, in _run_dbus_async
    result = self._get_result(data)
  File "/usr/lib/python3.6/site-packages/dnfdaemon/client/__init__.py", line 277, in _get_result
    self._handle_dbus_error(user_data['error'])
  File "/usr/lib/python3.6/site-packages/dnfdaemon/client/__init__.py", line 250, in _handle_dbus_error
    raise DaemonError(str(err))
dnfdaemon.client.DaemonError: g-io-error-quark: GDBus.Error:org.baseurl.DnfSystem.AccessDeniedError: Session is not authorized (36)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/dnfdragora-updater", line 25, in <module>
    dnfdragora.updater.Updater().main()
  File "/usr/lib/python3.6/site-packages/dnfdragora/updater.py", line 156, in main
    self.__tray.run(self.__main_loop())
  File "/usr/lib/python3.6/site-packages/dnfdragora/updater.py", line 151, in __main_loop
    self.__get_updates()
  File "/usr/lib/python3.6/site-packages/dnfdragora/updater.py", line 117, in __get_updates
    return self.__get_updates_func(False)
  File "/usr/lib/python3.6/site-packages/dnfdragora/updater.py", line 125, in __get_updates_func
    if self.__backend.Lock():
  File "/usr/lib/python3.6/site-packages/dnfdaemon/client/__init__.py", line 363, in Lock
    self._handle_dbus_error(err)
  File "/usr/lib/python3.6/site-packages/dnfdaemon/client/__init__.py", line 242, in _handle_dbus_error
    raise AccessDeniedError(msg)
dnfdaemon.client.AccessDeniedError: Session is not authorized (36)

Local variables in innermost frame:
msg: 'Session is not authorized (36)'
exc: 'org.baseurl.DnfSystem.AccessDeniedError'
err: DaemonError('g-io-error-quark: GDBus.Error:org.baseurl.DnfSystem.AccessDeniedError: Session is not authorized (36)',)
self: <dnfdaemon.client.Client object at 0x7f353e87b748>

Comment 1 Heiko Adams 2017-08-16 18:10:32 UTC
Created attachment 1314266 [details]
File: backtrace

Comment 2 Heiko Adams 2017-08-16 18:10:33 UTC
Created attachment 1314267 [details]
File: cgroup

Comment 3 Heiko Adams 2017-08-16 18:10:35 UTC
Created attachment 1314268 [details]
File: cpuinfo

Comment 4 Heiko Adams 2017-08-16 18:10:36 UTC
Created attachment 1314269 [details]
File: environ

Comment 5 Heiko Adams 2017-08-16 18:10:38 UTC
Created attachment 1314270 [details]
File: mountinfo

Comment 6 Heiko Adams 2017-08-16 18:10:39 UTC
Created attachment 1314271 [details]
File: namespaces

Comment 7 Heiko Adams 2017-08-16 18:10:40 UTC
Created attachment 1314272 [details]
File: open_fds

Comment 8 w-495 2017-08-19 02:25:12 UTC
*** Bug 1483186 has been marked as a duplicate of this bug. ***

Comment 9 flashl 2017-09-18 08:45:49 UTC
*** Bug 1492581 has been marked as a duplicate of this bug. ***

Comment 10 flashl 2017-10-09 00:07:18 UTC
*** Bug 1499583 has been marked as a duplicate of this bug. ***

Comment 11 Patrick Laxton 2017-10-19 07:55:09 UTC
*** Bug 1503966 has been marked as a duplicate of this bug. ***

Comment 12 Angelo Naselli 2017-12-13 13:30:38 UTC
Not sure, but proposed patch for Bug #1495509 should avoid this crash too

Comment 13 Fedora Update System 2017-12-29 23:22:00 UTC
dnfdaemon-0.3.18-5.fc27 dnfdragora-1.0.1-8.git20171229.24e4647.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d66bd84f06

Comment 14 Fedora Update System 2017-12-29 23:27:08 UTC
dnfdaemon-0.3.18-5.fc26 dnfdragora-1.0.1-8.git20171229.24e4647.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8caadb4a1b

Comment 15 Fedora Update System 2017-12-30 19:53:59 UTC
dnfdaemon-0.3.18-5.fc27, dnfdragora-1.0.1-8.git20171229.24e4647.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-d66bd84f06

Comment 16 Fedora Update System 2017-12-30 20:39:46 UTC
dnfdaemon-0.3.18-5.fc26, dnfdragora-1.0.1-8.git20171229.24e4647.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-8caadb4a1b

Comment 17 Fedora Update System 2017-12-31 21:27:34 UTC
dnfdaemon-0.3.18-5.fc27, dnfdragora-1.0.1-8.git20171229.24e4647.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2018-01-01 22:11:10 UTC
dnfdaemon-0.3.18-5.fc26, dnfdragora-1.0.1-8.git20171229.24e4647.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.