[Bug 2051034] Removal of gethostbyname2 breaks Shorewall6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2051034



--- Comment #3 from Paul Howarth <paul@xxxxxxxxxxxx> ---
(In reply to Brian J. Murrell from comment #2)
> (In reply to Paul Howarth from comment #1)
> > Well, gethostbyname2 is obsolete so it would really be better to get
> > shorewall not to use it.
> 
> I am more than happy to pass that along.  Do you have any reference that
> indicates that it's obsolete so that they don't just have to take my word
> for it?

https://linux.die.net/man/3/gethostbyname2
(see "Description")

If you have glibc-devel installed, you can get the same info from "man
gethostbyname2".

> > Can you try this change to /usr/share/perl5/vendor_perl/Shorewall/IPAddrs.pm
> > and see if it works for you?
> 
> It does, thanks!
> 
> > Also, it should be evident from this change that gethostbyname2 is only
> > being called in a fatal error condition so your configuration probably
> > wouldn't have worked anyway.
> 
> But it did in fact compile and load with no errors/failures once I made the
> above change.
> 
> > Maybe you are using a hostname in your rules
> > file that does not have an IPv6 address?
> 
> Seems not, per the above.

My bad. I didn't notice the "unless". Glad that it's working again.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2051034
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite Information]

  Powered by Linux