Red Hat Bugzilla – Bug 230871
tcp_wrappers and syslog-ng v2.0
Last modified: 2013-01-09 23:12:51 EST
Description of problem:
syslog-ng 2.0.x is targeted to replace sysklogd in Fedora Core 7
(http://fedoraproject.org/wiki/Releases/FeatureSyslogNG) and one of the
problems that needs to be addressed is the tcp_wrappers support.
Right now the syslog-ng 2.0.2 (the version available in FE-devel) still
doesn't support tcp_wrappers (but versions 1.6.x did) but the support has
just been added upstream (syslog-ng snapshosts after 2007-02-28).
The problem is that syslog-ng being one of the first daemons being loaded can
not depend on /usr files, namely libraries.
Version-Release number of selected component (if applicable):
(syslog-ng 2.0.3 snapshot)
Steps to Reproduce:
1. Build the above srpm in rawhide
$ ldd ../BUILD/syslog-ng-2.0.2+20070304/src/syslog-ng
linux-gate.so.1 => (0x00ac0000)
libnsl.so.1 => /lib/libnsl.so.1 (0x46ae6000)
librt.so.1 => /lib/librt.so.1 (0x466a2000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x43001000)
libevtlog.so.0 => /lib/libevtlog.so.0 (0x4b805000)
-->> libwrap.so.0 => /usr/lib/libwrap.so.0 (0x45bf6000) <<-- (PROBLEM)
libc.so.6 => /lib/libc.so.6 (0x458d3000)
libpthread.so.0 => /lib/libpthread.so.0 (0x45a4e000)
Right now I see two possible solutions for the described problem:
1) use the tcp_wrappers static link
Would be nice to have it in a separate package so that it would easier
to detect the static dependency (tcp_wrappers-static). This would
be similar to the glib2 split (there is now a glib2 static subpackage
due to anaconda) and would also extend the split described in #193188.
2) move the tcp_wrappers dynamic library to /lib
Again as done with glib2.
I believe the best solution would be the second one but I'm also insterested to
see if there others alternatives.
Thanks in advance,
Adding Jesse Keating and Bill Nottingham to the CC list.
appears to have failed in catching any attention.)