SELinux Policy Management Tool does not start on Artful

Bug #1713326 reported by Norbert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
policycoreutils (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Steps to reproduce:
1. Install Ubuntu 17.10
2. Install policycoreutils-gui
3a. Try to launch it from desktop shortcut
3b. Try to launch it from terminal with /usr/bin/sepolicy gui
4a. Application asked for sudo password, but does not start
4b. From terminal it asked for sudo password and printed error message:

/usr/lib/python3/dist-packages/sepolicy/gui.py:29: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
org.freedesktop.DBus.Python.OSError: OSError: [Errno Failed to read SELinux configuration: %s] (b'', b'Traceback (most recent call last):\n File "/usr/sbin/semanage", line 28, in <module>\n import seobject\n File "/usr/lib/python3/dist-packages/seobject.py", line 1038, in <module>\n class portRecords(semanageRecords):\n File "/usr/lib/python3/dist-packages/seobject.py", line 1040, in portRecords\n valid_types = list(list(sepolicy.info(sepolicy.ATTRIBUTE, "port_type"))[0]["types"])\n File "/usr/lib/python3/dist-packages/sepolicy/__init__.py", line 192, in <genexpr>\n return ({\n File "/usr/lib/python3/dist-packages/setools/typeattrquery.py", line 65, in results\n for attr in self.policy.typeattributes():\nAttributeError: \'NoneType\' object has no attribute \'typeattributes\'\n')

Expected results:
* SELinux Policy Management Tool runs normally

Actual results:
* SELinux Policy Management Tool does not run

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: policycoreutils-gui 2.6-3
ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
Uname: Linux 4.12.0-11-generic i686
ApportVersion: 2.20.6-0ubuntu7
Architecture: i386
CurrentDesktop: GNOME
Date: Sun Aug 27 15:58:37 2017
InstallationDate: Installed on 2017-08-26 (0 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha i386 (20170826)
PackageArchitecture: all
SourcePackage: policycoreutils
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Norbert (nrbrtx) wrote :
Revision history for this message
Norbert (nrbrtx) wrote :

Wayland is not the problem here.

Changed in policycoreutils (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.