Bug 2293045
Summary: | pam_env.so crashes with user_readenv=1 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Martin Pitt <mpitt> |
Component: | pam | Assignee: | Iker Pedrosa <ipedrosa> |
Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 42 | CC: | besser82, ipedrosa, mvollmer, tm |
Target Milestone: | --- | Keywords: | Regression, Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | CockpitTest | ||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Martin Pitt
2024-06-19 08:44:58 UTC
According to the man page, this option is deprecated and will be removed completely due to security issues. Therefore, I don't know if it is worth fixing this as upstream may reject any fixes. It would probably be better to remove this option completely. Yes, perhaps that's the thing that pushes it over the edge.. Dropping the option is fine for me. I just don't like PAM modules causing memory corruption. This started to affect CentOS 10 as well. Let's just kill that option there? > printf "SERVER_PID=1234\nFOO=bar\n" > .pam_environment
Note that "man pam_env" says that .pam_environment has the same syntax as /etc/security/pam_env.conf. Thus, "SERVER_PID=1234" is strictly speaking a syntax error.
This message is a reminder that Fedora Linux 40 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 40 on 2025-05-13. 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 'version' of '40'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 40 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 Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed. Confirmed in current F42 with pam-1.7.0-4.fc42.x86_64 |