Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1632277 - glusterfs-geo-replication requires Python 2 and Python 3 at the same time
Summary: glusterfs-geo-replication requires Python 2 and Python 3 at the same time
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: glusterfs
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kaleb KEITHLEY
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3 PYTHON3-PYTHON2
TreeView+ depends on / blocked
 
Reported: 2018-09-24 14:24 UTC by Miro Hrončok
Modified: 2018-09-25 11:00 UTC (History)
7 users (show)

Fixed In Version: glusterfs-5.0-0.3.rc0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-25 11:00:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2018-09-24 14:24:54 UTC
$ dnf repoquery --repo=rawhide --requires glusterfs-geo-replication | grep python
/usr/bin/python2
python3
python3-gluster = 5.0-0.1.rc0.fc30
python3-prettytable


Is this desirable? It's shebangs:

$ rg python2
usr/libexec/glusterfs/peer_mountbroker.py
1:#!/usr/bin/python2

usr/libexec/glusterfs/peer_mountbroker
1:#!/usr/bin/python2

usr/libexec/glusterfs/peer_georep-sshkey.py
1:#!/usr/bin/python2

usr/libexec/glusterfs/gfind_missing_files/gfid_to_path.py
1:#!/usr/bin/python2

usr/share/glusterfs/scripts/schedule_georep.py
1:#!/usr/bin/python2

usr/libexec/glusterfs/python/syncdaemon/conf.py
1:#!/usr/bin/python2

usr/libexec/glusterfs/python/syncdaemon/changelogagent.py
1:#!/usr/bin/python2

usr/libexec/glusterfs/python/syncdaemon/gsyncd.py
1:#!/usr/bin/python2

usr/libexec/glusterfs/python/syncdaemon/gsyncdstatus.py
1:#!/usr/bin/python2


Happens on:

glusterfs-geo-replication-0:5.0-0.1.rc0.fc30
glusterfs-geo-replication-0:5.0-0.2.rc0.fc30

Comment 1 Kaleb KEITHLEY 2018-09-24 16:37:48 UTC
It's probably because there's no /usr/bin/python3 in the mock job that creates the SRPM, so the shebangs get wacked from python3 to python2 by BuildSRPM job.

Comment 2 Miro Hrončok 2018-09-24 16:44:15 UTC
Just curious. What part of BuildSRPM changes shebangs?


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