From Fedora Project Wiki

< User:Jjelen

Revision as of 18:33, 19 March 2018 by Jjelen (talk | contribs) (Initial commit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Verify tcp_wrappers are not mandatory in the system

Setup

Make sure your favorite software that could be using tcp_wrappers is installed

rpm -q openssh-server openssh-clients

How to test

  1. Check if tcp_wrappers is not installed: rpm -q tcp_wrappers
  2. Check that tcp_wrappers-devel can not be installed: dnf install tcp_wrappers-devel
  3. Query repository for a list of packages, that still link against tcp_wrappers: dnf repoquery --whatrequires 'libwrap.so.0()(64bit)'

Expected Results

  1. Step #1 should return non-zero exit code and a message package tcp_wrappers is not installed
  2. Step #2 should fail -- No match for argument: tcp_wrappers-devel or similar message
  3. Step #3 should not return anything (assuming all the bugs mentioned in the Comment #10 of a bug #1495181 were fixed)

Optional

If you still see some of the packages directly depending on libwrap.so, first check unresolved dependent bugs before opening a new one. Also check the updates-testing repository.