Bug 1877905

Summary: Please drop dependency on Perl
Product: [Fedora] Fedora Reporter: Colin Walters <walters>
Component: rdma-coreAssignee: Honggang LI <honli>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dledford, honli, jarodwilson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-29 23:30:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Colin Walters 2020-09-10 17:26:37 UTC
Today due to https://github.com/openshift/enhancements/pull/285 we pull openvswitch onto the host for OpenShift and this transitively drags in perl because of at least:

```
$ head -1 /usr/bin/rxe_cfg 
#!/usr/bin/perl
$ rpm -qf /usr/bin/rxe_cfg 
libibverbs-26.0-8.el8.x86_64
```

We'd like not to ship perl (or any interpreters) on the host system to avoid people depending on them.
https://github.com/coreos/fedora-coreos-tracker/blob/master/Design.md#approach-towards-shipping-Python

Comment 1 Honggang LI 2020-09-10 23:59:39 UTC
(In reply to Colin Walters from comment #0)
> Today due to https://github.com/openshift/enhancements/pull/285 we pull
> openvswitch onto the host for OpenShift and this transitively drags in perl
> because of at least:
> 
> ```
> $ head -1 /usr/bin/rxe_cfg 
> #!/usr/bin/perl

I believe rxe_cfg had been removed for Fedora-rawhide.

localhost x86_64]$ ls
ibacm-31.0-1.fc34.x86_64.rpm                    libibverbs-31.0-1.fc34.x86_64.rpm        rdma-core-31.0-1.fc34.x86_64.rpm
infiniband-diags-31.0-1.fc34.x86_64.rpm         libibverbs-utils-31.0-1.fc34.x86_64.rpm  rdma-core-devel-31.0-1.fc34.x86_64.rpm
infiniband-diags-compat-31.0-1.fc34.x86_64.rpm  librdmacm-31.0-1.fc34.x86_64.rpm         srp_daemon-31.0-1.fc34.x86_64.rpm
iwpmd-31.0-1.fc34.x86_64.rpm                    librdmacm-utils-31.0-1.fc34.x86_64.rpm
libibumad-31.0-1.fc34.x86_64.rpm                python3-pyverbs-31.0-1.fc34.x86_64.rpm

localhost x86_64]$ for p in *; do echo "==== $p === "; rpm -qpR $p | grep -i perl; done                                                    
==== ibacm-31.0-1.fc34.x86_64.rpm === 
==== infiniband-diags-31.0-1.fc34.x86_64.rpm === 
/usr/bin/perl
perl(Getopt::Std)
perl(IBswcountlimits)
perl(strict)
==== infiniband-diags-compat-31.0-1.fc34.x86_64.rpm === 
/usr/bin/perl
perl(Getopt::Std)
perl(IBswcountlimits)
perl(strict)
==== iwpmd-31.0-1.fc34.x86_64.rpm === 
==== libibumad-31.0-1.fc34.x86_64.rpm === 
==== libibverbs-31.0-1.fc34.x86_64.rpm === 
==== libibverbs-utils-31.0-1.fc34.x86_64.rpm === 
==== librdmacm-31.0-1.fc34.x86_64.rpm === 
==== librdmacm-utils-31.0-1.fc34.x86_64.rpm === 
==== python3-pyverbs-31.0-1.fc34.x86_64.rpm === 
==== rdma-core-31.0-1.fc34.x86_64.rpm === 
==== rdma-core-devel-31.0-1.fc34.x86_64.rpm === 
==== srp_daemon-31.0-1.fc34.x86_64.rpm === 



> $ rpm -qf /usr/bin/rxe_cfg 
> libibverbs-26.0-8.el8.x86_64
                    ^^^ ?

This bug was opened for Fedora-Rawhide. But RHEL-8 package was installed.