[opensuse-factory] pam-config in x86_64
![](https://seccdn.libravatar.org/avatar/45bf5eef0471996074efa055ea252116.jpg?s=120&d=mm&r=g)
Hi: When you run pam config in x86_64 you get for example pam-config -a --sss --sss-debug error: Module /lib/security/pam_sss.so is not installed I am not sure that is a correct message, my system has no 32 bit modules installed and hence /lib/security is empty. IMHO in x86_64 it should be a notice or not even say anything at all. (works with --force though) The annoyance is in sanity-checks.c int check_for_pam_module (const char *name, int force) { const char *path[] = { "/lib/security", "/lib64/security" }; unsigned int i; int retval = 0; for (i = 0; i < (sizeof (path)/sizeof (char *)); i++) { if (access (path[i], F_OK) == 0) { char module[strlen(path[i]) + strlen (name) + 2]; sprintf (module, "%s/%s", path[i], name); if (access (module, F_OK) != 0) { if (force) fprintf (stderr, _("WARNING: module %s is not installed.\n"), module); else { fprintf (stderr, _("ERROR: module %s is not installed.\n"), module); retval=1; } } } } return retval; } Not sure what the proper fix is, other than ifdef'ing the x86_32 path in x86_64.. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/f15a600d57849d9dc3e0d23539212583.jpg?s=120&d=mm&r=g)
On Thursday, November 10, 2011 09:00:40 PM Cristian Rodríguez wrote:
Hi:
When you run pam config in x86_64 you get for example
pam-config -a --sss --sss-debug error: Module /lib/security/pam_sss.so is not installed
I am not sure that is a correct message, my system has no 32 bit modules installed and hence /lib/security is empty.
IMHO in x86_64 it should be a notice or not even say anything at all. (works with --force though)
When this was added, we needed to support 32-bit authentication and therefore this was important. Not sure whether that one is still needed. Best to open a bugreport and assign it to the pam maintainer, Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Andreas Jaeger
-
Cristian Rodríguez