Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File "/usr/lib/python-exec/python3.4/sepolicy", line 265 #41

Closed
FIOpwK opened this issue Dec 27, 2016 · 2 comments
Closed

File "/usr/lib/python-exec/python3.4/sepolicy", line 265 #41

FIOpwK opened this issue Dec 27, 2016 · 2 comments

Comments

@FIOpwK
Copy link

FIOpwK commented Dec 27, 2016

Running the following command on Gentoo Linux profile=hardened/linux/amd64/selinux kernel= linux-4.4.39-gentoo, (kernel=linux-4.7.10-hardened)* with python version Python 3.4.5, produces syntax error in code found in:

File "/usr/lib/python-exec/python3.4/sepolicy", line 265

Syntax Discription: print "\n" + bold_start + "%s: %s %s" % (src, protocol, perm) + bold_end

Print commands in sepolicy.py: grep -Fr 'print ' /usr/lib/python-exec/python3.4/sepolicy

Command: sepolicy (with or without additional options syntax error is produced)

package name: sys-apps/policycoreutils

@FIOpwK
Copy link
Author

FIOpwK commented Dec 27, 2016

[I] sys-apps/policycoreutils
Available Versions: 2.6 2.5 2.4-r2 2.4-r1 2.4
Last Installed Ver: 2.6(Sun 25 Dec 2016 11:01:22 AM EST)
Homepage: https://github.com/SELinuxProject/selinux/wiki
Description: SELinux core utilities
Matched Files: /usr/share/bash-completion/completions/sepolicy; /usr/lib/python-exec/python3.4/sepolicy; /usr/lib/python-exec/python3.3/sepolicy; /usr/lib/python-exec/python2.7/sepolicy; /usr/bin/sepolicy;

@stephensmalley
Copy link
Member

Appears to already have been addressed upstream AFAICT.

@FIOpwK FIOpwK closed this as completed Jan 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants