abrt version: 1.1.13 architecture: x86_64 component: policycoreutils executable: /usr/bin/sandbox kernel: 2.6.34.6-47.fc13.x86_64 package: policycoreutils-python-2.0.83-20.fc13 reason: sandbox:353:__setup_dir:AttributeError: 'module' object has no attribute 'chcon' release: Fedora release 13 (Goddard) time: 1283770592 uid: 500 backtrace ----- sandbox:353:__setup_dir:AttributeError: 'module' object has no attribute 'chcon' Traceback (most recent call last): File "/usr/bin/sandbox", line 423, in <module> rc = sandbox.main() File "/usr/bin/sandbox", line 410, in main self.__setup_dir() File "/usr/bin/sandbox", line 353, in __setup_dir selinux.chcon(self.__options.homedir, self.__filecon, recursive=True) AttributeError: 'module' object has no attribute 'chcon' Local variables in innermost frame: sandboxdir: '/home/user/.sandbox' self: <__main__.Sandbox instance at 0x7fc951635b00> How to reproduce ----- 1. start a sandbox including -X -t -i -H options
Created an attachment (id=443275) File: backtrace
'-H' option causes the problem and is therefore not functional any more sandbox -X -H foo evince Traceback (most recent call last): File "/usr/bin/sandbox", line 423, in <module> rc = sandbox.main() File "/usr/bin/sandbox", line 410, in main self.__setup_dir() File "/usr/bin/sandbox", line 353, in __setup_dir selinux.chcon(self.__options.homedir, self.__filecon, recursive=True) AttributeError: 'module' object has no attribute 'chcon'
Fixed in libselinux-2.0.94-2.fc13.src.rpm
libselinux-2.0.94-2.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/libselinux-2.0.94-2.fc13
libselinux-2.0.94-2.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update libselinux'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/libselinux-2.0.94-2.fc13
libselinux-2.0.94-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.