Bug 678167 - [abrt] policycoreutils-gui-2.0.83-28.fc14: polgen.py:1056:write_te:IOError: [Errno 2] No such file or directory: '/home/magrasjc//usr/bin/skyp.te'
Summary: [abrt] policycoreutils-gui-2.0.83-28.fc14: polgen.py:1056:write_te:IOError: [...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 14
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6d50d97d
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-16 23:32 UTC by JeanClaude Magras
Modified: 2011-02-17 21:29 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-17 21:29:51 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (816 bytes, text/plain)
2011-02-16 23:32 UTC, JeanClaude Magras
no flags Details

Description JeanClaude Magras 2011-02-16 23:32:41 UTC
abrt version: 1.1.13
architecture: i686
cmdline: /usr/bin/python -Es /usr/bin/selinux-polgengui
component: policycoreutils
executable: /usr/bin/selinux-polgengui
kernel: 2.6.35.6-45.fc14.i686
package: policycoreutils-gui-2.0.83-28.fc14
reason: polgen.py:1056:write_te:IOError: [Errno 2] No such file or directory: '/home/magrasjc//usr/bin/skyp.te'
release: Fedora release 14 (Laughlin)
time: 1297899346
uid: 500

backtrace
-----
polgen.py:1056:write_te:IOError: [Errno 2] No such file or directory: '/home/xxxxxx//usr/bin/skyp.te'

Traceback (most recent call last):
  File "/usr/bin/selinux-polgengui", line 279, in forward
    self.generate_policy()
  File "/usr/bin/selinux-polgengui", line 423, in generate_policy
    self.info(my_policy.generate(outputdir))
  File "/usr/share/system-config-selinux/polgen.py", line 1124, in generate
    out += "%-25s %s\n" % (_("Type Enforcement file"), self.write_te(out_dir))
  File "/usr/share/system-config-selinux/polgen.py", line 1056, in write_te
    fd = open(tefile, "w")
IOError: [Errno 2] No such file or directory: '/home/xxxxxx//usr/bin/skyp.te'

Local variables in innermost frame:
tefile: '/home/xxxxxx//usr/bin/skyp.te'
self: <polgen.policy instance at 0x9d02fec>
out_dir: '/home/xxxxxxx'

How to reproduce
-----
1. I was trying to generate a policy for skype
2. I entered "/usr/bin/skype" as the name of the executable
3. selected tcp+udp ports above 1024 and connect to tcp ports 443

Comment 1 JeanClaude Magras 2011-02-16 23:32:44 UTC
Created attachment 479234 [details]
File: backtrace

Comment 2 Daniel Walsh 2011-02-17 21:29:51 UTC
Can you yum update to policycoreutils-2.0.83-33.12.fc14.x86_64

I tried to do what you did with this package and got an error message telling me that the path did not exist, in the gui


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