Bug 1254077

Summary: [abrt] firewalld: service.py:32:<module>:ImportError: cannot import name '_glib'
Product: [Fedora] Fedora Reporter: Jakub Filak <jfilak>
Component: python-slipAssignee: Nils Philippsen <nphilipp>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ignatenko, jberan, jpopelka, nphilipp, pomidorabelisima, twoerner, vondruch
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/ec35e684095bd38258749cd73006c30afc121edf
Whiteboard: abrt_hash:00f77d6e5f7ab3719cc2e556e7b3b4a9562a773f
Fixed In Version: 0.6.3-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-26 04:33:32 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: environ none

Description Jakub Filak 2015-08-17 06:36:15 UTC
Description of problem:
I updated my system (glibc-2.21.90-20.fc24 -> 2.22.90-2.fc24), rebooted and firewalld started crashing with this error.

Version-Release number of selected component:
firewalld-0.3.14.2-4.fc24

Additional info:
reporter:       libreport-2.6.2.2.g8c63.dirty
cmdline:        /usr/bin/python3 -Es /usr/sbin/firewalld --nofork --nopid
executable:     /usr/sbin/firewalld
kernel:         4.2.0-0.rc0.git1.1.fc23.x86_64
runlevel:       3 5
type:           Python3
uid:            0

Truncated backtrace:
#1 <module> in /usr/lib/python3.4/site-packages/slip/dbus/service.py:32
#2 <module> in /usr/lib/python3.4/site-packages/slip/dbus/__init__.py:8
#3 <module> in /usr/lib/python3.4/site-packages/firewall/server/server.py:38
#4 startup in /usr/sbin/firewalld:127
#5 main in /usr/sbin/firewalld:171
#6 <module> in /usr/sbin/firewalld:176

Comment 1 Jakub Filak 2015-08-17 06:36:18 UTC
Created attachment 1063641 [details]
File: backtrace

Comment 2 Jakub Filak 2015-08-17 06:36:20 UTC
Created attachment 1063642 [details]
File: environ

Comment 3 Jakub Filak 2015-08-17 07:05:21 UTC
Heh, "from .._wrappers import _glib as GLib" confused me a bit. The crash has root cause in python-slip package where the %{python3_sitelib}/slip/_wrappers/glib.py does not exist (the bug was probably introduced with the patch for bug #1202554).

I have opened upstream pull request https://github.com/nphilipp/python-slip/pull/1

Comment 4 Nils Philippsen 2015-08-17 08:59:15 UTC
fixed upstream:

commit fe36638e010eb12789de5ba30d0822b2261a6b64
Author:     Nils Philippsen <nils>
AuthorDate: Mon Aug 17 10:47:28 2015 +0200
Commit:     Nils Philippsen <nils>
CommitDate: Mon Aug 17 10:47:28 2015 +0200

    fix omissions from _gobject -> _glib migration
    
    amends commit 72541ae95eb8961584876320edd8e22d5ffa309d

commit e837efed64626203c3ec0721469ad7c233265e59
Author:     Jakub Filak <jfilak>
AuthorDate: Mon Aug 17 08:56:52 2015 +0200
Commit:     Nils Philippsen <nils>
CommitDate: Mon Aug 17 10:41:26 2015 +0200

    amend the migration from GObject to GLib
    
    This commit fixes bugzilla.redhat.com/1254077 partially
    The bug was introduced in commit 72541ae95eb8961584876320edd8e22d5ffa309d
    
    Signed-off-by: Jakub Filak <jfilak>
    Signed-off-by: Nils Philippsen <nils>

Comment 5 Fedora Update System 2015-08-17 09:51:22 UTC
python-slip-0.6.3-1.fc23 has been submitted as an update for Fedora 23.
https://admin.fedoraproject.org/updates/python-slip-0.6.3-1.fc23

Comment 6 Fedora Update System 2015-08-17 09:51:32 UTC
python-slip-0.6.3-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/python-slip-0.6.3-1.fc22

Comment 7 Fedora Update System 2015-08-17 09:52:46 UTC
python-slip-0.6.3-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/python-slip-0.6.3-1.fc21

Comment 8 Nils Philippsen 2015-08-17 12:01:41 UTC
*** Bug 1254134 has been marked as a duplicate of this bug. ***

Comment 9 Vít Ondruch 2015-08-18 18:35:48 UTC
*** Bug 1254736 has been marked as a duplicate of this bug. ***

Comment 10 Fedora Update System 2015-08-19 08:04:31 UTC
Package python-slip-0.6.3-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-slip-0.6.3-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-13673/python-slip-0.6.3-1.fc21
then log in and leave karma (feedback).

Comment 11 Nils Philippsen 2015-08-21 09:34:47 UTC
*** Bug 1253981 has been marked as a duplicate of this bug. ***

Comment 12 Fedora Update System 2015-08-26 04:33:29 UTC
python-slip-0.6.3-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2015-09-04 05:19:35 UTC
python-slip-0.6.3-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2015-09-04 11:49:26 UTC
python-slip-0.6.3-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.