Bug 2055572
| Summary: | pam: please split out pam-libs subpackage | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Zbigniew Jędrzejewski-Szmek <zbyszek> |
| Component: | pam | Assignee: | Björn 'besser82' Esser <besser82> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | besser82, ipedrosa, tm |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | pam-1.5.2-11.fc37, pam-1.5.2-11.fc36 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-02-17 19:59:15 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Zbigniew Jędrzejewski-Szmek
2022-02-17 09:27:48 UTC
Can you specify with more details a use case? AFAIK, Fedora is tightly built around libpam and its module so I find it difficult to find a reason to provide them in two different packages. pam has three libraries, libpam which is 70k, and libmap_misc and libpamc which are 20k each, together 110k. The whole package is ~2000k. In addition, those three libraries depend on a subset of libraries that the whole package depends on. Various packages (listed above) link to libmap and libpam_misc, so they require those libraries to be on disk to be able to launch their executables. To actually use PAM, the other files would need to be installed too. But in minimal installs like containers or build chroots where no authentication is ever required, PAM will never be actually used, so we'd be fine with just having the -libs so satisfy linking requirements. Similarly, during system installation, various libs needs to be provided early in the transaction so that installation scriptlets can invoke binaries. For all those reasons, it makes sense to split out the libraries into a separate subpackage, so it is possible to satisfy the linking requirements without having functional pam. Or in other words, having a separate pam-libs subpackage will things like util-linux and systemd to be installed earlier in the dnf transaction, allowing scriptlets for other packages to be executed earlier and avoid dependency loops like those described in https://bugzilla.redhat.com/show_bug.cgi?id=2018913. Please have a look at [1], as that should implement the requested feature. [1] https://src.fedoraproject.org/rpms/pam/pull-request/25 |