rpms/policycoreutils/devel policycoreutils-rhat.patch, 1.250, 1.251 policycoreutils.spec, 1.332, 1.333

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Nov 16 14:43:15 UTC 2006


Author: dwalsh

Update of /cvs/dist/rpms/policycoreutils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv897

Modified Files:
	policycoreutils-rhat.patch policycoreutils.spec 
Log Message:
* Thu Nov 16 2006 Dan Walsh <dwalsh at redhat.com> 1.33.1-7
- Add patch by Joe Plans to make run_init use pam_acct_mgmt


policycoreutils-rhat.patch:
 Makefile                          |    2 
 audit2allow/audit2allow           |   30 
 gui/Makefile                      |   29 
 gui/booleansPage.py               |  247 +++
 gui/fcontextPage.py               |  158 ++
 gui/loginsPage.py                 |  161 ++
 gui/mappingsPage.py               |   54 
 gui/modulesPage.py                |  157 ++
 gui/portsPage.py                  |  209 ++
 gui/semanagePage.py               |  104 +
 gui/statusPage.py                 |  230 +++
 gui/system-config-selinux.glade   | 2784 ++++++++++++++++++++++++++++++++++++++
 gui/system-config-selinux.py      |  164 ++
 gui/translationsPage.py           |  109 +
 gui/usersPage.py                  |  155 ++
 newrole/newrole.c                 |    1 
 restorecond/Makefile              |    5 
 restorecond/restorecond.conf      |    1 
 run_init/run_init.c               |    8 
 scripts/genhomedircon.8           |   39 
 semanage/semanage.8               |    5 
 semanage/seobject.py              |   26 
 semodule_expand/semodule_expand.8 |    2 
 23 files changed, 4630 insertions(+), 50 deletions(-)

Index: policycoreutils-rhat.patch
===================================================================
RCS file: /cvs/dist/rpms/policycoreutils/devel/policycoreutils-rhat.patch,v
retrieving revision 1.250
retrieving revision 1.251
diff -u -r1.250 -r1.251
--- policycoreutils-rhat.patch	15 Nov 2006 23:24:20 -0000	1.250
+++ policycoreutils-rhat.patch	16 Nov 2006 14:43:13 -0000	1.251
@@ -4699,6 +4699,24 @@
 +/var/log/wtmp
  ~/public_html
  ~/.mozilla/plugins/libflashplayer.so
+diff --exclude-from=exclude --exclude='*.po' --exclude='*.pot' -N -u -r nsapolicycoreutils/run_init/run_init.c policycoreutils-1.33.1/run_init/run_init.c
+--- nsapolicycoreutils/run_init/run_init.c	2006-08-28 16:58:19.000000000 -0400
++++ policycoreutils-1.33.1/run_init/run_init.c	2006-11-16 09:37:03.000000000 -0500
+@@ -132,6 +132,14 @@
+ 		result = 1;	/* user authenticated OK! */
+ 	}
+ 
++	/* If we were successful, call pam_acct_mgmt() to reset the
++         * pam_tally failcount.
++         */
++	if (result && (PAM_SUCCESS != pam_acct_mgmt(pam_handle, 0)) ) {
++		fprintf(stderr, _("failed to get account information\n"));
++		exit(-1);
++	}	
++
+ 	/* We're done with PAM.  Free `pam_handle'. */
+ 	pam_end(pam_handle, PAM_SUCCESS);
+ 
 diff --exclude-from=exclude --exclude='*.po' --exclude='*.pot' -N -u -r nsapolicycoreutils/scripts/genhomedircon.8 policycoreutils-1.33.1/scripts/genhomedircon.8
 --- nsapolicycoreutils/scripts/genhomedircon.8	2006-08-28 16:58:19.000000000 -0400
 +++ policycoreutils-1.33.1/scripts/genhomedircon.8	2006-11-14 09:54:05.000000000 -0500


Index: policycoreutils.spec
===================================================================
RCS file: /cvs/dist/rpms/policycoreutils/devel/policycoreutils.spec,v
retrieving revision 1.332
retrieving revision 1.333
diff -u -r1.332 -r1.333
--- policycoreutils.spec	15 Nov 2006 23:24:20 -0000	1.332
+++ policycoreutils.spec	16 Nov 2006 14:43:13 -0000	1.333
@@ -5,7 +5,7 @@
 Summary: SELinux policy core utilities.
 Name: policycoreutils
 Version: 1.33.1
-Release: 6
+Release: 7
 License: GPL
 Group: System Environment/Base
 Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
@@ -168,6 +168,9 @@
 [ -x /sbin/service ] && /sbin/service restorecond condrestart
 
 %changelog
+* Thu Nov 16 2006 Dan Walsh <dwalsh at redhat.com> 1.33.1-7
+- Add patch by Joe Plans to make run_init use pam_acct_mgmt
+
 * Wed Nov 15 2006 Dan Walsh <dwalsh at redhat.com> 1.33.1-6
 - More fixes to gui
 




More information about the fedora-cvs-commits mailing list