Bug 836087 - [abrt] policycoreutils-python-2.1.11-18.fc17: seobject.py:274:commit:TypeError: in method 'semanage_set_reload', argument 2 of type 'int'
Summary: [abrt] policycoreutils-python-2.1.11-18.fc17: seobject.py:274:commit:TypeErro...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e6220ddbdb00713132c71ebb07d...
: 868064 (view as bug list)
Depends On:
Blocks: 848130
TreeView+ depends on / blocked
 
Reported: 2012-06-28 05:30 UTC by Juan Orti
Modified: 2012-12-20 15:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-20 15:27:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Juan Orti 2012-06-28 05:30:35 UTC
libreport version: 2.0.10
abrt_version:   2.0.10
cmdline:        /usr/bin/python -Es /sbin/semanage -S targeted -i -
executable:     /sbin/semanage
kernel:         3.3.7-1.fc17.x86_64
time:           dom 27 may 2012 20:45:39 CEST
uid:            0
username:       root

backtrace:
:seobject.py:274:commit:TypeError: in method 'semanage_set_reload', argument 2 of type 'int'
:
:Traceback (most recent call last):
:  File "/sbin/semanage", line 566, in <module>
:    trans.finish()
:  File "/usr/lib64/python2.7/site-packages/seobject.py", line 285, in finish
:    self.commit()
:  File "/usr/lib64/python2.7/site-packages/seobject.py", line 274, in commit
:    semanage_set_reload(self.sh, self.reload)
:TypeError: in method 'semanage_set_reload', argument 2 of type 'int'
:
:Local variables in innermost frame:
:self: <seobject.semanageRecords instance at 0x2747a28>

Comment 1 Miroslav Grepl 2012-06-29 09:16:20 UTC
Fixed in policycoreutils-2.1.11-19.1.fc17.x86_64

Comment 2 Miroslav Suchý 2012-10-19 14:23:50 UTC
Can you please release it via updates? This is cousing problem for us as well (Katello project).

Comment 3 Miroslav Grepl 2012-10-19 16:14:26 UTC
No idea why this is still opened. I apologize.

Comment 4 Miroslav Suchý 2012-10-20 18:14:26 UTC
You build that package in koji, but it has been garbage collected. Most probably because you did not associate it with update in bodhi.

Comment 5 John Griffiths 2012-10-20 18:14:29 UTC
*** Bug 868064 has been marked as a duplicate of this bug. ***

Comment 6 John Griffiths 2012-10-20 18:16:16 UTC
This is happening in i686 too; 3.6.2-4.fc17.i686.PAE

Comment 7 Fedora Update System 2012-10-24 13:04:38 UTC
policycoreutils-2.1.12-4.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/policycoreutils-2.1.12-4.fc17

Comment 8 Fedora Update System 2012-10-24 23:56:35 UTC
Package policycoreutils-2.1.12-4.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing policycoreutils-2.1.12-4.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16848/policycoreutils-2.1.12-4.fc17
then log in and leave karma (feedback).

Comment 9 Miroslav Suchý 2012-10-30 06:22:10 UTC
I tested the new package and it gets further, but still failing. The error changed from:

Non-fatal POSTIN scriptlet failure in rpm package katello-selinux-1.1.2-1.fc17.noarch
Traceback (most recent call last):
  File "/usr/sbin/semanage", line 566, in <module>
    trans.finish()
  File "/usr/lib64/python2.7/site-packages/seobject.py", line 285, in finish
    self.commit()
  File "/usr/lib64/python2.7/site-packages/seobject.py", line 274, in commit
    semanage_set_reload(self.sh, self.reload)
TypeError: in method 'semanage_set_reload', argument 2 of type 'int'

to:

Non-fatal POSTIN scriptlet failure in rpm package katello-selinux-1.1.2-1.fc17.noarch
Traceback (most recent call last):
  File "/usr/sbin/semanage", line 568, in <module>
    process_args(mkargv(l))
  File "/usr/sbin/semanage", line 449, in process_args
    OBJECT.modify(target, value, use_file)
  File "/usr/lib64/python2.7/site-packages/seobject.py", line 2026, in modify
    name = selinux.selinux_boolean_sub(name)
AttributeError: 'module' object has no attribute 'selinux_boolean_sub'

Comment 10 Miroslav Grepl 2012-10-31 13:34:30 UTC
Fixed in policycoreutils-2.1.12-5.fc17

Comment 11 Miroslav Suchý 2012-10-31 14:45:34 UTC
Indeed.
Thanks.

Comment 12 Fedora Update System 2012-11-01 01:25:22 UTC
Package policycoreutils-2.1.12-5.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing policycoreutils-2.1.12-5.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16848/policycoreutils-2.1.12-5.fc17
then log in and leave karma (feedback).

Comment 13 Fedora Update System 2012-12-20 15:27:49 UTC
policycoreutils-2.1.12-5.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


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