Bug 1518759

Summary: [F28 change] cyrus-imapd should not require tcp_wrappers
Product: [Fedora] Fedora Reporter: Jakub Jelen <jjelen>
Component: cyrus-imapdAssignee: Pavel Zhukov <pzhukov>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: code, dan, jjelen, j, pokorra.mailinglists, pzhukov, vanmeeuwen+fedora, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-18 17:00:57 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:
Embargoed:
Bug Depends On: 1518768    
Bug Blocks: 1495181, 1596070    

Description Jakub Jelen 2017-11-29 14:49:07 UTC
As announced earlier this year, we plan to deprecate TCP wrappers out of Fedora services in a single release (Fedora 28) to avoid user confusion that some of the tools will be using it and some not.

For more information about the change or possible migration paths outside of the package itself, see the linked accepted Fedora 28 change.

This report is for a source package, that has "BuildRequires tcp_wrappers" in spec file and resulting packages depend on "libwrap.so.0". The changes to remove the dependency should be minimal, usually a configure switch, but let me know if you will need some assistance with the changes.

Additional info:

https://fedoraproject.org/wiki/Changes/Deprecate_TCP_wrappers

Comment 1 Pavel Zhukov 2017-11-29 21:32:46 UTC
(In reply to Jakub Jelen from comment #0)
> As announced earlier this year, we plan to deprecate TCP wrappers out of
> Fedora services in a single release (Fedora 28) to avoid user confusion that
> some of the tools will be using it and some not.
> 
> For more information about the change or possible migration paths outside of
> the package itself, see the linked accepted Fedora 28 change.
> 
> This report is for a source package, that has "BuildRequires tcp_wrappers"
> in spec file and resulting packages depend on "libwrap.so.0". The changes to
> remove the dependency should be minimal, usually a configure switch, but let
> me know if you will need some assistance with the changes.
> 
> Additional info:
> 
> https://fedoraproject.org/wiki/Changes/Deprecate_TCP_wrappers

cyrus-imapd consumes flags provided by /usr/bin/net-snmp-config --agent-libs
 output even if --without-libwrap was specified. I cannot find but filled against net-snmp to disable libwrap to set it as blocker of this bug. Are you going to fill one? 

[1]
/usr/bin/net-snmp-config --agent-libs
-Wl,-z,relro -Wl,-z,now -L/usr/lib64 -lnetsnmpmibs -lsensors -ldl -lrpm -lrpmio -lnetsnmpagent -lwrap -Wl,--enable-new-dtags -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lnetsnmp -lssl -lssl -lcrypto -lm

net-snmp-devel-5.7.3-27.fc28.x86_64

Comment 2 Jakub Jelen 2017-11-30 08:43:43 UTC
Thank you for information. I missed this part while I went through your spec file. net-snmp bug is here:

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

I added to the depends-on list.