Miroslav Suchý wrote:
I find that F13 repo has missing PyPAM package, so I done several tasks:
* I rebased from 0.4.2 to 0.5.0 (already 3 years old :)
* I submit it to Fedora (BZ 612998 - review is welcome)
* and finally I build it to Spacewalk.
Enjoy
We use to carry three patches in our PyPAM package. Are those bugs fixed
in the newer version, or are we still maintaining them?
Looking at:
1012 rpm2cpio ../../PyPAM-0.4.2-18.rhn.src.rpm | cpio -di
[cpe...@cperry 18]$ ls
PyPAM-0.4.2-error.patch PyPAM-dlopen.patch PyPAM.spec
PyPAM-0.4.2.tar.gz PyPAM-includes.patch version
[cpe...@cperry 18]$
Specifically patch:
[cpe...@cperry 15]$ more PyPAM-dlopen.patch
--- PyPAM-0.4.2/PAMmodule.c.orig 2006-12-13 13:52:10.000000000 -0500
+++ PyPAM-0.4.2/PAMmodule.c 2006-12-13 13:53:24.000000000 -0500
@@ -123,8 +123,8 @@
p->user = NULL;
p->callback = NULL;
- p->dlh1 = dlopen("libpam.so", RTLD_LAZY | RTLD_GLOBAL);
- p->dlh2 = dlopen("libpam_misc.so", RTLD_LAZY | RTLD_GLOBAL);
+ p->dlh1 = dlopen("libpam.so.0", RTLD_LAZY | RTLD_GLOBAL);
+ p->dlh2 = dlopen("libpam_misc.so.0", RTLD_LAZY | RTLD_GLOBAL);
return (PyObject *) p;
}
[cpe...@cperry 15]$
Which addressed Satellite bug:
Bug 219357 - RHNSat5 - rhn_register fails if using PAM authentication
Along with the infamous (yet, I think killed and no longer needed):
Bug 219484 - Add note to Satellite Guide PAM Authentication to have
pam-devel installed
&
Bug 437896 - PAM-based users cannot register via rhn_register.
- because otherwise Python based PAM authentication failed in the past
until you installed pam-devel on the system.
Historically PyPAM and PAM authentication regressions bug us, I'd hate
for some weird random crashing/failures to re-occur :)
Cliff
_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel