policycoreutils/policycoreutils-rhat.patch
Daniel J Walsh f5df4d17e9 * Thu Jan 27 2005 Dan Walsh <dwalsh@redhat.com> 1.21.5-1
- Upgrade to latest from NSA
	* Merged newrole -l support from Darrel Goeddel (TCS).
- Fix genhomedircon STARTING_UID
2005-01-27 15:07:13 +00:00

13 lines
504 B
Diff

diff --exclude-from=exclude -N -u -r nsapolicycoreutils/scripts/genhomedircon policycoreutils-1.21.5/scripts/genhomedircon
--- nsapolicycoreutils/scripts/genhomedircon 2005-01-25 10:32:01.000000000 -0500
+++ policycoreutils-1.21.5/scripts/genhomedircon 2005-01-27 10:05:51.000000000 -0500
@@ -96,7 +96,7 @@
rc=commands.getstatusoutput("grep -h '^UID_MIN' /etc/login.defs | sed -e 's/^UID_MIN[^0-9]*//'")
if rc[0] == 0:
- STARTING_UID=rc[1]
+ STARTING_UID=int(rc[1])
else:
STARTING_UID=500