[Bug 635098] New: pam-config module check incomplete on x86_64
https://bugzilla.novell.com/show_bug.cgi?id=635098 https://bugzilla.novell.com/show_bug.cgi?id=635098#c0 Summary: pam-config module check incomplete on x86_64 Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: kukuk@novell.com ReportedBy: rhafer@novell.com QAContact: qa@suse.de CC: mc@novell.com Found By: Development Blocker: --- Created an attachment (id=385916) --> (http://bugzilla.novell.com/attachment.cgi?id=385916) proposed patch pam-config tries to check for the presence of the configured pam_modules. On x86_64 it will however only check in /lib/security and never check /lib64/security. By that if e.g. pam-32bit is not installed pam --add --<module> will succeed even if the required pam-module is not present. Find a patch against current svn trunk attached. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635098 https://bugzilla.novell.com/show_bug.cgi?id=635098#c1 Ralf Haferkamp <rhafer@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major --- Comment #1 from Ralf Haferkamp <rhafer@novell.com> 2010-08-31 12:01:17 CEST --- I just created a submit request to "Linux-PAM" (ID#46777) containing the fix. (It also includes support for pam_sss) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635098 https://bugzilla.novell.com/show_bug.cgi?id=635098#c2 Ralf Haferkamp <rhafer@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Major |Normal --- Comment #2 from Ralf Haferkamp <rhafer@novell.com> 2010-08-31 12:14:36 CEST --- Oops. I didn't intend to change the severity. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635098 https://bugzilla.novell.com/show_bug.cgi?id=635098#c3 Thorsten Kukuk <kukuk@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Thorsten Kukuk <kukuk@novell.com> 2010-08-31 15:03:47 UTC --- The patch I prefer: @@ -31,9 +31,10 @@ check_for_pam_module (const char *name, int force) { const char *path[] = { "/lib/security", "/lib64/security" }; - int i, retval = 0; + unsigned int i; + int retval = 0; - for (i = 0; i < 1; i++) + for (i = 0; i < (sizeof (path)/sizeof (char *)); i++) { if (access (path[i], F_OK) == 0) { Will be submitted to svn now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=635098 http://bugzilla.novell.com/show_bug.cgi?id=635098#c4 --- Comment #4 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (635098) was mentioned in https://build.opensuse.org/request/show/46839 Factory / pam-config -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com