Bug 1666033 (change_libcrypt.so.2)
| Summary: | Fully remove deprecated and unsafe functions from libcrypt | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ben Cotton <bcotton> |
| Component: | Changes Tracking | Assignee: | Björn Esser (besser82) <besser82> |
| Status: | CLOSED EOL | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 30 | CC: | bcotton, besser82 |
| Target Milestone: | --- | Flags: | besser82:
fedora_requires_release_note+
|
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://fedoraproject.org/wiki/Changes/FullyRemoveDeprecatedAndUnsafeFunctionsFromLibcrypt | ||
| Whiteboard: | |||
| Fixed In Version: | libxcrypt-4.4.2-5.fc30 | Doc Type: | Removed functionality |
| Doc Text: |
The version of the libxcrypt package included with Fedora 30 now ships the libcrypt.so.2 library and does not provide the legacy API functions that have been provided by glibc's libcrypt.so.1. The removed functions by name are encrypt, encrypt_r, setkey, setkey_r, and fcrypt.
If you are using a third-party application that links against those functions, or that is linked against glibc's libcrypt, you may need to install the libxcrypt-compat package manually.
All existing binary executables linked against glibc's libcrypt should work unmodified with the libcrypt.so.1 library supplied by the libxcrypt-compat package.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-05-26 14:43:37 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1670735 | ||
|
Description
Ben Cotton
2019-01-14 17:42:49 UTC
claws-mail doesn't use libxcrypt. My patch to make it use libnettle has been merged. (In reply to Michael Schwendt from comment #1) > claws-mail doesn't use libxcrypt. My patch to make it use libnettle has been > merged. For some reason it still requires `libcrypt.so.1`, thus I'm rebuilding it to either have that unneeded requirement dropped by the rebuild or to have it linked against `libcrypt.so.2`. Are you sure it doesn't use the crypt() function in some other place? It is due to broken libperl ldflags, which respecify many libs libperl is linked with itself: $ perl -MExtUtils::Embed -e ldopts -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -L/usr/local/lib -L/usr/lib64/perl5/CORE -lperl -lpthread -lresolv -ldl -lm -lcrypt -lutil -lc Well, those shouldn't be a problem, as we link `--as-needed` in Rawhide. I figured out the real reason `dnf repoquery --whatrequires 'libcrypt.so.1*'` reports all package version available in the repo without a way to just get the latest EVR. Thus I still got some false positive results in my query… :/ Rebuilds have finished. The announce for testing has been mailed to fedora-devel [1] and the corresponding package-maintainers individually. Ready for QA! [1] https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/K6SXKV72GU7V5WSNUOEMVOSQLTRG6BC6/ (In reply to Michael Schwendt from comment #3) > It is due to broken libperl ldflags, which respecify many libs libperl is > linked with itself: > … I just checked that and discovered, that the autotools / automake setup of claws-mail is broken in a way, that it clobbers / discards the system's {C,CXX,LD}FLAGS in almost every subdir of the source-tree. gsequencer-2.1.38-0.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-b3288236e3 gsequencer-2.1.38-0.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0076e52045 Resetting status after removing this bug from the mentioned updates in Bodhi. This message is a reminder that Fedora 30 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '30'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 30 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 30 changed to end-of-life (EOL) status on 2020-05-26. Fedora 30 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |