Bug 1395714

Summary: perl-Net-Server should depend on perl-IO-Socket-INET6
Product: [Fedora] Fedora Reporter: Dominik 'Rathann' Mierzejewski <dominik>
Component: perl-Net-ServerAssignee: d. johnson <drjohnson1>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: drjohnson1, ingvar, jvanek, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-Net-Server-2.008-6.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-16 23:20:13 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:

Description Dominik 'Rathann' Mierzejewski 2016-11-16 13:51:47 UTC
Description of problem:
munin-node fails to listen on IPv6 address if perl-IO-Socket-INET6 is not installed.

Version-Release number of selected component (if applicable):
munin-node-2.0.26-1.fc24.noarch

How reproducible:
Always.

Steps to Reproduce:
1. configure munin-node to listen on IPv6 (e.g. host * on a dual-stack machine)
2. dnf remove perl-IO-Socket-INET6
3. systemctl start

Actual results:
# netstat -tlnp |grep :4949
tcp      0      0 0.0.0.0:4949      0.0.0.0:*         LISTEN    5146/perl

Expected results:
# netstat -tlnp |grep :4949
tcp6     0      0 :::4949           :::*              LISTEN    3946/perl

Additional info:
Looks like this has been a known issue for at least 4 years:
https://www.jethrocarr.com/2012/11/11/munin-2-0-x-on-el-56-with-ipv6/

I'm not sure if the dependency should be added to munin(-node) or somewhere further in the dependency tree (perl-Net-Server perhaps?), but this is where I encountered the issue, so this is where I'm reporting it.

Comment 1 Dominik 'Rathann' Mierzejewski 2016-11-16 13:52:29 UTC
Correction:

Steps to Reproduce:
[...]
3. systemctl start munin-node.service

Comment 2 Dominik 'Rathann' Mierzejewski 2016-11-16 13:58:35 UTC
Same thing was filed against perl-Net-Server in EPEL already, so reassigning to perl-Net-Server. Sorry for the noise.

Comment 3 Dominik 'Rathann' Mierzejewski 2016-11-16 14:07:32 UTC
Please add Requires: perl-IO-Socket-INET6 . IPv6 support by default is required by the packaging guidelines:

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.

Comment 4 Dominik 'Rathann' Mierzejewski 2017-01-31 09:07:19 UTC
If there's no reply within a week, I will fix this myself (as provenpackager) and initiate https://fedoraproject.org/wiki/Policy_for_nonresponsive_package_maintainers . This is the first contact attempt.

Comment 5 d. johnson 2017-02-03 05:36:16 UTC
It is already there?

commit db820ebff9915413600e60278115c7868fecde97
Date:   Thu Nov 17 22:50:01 2016 -0600

    Bug 1395714 - perl-Net-Server should depend on perl-IO-Socket-INET6


What version of the package do you have?

Comment 6 Dominik 'Rathann' Mierzejewski 2017-02-05 11:31:43 UTC
Thanks for the reply.

I have
# rpm -q perl-Net-Server
perl-Net-Server-2.008-4.fc24.noarch

According to koji, there have been no builds of perl-Net-Server for F24 for a year. I can see it's fixed in rawhide, but this bug is open against F24.

Comment 7 Fedora Update System 2017-02-06 04:50:43 UTC
perl-Net-Server-2.008-6.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-be111c323f

Comment 8 Fedora Update System 2017-02-07 10:50:07 UTC
perl-Net-Server-2.008-6.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-be111c323f

Comment 9 Fedora Update System 2017-02-16 23:20:13 UTC
perl-Net-Server-2.008-6.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.