Bug 1329944 - python27-PyYAML: wrong interpreter
Summary: python27-PyYAML: wrong interpreter
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: PyYAML
Version: python27
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 2.2
Assignee: Charalampos Stratakis
QA Contact: Branislav Náter
Depends On:
Blocks: 1330146
TreeView+ depends on / blocked
Reported: 2016-04-25 07:28 UTC by Branislav Náter
Modified: 2016-05-31 10:26 UTC (History)
3 users (show)

Fixed In Version: python27-PyYAML-3.10-14.el6 python27-PyYAML-3.10-14.el7
Doc Type: Bug Fix
Doc Text:
Cause: yaml_hl.py has a shebang which points to system python Consequence: This file should not be executable nor pointing to system python Fix: Remove shebang through the SPEC file Result: Shebang is removed
Clone Of:
: 1330146 (view as bug list)
Last Closed: 2016-05-31 10:26:06 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:1166 normal SHIPPED_LIVE Moderate: python27 security, bug fix, and enhancement update 2016-05-31 14:04:55 UTC

Description Branislav Náter 2016-04-25 07:28:05 UTC
Description of problem:
File '/opt/rh/python27/root/usr/share/doc/python27-PyYAML-3.10/examples/yaml-highlight/yaml_hl.py' has wrong interpreter '#!/usr/bin/python'

Version-Release number of selected component (if applicable):

Additional info:
"env python" should be used to use collection python instead of system python.

Comment 1 Charalampos Stratakis 2016-04-25 16:31:48 UTC
This file becomes non-executable during the prep section in the SPEC file (chmod a-x examples/yaml-highlight/yaml_hl.py) however for consistency I will remove the shebang.

Comment 5 errata-xmlrpc 2016-05-31 10:26:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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