public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* infiniband-diags can't be installed in Fedora CoreOS due to perl dependency
@ 2023-08-12 16:40 St Savage, Shane
  2023-08-13 10:33 ` Leon Romanovsky
  0 siblings, 1 reply; 6+ messages in thread
From: St Savage, Shane @ 2023-08-12 16:40 UTC (permalink / raw)
  To: linux-rdma@vger.kernel.org

Hi all,

Just wanted to report that infiniband-diags cannot currently be installed in Fedora CoreOS because the perl dependency is explicitly forbidden.

https://github.com/coreos/fedora-coreos-config/blob/testing-devel/manifests/fedora-coreos.yaml#L170

This is a bit unfortunate because it also prevents usage of all the non-perl utilities (ibstat, etc) included in infiniband-diags.

Would it make sense to split the perl utilities to a separate package infiniband-diags-perl so that the C and shell utilities in infiniband-diags can be installed without the perl dependency?

Thank you,
Shane St Savage

^ permalink raw reply	[flat|nested] 6+ messages in thread

* infiniband-diags can't be installed in Fedora CoreOS due to perl dependency
@ 2023-08-13  0:20 Shane St. Savage
  0 siblings, 0 replies; 6+ messages in thread
From: Shane St. Savage @ 2023-08-13  0:20 UTC (permalink / raw)
  To: linux-rdma

Hi all,

Just wanted to report that infiniband-diags cannot currently be
installed in Fedora CoreOS because the perl dependency is explicitly
forbidden.

https://github.com/coreos/fedora-coreos-config/blob/testing-devel/manifests/fedora-coreos.yaml#L170

This is a bit unfortunate because it also prevents usage of all the
non-perl utilities (ibstat, etc) included in infiniband-diags.

Would it make sense to split the perl utilities to a separate package
infiniband-diags-perl so that the C and shell utilities in
infiniband-diags can be installed without the perl dependency?

Thank you,
Shane St Savage

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: infiniband-diags can't be installed in Fedora CoreOS due to perl dependency
  2023-08-12 16:40 infiniband-diags can't be installed in Fedora CoreOS due to perl dependency St Savage, Shane
@ 2023-08-13 10:33 ` Leon Romanovsky
  2023-08-14 15:32   ` Jason Gunthorpe
  0 siblings, 1 reply; 6+ messages in thread
From: Leon Romanovsky @ 2023-08-13 10:33 UTC (permalink / raw)
  To: St Savage, Shane; +Cc: linux-rdma@vger.kernel.org, Jason Gunthorpe

On Sat, Aug 12, 2023 at 04:40:57PM +0000, St Savage, Shane wrote:
> Hi all,
> 
> Just wanted to report that infiniband-diags cannot currently be installed in Fedora CoreOS because the perl dependency is explicitly forbidden.
> 
> https://github.com/coreos/fedora-coreos-config/blob/testing-devel/manifests/fedora-coreos.yaml#L170
> 
> This is a bit unfortunate because it also prevents usage of all the non-perl utilities (ibstat, etc) included in infiniband-diags.
> 
> Would it make sense to split the perl utilities to a separate package infiniband-diags-perl so that the C and shell utilities in infiniband-diags can be installed without the perl dependency?

I suggest to remove perl dependency from rdma--core.spec and install
perl-dependant scripts only if perl is found on the system.

Thanks

> 
> Thank you,
> Shane St Savage

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: infiniband-diags can't be installed in Fedora CoreOS due to perl dependency
  2023-08-13 10:33 ` Leon Romanovsky
@ 2023-08-14 15:32   ` Jason Gunthorpe
  2023-08-14 18:20     ` Leon Romanovsky
  0 siblings, 1 reply; 6+ messages in thread
From: Jason Gunthorpe @ 2023-08-14 15:32 UTC (permalink / raw)
  To: Leon Romanovsky; +Cc: St Savage, Shane, linux-rdma@vger.kernel.org

On Sun, Aug 13, 2023 at 01:33:05PM +0300, Leon Romanovsky wrote:
> On Sat, Aug 12, 2023 at 04:40:57PM +0000, St Savage, Shane wrote:
> > Hi all,
> > 
> > Just wanted to report that infiniband-diags cannot currently be installed in Fedora CoreOS because the perl dependency is explicitly forbidden.
> > 
> > https://github.com/coreos/fedora-coreos-config/blob/testing-devel/manifests/fedora-coreos.yaml#L170
> > 
> > This is a bit unfortunate because it also prevents usage of all the non-perl utilities (ibstat, etc) included in infiniband-diags.
> > 
> > Would it make sense to split the perl utilities to a separate package infiniband-diags-perl so that the C and shell utilities in infiniband-diags can be installed without the perl dependency?
> 
> I suggest to remove perl dependency from rdma--core.spec and install
> perl-dependant scripts only if perl is found on the system.

That is not how packaging is supposed to work

Everything should be installed always

This is really a Fedora question, we just follow what they
decide. Most likely the right answer is to put this kind of stuff in a
container and not run on the minimal coreos image.

Jason

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: infiniband-diags can't be installed in Fedora CoreOS due to perl dependency
  2023-08-14 15:32   ` Jason Gunthorpe
@ 2023-08-14 18:20     ` Leon Romanovsky
  2023-08-15 18:36       ` Jason Gunthorpe
  0 siblings, 1 reply; 6+ messages in thread
From: Leon Romanovsky @ 2023-08-14 18:20 UTC (permalink / raw)
  To: Jason Gunthorpe; +Cc: St Savage, Shane, linux-rdma@vger.kernel.org

On Mon, Aug 14, 2023 at 12:32:24PM -0300, Jason Gunthorpe wrote:
> On Sun, Aug 13, 2023 at 01:33:05PM +0300, Leon Romanovsky wrote:
> > On Sat, Aug 12, 2023 at 04:40:57PM +0000, St Savage, Shane wrote:
> > > Hi all,
> > > 
> > > Just wanted to report that infiniband-diags cannot currently be installed in Fedora CoreOS because the perl dependency is explicitly forbidden.
> > > 
> > > https://github.com/coreos/fedora-coreos-config/blob/testing-devel/manifests/fedora-coreos.yaml#L170
> > > 
> > > This is a bit unfortunate because it also prevents usage of all the non-perl utilities (ibstat, etc) included in infiniband-diags.
> > > 
> > > Would it make sense to split the perl utilities to a separate package infiniband-diags-perl so that the C and shell utilities in infiniband-diags can be installed without the perl dependency?
> > 
> > I suggest to remove perl dependency from rdma--core.spec and install
> > perl-dependant scripts only if perl is found on the system.
> 
> That is not how packaging is supposed to work
> 
> Everything should be installed always

Isn't how we use some packages in pyverbs?

Thanks

> 
> This is really a Fedora question, we just follow what they
> decide. Most likely the right answer is to put this kind of stuff in a
> container and not run on the minimal coreos image.
> 
> Jason

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: infiniband-diags can't be installed in Fedora CoreOS due to perl dependency
  2023-08-14 18:20     ` Leon Romanovsky
@ 2023-08-15 18:36       ` Jason Gunthorpe
  0 siblings, 0 replies; 6+ messages in thread
From: Jason Gunthorpe @ 2023-08-15 18:36 UTC (permalink / raw)
  To: Leon Romanovsky; +Cc: St Savage, Shane, linux-rdma@vger.kernel.org

On Mon, Aug 14, 2023 at 09:20:38PM +0300, Leon Romanovsky wrote:
> On Mon, Aug 14, 2023 at 12:32:24PM -0300, Jason Gunthorpe wrote:
> > On Sun, Aug 13, 2023 at 01:33:05PM +0300, Leon Romanovsky wrote:
> > > On Sat, Aug 12, 2023 at 04:40:57PM +0000, St Savage, Shane wrote:
> > > > Hi all,
> > > > 
> > > > Just wanted to report that infiniband-diags cannot currently be installed in Fedora CoreOS because the perl dependency is explicitly forbidden.
> > > > 
> > > > https://github.com/coreos/fedora-coreos-config/blob/testing-devel/manifests/fedora-coreos.yaml#L170
> > > > 
> > > > This is a bit unfortunate because it also prevents usage of all the non-perl utilities (ibstat, etc) included in infiniband-diags.
> > > > 
> > > > Would it make sense to split the perl utilities to a separate package infiniband-diags-perl so that the C and shell utilities in infiniband-diags can be installed without the perl dependency?
> > > 
> > > I suggest to remove perl dependency from rdma--core.spec and install
> > > perl-dependant scripts only if perl is found on the system.
> > 
> > That is not how packaging is supposed to work
> > 
> > Everything should be installed always
> 
> Isn't how we use some packages in pyverbs?

No, just the test suite which we don't really package as an actual
binary

Jason

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-08-15 18:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-12 16:40 infiniband-diags can't be installed in Fedora CoreOS due to perl dependency St Savage, Shane
2023-08-13 10:33 ` Leon Romanovsky
2023-08-14 15:32   ` Jason Gunthorpe
2023-08-14 18:20     ` Leon Romanovsky
2023-08-15 18:36       ` Jason Gunthorpe
  -- strict thread matches above, loose matches on Subject: below --
2023-08-13  0:20 Shane St. Savage

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox