Bug 159974
Summary: | pam_loginuid fails horribly on non-audit kernels | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bill Nottingham <notting> |
Component: | pam | Assignee: | Tomas Mraz <tmraz> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | rvokal, sgrubb |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | pam-0.79-10 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-06-09 21:36:30 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: |
Description
Bill Nottingham
2005-06-09 20:28:08 UTC
I'll adjust the loginuid patch to exit successfully if and only if errno == ENOENT on open. This will satisfy CAPP & let people with nonstandard kernels get back into their system. Here is the changed code snippet I patched in the latest rawhide: fd = open("/proc/self/loginuid", O_NOFOLLOW|O_WRONLY|O_TRUNC); if (fd < 0) { int loglevel = LOG_DEBUG; if (errno != ENOENT) { rc = 1; loglevel = LOG_ERR; } _pam_log(loglevel, "set_loginuid failed opening loginuid\n"); return rc; } |