selinux/policycoreutils
Chris Adams 1236eef264 restorecond: first user logged in is not noticed
The first user that logs in will not be caught by restorecond.  The utmp
checking function only returns that there was a change when the previous
list of users was non-NULL.

Here's a patch that works for me (this is against the latest Red Hat
Enterprise Linux 5 policycoreutils release, but I checked the current
source tree and the same problem is present):

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
2011-08-02 13:32:23 -04:00
..
audit2allow Rearranged audit2allow.1 to match the newer ways we use the tool. 2011-08-01 13:40:20 -04:00
audit2why initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
load_policy Author: Daniel J Walsh 2009-11-18 15:33:00 -05:00
mcstrans mcstransd select correct colour range. 2011-04-11 10:27:13 -04:00
newrole Exit newrole if capabilities can't be dropped 2010-12-20 15:13:33 -05:00
po remove gui from po/Makefile and po/POTFILES and regenerate po files 2009-06-24 10:54:56 -04:00
restorecond restorecond: first user logged in is not noticed 2011-08-02 13:32:23 -04:00
run_init Author: Manoj Srivastava 2009-09-16 11:16:19 -04:00
sandbox Repo: update .gitignore 2011-08-02 13:31:51 -04:00
scripts This patch removes OUTPUT from fixfiles which was never used and was broken 2009-11-27 12:44:16 -05:00
secon initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
semanage semanage: update manpage to explain transactions capabilities 2011-08-01 13:40:20 -04:00
semodule Last attempt at upstreaming semodule_disable patch. 2010-03-06 17:56:24 -05:00
semodule_deps initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
semodule_expand initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
semodule_link initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
semodule_package initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
sestatus initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
setfiles Author: Thomas Liu 2009-11-02 17:02:25 -05:00
setsebool initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
.gitignore Add subdirectory .gitignore files. 2009-10-20 21:25:55 -04:00
ChangeLog Minor version bump for updates as of 2011-08-01 2011-08-01 13:49:21 -04:00
COPYING initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile Author: Daniel J Walsh 2010-06-10 16:35:55 -04:00
VERSION Minor version bump for updates as of 2011-08-01 2011-08-01 13:49:21 -04:00