- turn off pam sanity check because it conflicts with audit

This commit is contained in:
Ray Strode 2007-03-06 19:12:44 +00:00
parent 073dafa7e7
commit 0c3f4e09fa
2 changed files with 26 additions and 1 deletions

View File

@ -0,0 +1,22 @@
--- gdm-2.6.0.8/daemon/verify-pam.c.verify-check 2005-06-21 17:10:14.000000000 +0200
+++ gdm-2.6.0.8/daemon/verify-pam.c 2005-06-21 18:49:50.000000000 +0200
@@ -1467,6 +1467,10 @@
void
gdm_verify_check (void)
{
+/* This check creates spurious audit entries and it isn't necessary
+ to perform it when gdm is part of the distribution.
+*/
+#if 0
pam_handle_t *ph = NULL;
if (pam_start ("gdm", NULL, &standalone_pamc, &ph) != PAM_SUCCESS) {
@@ -1487,6 +1491,7 @@
closelog ();
openlog ("gdm", LOG_PID, LOG_DAEMON);
+#endif
}
/* used in pam */

View File

@ -16,7 +16,7 @@
Summary: The GNOME Display Manager
Name: gdm
Version: 2.17.8
Release: 1%{?dist}
Release: 2%{?dist}
Epoch: 1
License: LGPL/GPL
Group: User Interface/X
@ -330,6 +330,9 @@ fi
%attr(1770, root, gdm) %dir %{_localstatedir}/gdm
%changelog
* Tue Mar 6 2007 Ray Strode <rstrode@redhat.com> - 1:2.17.8-2
- turn off pam sanity check because it conflicts with audit
* Wed Feb 28 2007 Matthias Clasen <mclasen@redhat.com> - 1:2.17.8-1
- Update to 2.17.8