Bug 255893 - ldconfig: SONAME should not be limited to one digit
Summary: ldconfig: SONAME should not be limited to one digit
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.2-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-15 04:03 UTC by Yuri Victorovich
Modified: 2021-08-20 22:37 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2021-05-15 04:03:46 UTC
ldconfig(8) manpage says:
> Filenames must conform to the lib*.so.[0-9]
> pattern in order to be added to the hints file.

The pattern should be changed to lib*.so.[0-9]+ because otherwise only 10 choices are available.

The code should be verified that it doesn't limit SONAMEs in this way.
Comment 1 Konstantin Belousov freebsd_committer freebsd_triage 2021-05-15 19:42:59 UTC
See https://reviews.freebsd.org/D30272
Comment 2 Ed Maste freebsd_committer freebsd_triage 2021-08-20 20:19:26 UTC
commit a19e14ca2d36aa9d5bd392881abd85bf9e2e89ad
Author: Konstantin Belousov <kib@FreeBSD.org>
Date:   Sat May 15 08:12:35 2021 +0300

    ldconfig(8): update manpage to reality
    
    ELF ldconfig only maintains the search list, there is no hints
    
    Reviewed by:    emaste
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D30272
Comment 3 Ed Maste freebsd_committer freebsd_triage 2021-08-20 22:37:28 UTC
Also MFCd in 4f2efb2ff471fd