Bug 1043251

Summary: [abrt] policycoreutils-devel: connection.py:651:call_blocking:DBusException: org.freedesktop.PolicyKit1.Error.Failed: Action org.selinux.change_default_mode is not registered
Product: [Fedora] Fedora Reporter: Dario Castellarin <req1348>
Component: policycoreutilsAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/f340be63f3689399f94a84173a34961a074385a7
Whiteboard: abrt_hash:16c7d6d33b5729aebd9048732ee0e2fb99909b32
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-29 13:31:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: dso_list
none
File: environ none

Description Dario Castellarin 2013-12-15 12:30:47 UTC
Description of problem:
Tried to change default from enforced to permissive.

Version-Release number of selected component:
policycoreutils-devel-2.2.2-3.fc20

Additional info:
reporter:       libreport-2.1.10
cmdline:        /usr/bin/python -Es /usr/bin/sepolicy gui
executable:     /usr/bin/sepolicy
kernel:         3.12.5-301.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
connection.py:651:call_blocking:DBusException: org.freedesktop.PolicyKit1.Error.Failed: Action org.selinux.change_default_mode is not registered

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/sepolicy/gui.py", line 2628, in change_default_mode
    self.dbus.change_default_mode(button.get_label().lower())
  File "<string>", line 2, in change_default_mode
  File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 121, in _enable_proxy
    return func(*p, **k)
  File "/usr/lib64/python2.7/site-packages/sepolicy/sedbus.py", line 44, in change_default_mode
    ret = self.dbus_object.change_default_mode(value, dbus_interface = "org.selinux")
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.PolicyKit1.Error.Failed: Action org.selinux.change_default_mode is not registered

Local variables in innermost frame:
byte_arrays: False
self: <dbus._dbus.SystemBus (system) at 0x30eb6b0>
args: ('permissive',)
object_path: '/org/selinux/object'
signature: u's'
bus_name: dbus.UTF8String(':1.127')
get_args_opts: {'byte_arrays': False, 'utf8_strings': False}
timeout: -1.0
kwargs: {}
dbus_interface: 'org.selinux'
message: <dbus.lowlevel.MethodCallMessage path: /org/selinux/object, iface: org.selinux, member: change_default_mode dest: :1.127>
method: 'change_default_mode'

Comment 1 Dario Castellarin 2013-12-15 12:30:56 UTC
Created attachment 836924 [details]
File: backtrace

Comment 2 Dario Castellarin 2013-12-15 12:30:58 UTC
Created attachment 836925 [details]
File: dso_list

Comment 3 Dario Castellarin 2013-12-15 12:31:00 UTC
Created attachment 836926 [details]
File: environ

Comment 4 Fedora End Of Life 2015-05-29 09:59:48 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Fedora End Of Life 2015-06-29 13:31:59 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.