Bug 1135708 - [abrt] policycoreutils-python: __init__.py:340:enable:AttributeError: 'NoneType' object has no attribute 'split'
Summary: [abrt] policycoreutils-python: __init__.py:340:enable:AttributeError: 'NoneTy...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:dbc7652a6a99d4ba366db2c5eba...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-30 17:35 UTC by Laszlo Pal
Modified: 2015-06-30 01:20 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-30 01:20:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (630 bytes, text/plain)
2014-08-30 17:35 UTC, Laszlo Pal
no flags Details
File: environ (2.64 KB, text/plain)
2014-08-30 17:35 UTC, Laszlo Pal
no flags Details

Description Laszlo Pal 2014-08-30 17:35:10 UTC
Version-Release number of selected component:
policycoreutils-python-2.2.5-4.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python -Es /sbin/semanage module -e
executable:     /sbin/semanage
kernel:         3.15.10-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
__init__.py:340:enable:AttributeError: 'NoneType' object has no attribute 'split'

Traceback (most recent call last):
  File "/sbin/semanage", line 852, in <module>
    do_parser()
  File "/sbin/semanage", line 831, in do_parser
    args.func(args)
  File "/sbin/semanage", line 511, in handleModule
    OBJECT.enable(args.module_name)
  File "/usr/lib/python2.7/site-packages/seobject/__init__.py", line 340, in enable
    for m in module.split():
AttributeError: 'NoneType' object has no attribute 'split'

Local variables in innermost frame:
self: <seobject.moduleRecords instance at 0x5eb23f8>
need_commit: False
module: None

Comment 1 Laszlo Pal 2014-08-30 17:35:13 UTC
Created attachment 932958 [details]
File: backtrace

Comment 2 Laszlo Pal 2014-08-30 17:35:14 UTC
Created attachment 932959 [details]
File: environ

Comment 3 Miroslav Grepl 2014-09-02 07:38:53 UTC
https://github.com/fedora-selinux/selinux/commit/3d4b60af6aae47874fb02e92c0521e2ef7612d81

commit 3d4b60af6aae47874fb02e92c0521e2ef7612d81
Author: Miroslav Grepl <mgrepl>
Date:   Tue Sep 2 09:31:17 2014 +0200

    We need to check if a module name is passed to semanage-module.

Comment 4 Fedora End Of Life 2015-05-29 12:46:06 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-30 01:20:17 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.


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