Bug 1877905 - Please drop dependency on Perl
Summary: Please drop dependency on Perl
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rdma-core
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Honggang LI
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-10 17:26 UTC by Colin Walters
Modified: 2020-10-29 23:30 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-10-29 23:30:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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