Bug 2055953 - Lack of libcrypt.so.1 in default distribution violates LSB Core Specification
Summary: Lack of libcrypt.so.1 in default distribution violates LSB Core Specification
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-lsb
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sergio Basto
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-18 02:33 UTC by Gregory Szorc
Modified: 2022-07-06 21:11 UTC (History)
9 users (show)

Fixed In Version: redhat-lsb-4.1-58.fc37
Clone Of:
Environment:
Last Closed: 2022-07-06 21:11:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-393 0 None None None 2022-02-18 02:38:27 UTC

Description Gregory Szorc 2022-02-18 02:33:43 UTC
Description of problem:

The latest version of the Linux Standard Base Core Specification (e.g. https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-AMD64/LSB-Core-AMD64/libcrypt.html) says that libcrypt.so.1 is part of the Core Specification.

As part of glibc deprecating libcrypt and Fedora (and possibly sibling distros) transitioning to libxcrypt, libcrypt.so.1 seemed to have been dropped by the  Fedora base install. In order to get libcrypt.so.1 and be in stronger compliance with the LSB Core Specification, you need to install the libxcrypt-compat package.


Version-Release number of selected component (if applicable):


How reproducible: Always. Part of base OS install and official container images.


Steps to Reproduce:
1. Install Fedora 35

Actual results:

No libcrypt.so.1 in base install.

Expected results:

libcrypt.so.1 should be in base install and provide the interfaces defined by the LSB Core Specification.

Additional info:

https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-AMD64/LSB-Core-AMD64/baselib.html says "shall support base libraries." "shall" is not "must" so there is some wiggle room to not contain libcrypt.so.1 by default. However, I believe Fedora is currently an outlier, as other popular distros seem to be providing libcrypt.so.1 and in better compliance with the LSB Core Specification.

Also, `dnf install redhat-lsb-core` does not install libxcrypt-compat. That's potentially another oversight.

https://github.com/indygreg/python-build-standalone/issues/113 describes a real world implication to Fedora not providing libcrypt.so.1 out-of-the-box.

Comment 1 Björn Esser (besser82) 2022-02-18 11:25:18 UTC
Changing to redhat-lsb package, as this should require libxcrypt-compat;  see [1] for a PR fixing this.


[1]  https://src.fedoraproject.org/rpms/redhat-lsb/pull-request/6

Comment 2 Gregory Szorc 2022-05-05 03:10:08 UTC
Gentle ping on this issue. Does RedHat consider this a bug?

Comment 3 Fedora Update System 2022-07-06 21:08:59 UTC
FEDORA-2022-e4e62f0329 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-e4e62f0329

Comment 4 Fedora Update System 2022-07-06 21:11:59 UTC
FEDORA-2022-e4e62f0329 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.