Bug 1331825 - perl-Net-Server should depend on perl-IO-Socket-INET6
Summary: perl-Net-Server should depend on perl-IO-Socket-INET6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: perl-Net-Server
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-29 16:34 UTC by Roy Sigurd Karlsbakk
Modified: 2022-08-13 02:26 UTC (History)
6 users (show)

Fixed In Version: perl-Net-Server-2.007-3.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-13 02:26:21 UTC
Type: Bug


Attachments (Terms of Use)
Patch backporting the change from master. (1.54 KB, patch)
2017-06-09 11:02 UTC, Dominik 'Rathann' Mierzejewski
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1395714 0 unspecified CLOSED perl-Net-Server should depend on perl-IO-Socket-INET6 2021-02-22 00:41:40 UTC

Internal Links: 1395714

Description Roy Sigurd Karlsbakk 2016-04-29 16:34:58 UTC
Description of problem:

With systems like munin-node, it's unable to listen to IPv6 unless perl-IO-Socket-INET6 is installed manually. There really isn't a good reason to keep this out, since IPv6 is getting rather common these days

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

Current RHEL/CentOS 7 as of 2016-04-29

How reproducible:

Every time

Steps to Reproduce:
1. Try to bind to IPv6 with perl-Net-Server
2.
3.

Actual results:
Fails

Expected results:
Succeeds

Additional info:

Comment 1 Petr Šabata 2016-05-02 09:15:34 UTC
(In reply to Roy Sigurd Karlsbakk from comment #0)
> There really isn't a good reason
> to keep this out, since IPv6 is getting rather common these days

IPv6 support in this package is optional and it's documented.
By requiring it you force it onto users who might not want it, for whatever reasons.  Note that behavior would also be different from upstream.

The dependency could be expressed with `Recommends', however, I'm not sure whether this is supported in EPEL7.

Comment 2 Dominik 'Rathann' Mierzejewski 2016-11-16 14:23:49 UTC
IPv6 support by default is required by the packaging guidelines:
https://fedoraproject.org/wiki/Packaging:Guidelines#Networking_Support

There is nothing in EPEL-specific guidelines to the contrary, so the above applies for EPEL as well. Please add the missing Requires.

Comment 3 Roy Sigurd Karlsbakk 2017-01-30 19:14:51 UTC
I see no reason for holding back on this one. IPv6 is essensial these days.

Comment 4 Dominik 'Rathann' Mierzejewski 2017-01-31 09:07:01 UTC
If there's no reply within a week, I will fix this myself (as provenpackager).

Comment 5 Dominik 'Rathann' Mierzejewski 2017-06-09 11:02:10 UTC
Created attachment 1286376 [details]
Patch backporting the change from master.

Comment 6 Petr Šabata 2017-06-09 12:13:43 UTC
Nothing has changed about my previous comment. IPv6 support in this package is optional.  If you want support for it, you can always install IO::Socket::INET6.  Optionally.

Adding a hard dependency on it forces it onto people who don't need it and differs from upstream behavior.

If you believe Net::Server users shouldn't have a choice in this matter, the best way would be discussing it with upstream.  The package could then follow upstream decision.

I'm not against IPv6, far from it.  Just stating the facts.

Comment 7 Petr Pisar 2017-06-09 13:51:19 UTC
I'm also against hard coding the dependency. If there is something to be changed in this package regardgin IPv6 support, then it is replacing IO::Socket::INET and IO::Socket::INET6 with IO::Socket::IP. But that's definitely a job for the upstream.

Comment 8 Dominik 'Rathann' Mierzejewski 2017-06-09 14:40:18 UTC
(In reply to Petr Šabata from comment #6)
> Nothing has changed about my previous comment. IPv6 support in this package
> is optional.  If you want support for it, you can always install
> IO::Socket::INET6.  Optionally.
> 
> Adding a hard dependency on it forces it onto people who don't need it and
> differs from upstream behavior.

That's a decision that Fedora (and EPEL) made already:
https://fedoraproject.org/wiki/Packaging:Guidelines#Networking_Support
[...]
If an application contains native and stable support for both IPv4 and IPv6, and support for IPv6 does not negatively affect IPv4 then both MUST be enabled in the Fedora package.

IPv6 is NOT optional unless it breaks IPv4 usage. Please either point to a bug report saying that installing IO::Socket::INET6 breaks IPv4 connectivity in Net::Server or add the dependency as required.

> If you believe Net::Server users shouldn't have a choice in this matter, the
> best way would be discussing it with upstream.  The package could then
> follow upstream decision.

If you believe Net::Server users should have a choice in this matter then the best way would be to propose making IPv6 optional in the Fedora (or EPEL) Packaging Guidelines. The package could then follow the Packaging Guidelines.

> I'm not against IPv6, far from it.  Just stating the facts.

As am I.

Comment 9 Petr Šabata 2017-06-09 14:52:23 UTC
(In reply to Dominik 'Rathann' Mierzejewski from comment #8)
> (In reply to Petr Šabata from comment #6)
> > Nothing has changed about my previous comment. IPv6 support in this package
> > is optional.  If you want support for it, you can always install
> > IO::Socket::INET6.  Optionally.
> > 
> > Adding a hard dependency on it forces it onto people who don't need it and
> > differs from upstream behavior.
> 
> That's a decision that Fedora (and EPEL) made already:
> https://fedoraproject.org/wiki/Packaging:Guidelines#Networking_Support
> [...]
> If an application contains native and stable support for both IPv4 and IPv6,
> and support for IPv6 does not negatively affect IPv4 then both MUST be
> enabled in the Fedora package.

Okay, I admit I didn't know about or remember this rule -- there's nothing to discuss then.  Although you might want to change the wording as it explicitly says "in the Fedora package".

Comment 10 Dominik 'Rathann' Mierzejewski 2017-06-09 14:58:45 UTC
(In reply to Petr Šabata from comment #9)
> (In reply to Dominik 'Rathann' Mierzejewski from comment #8)
[...]
> > That's a decision that Fedora (and EPEL) made already:
> > https://fedoraproject.org/wiki/Packaging:Guidelines#Networking_Support
> > [...]
> > If an application contains native and stable support for both IPv4 and IPv6,
> > and support for IPv6 does not negatively affect IPv4 then both MUST be
> > enabled in the Fedora package.
> 
> Okay, I admit I didn't know about or remember this rule -- there's nothing
> to discuss then.

Thank you.

> Although you might want to change the wording as it explicitly says "in the
> Fedora package".

https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_for_EPEL

Packaging for EPEL

For the most part, these guidelines and the application-specific guidelines below cover packaging for both Fedora and EPEL. However, there are necessarily some differences. When packaging for EPEL, please also consult the EPEL packaging guidelines for additional information.

Comment 11 Michal Josef Spacek 2022-08-03 09:48:12 UTC
Module is build with "BuildRequires:  perl(IO::Socket::INET6)", i am closing this ticket.

Comment 12 Paul Howarth 2022-08-03 12:31:40 UTC
(In reply to Michal Josef Spacek from comment #11)
> Module is build with "BuildRequires:  perl(IO::Socket::INET6)", i am closing
> this ticket.

This ticket is about adding a run-time dependency, not a build-time dependency. The Fedora package has had "Requires: perl(IO::Socket::INET6)" since 2016 but it has not been added to the epel7 package.

Comment 13 Michal Josef Spacek 2022-08-04 07:40:41 UTC
@paul Ah, sorry.

I created PR for it: https://src.fedoraproject.org/rpms/perl-Net-Server/pull-request/1

Comment 14 Fedora Update System 2022-08-04 16:01:34 UTC
FEDORA-EPEL-2022-22044ac958 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-22044ac958

Comment 15 Fedora Update System 2022-08-05 02:44:41 UTC
FEDORA-EPEL-2022-22044ac958 has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-22044ac958

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2022-08-13 02:26:21 UTC
FEDORA-EPEL-2022-22044ac958 has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.


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