NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/58418: npf extension modules are installed as useless compatfiles and versioned symlinks
>Number: 58418
>Category: lib
>Synopsis: npf extension modules are installed as useless compatfiles and versioned symlinks
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 11 14:40:01 +0000 2024
>Originator: Taylor R Campbell
>Release: current, 10, 9
>Organization:
The Npf386BSD Foundation
>Environment:
>Description:
npf ships with various extension modules such as ext_log and ext_rndblock.
npfctl(8) loads extension modules from `/lib/npf/ext_%s.so'.
For some reason, however, we also install versioned shlib symlinks like /lib/npf/ext_log.so.0 and /lib/npf/ext_log.so.0.0. And userland ABI compat versions like /lib/i386/npf/ext_log.so on amd64, /lib/o32/npf/ext_log.so on mips64, &c. These extra files are never used and should be eliminated.
>How-To-Repeat:
code inspection
>Fix:
1. set the appropriate makefile settings in src/lib/npf/mod.mk
2. update the set lists
3. figure out how to obsolete just compat entries, not the non-compat entries they're based on
Home |
Main Index |
Thread Index |
Old Index