* Mon Sep 18 2006 Dan Walsh <dwalsh@redhat.com> 1.30.29-3
- Add translations - Fix audit2allow -l
This commit is contained in:
parent
f53c7967db
commit
7e8bdec007
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,23 @@
|
|||||||
|
diff --exclude-from=exclude --exclude='*.po' -N -u -r nsapolicycoreutils/audit2allow/avc.py policycoreutils-1.30.29/audit2allow/avc.py
|
||||||
|
--- nsapolicycoreutils/audit2allow/avc.py 2006-09-14 08:07:24.000000000 -0400
|
||||||
|
+++ policycoreutils-1.30.29/audit2allow/avc.py 2006-09-18 15:58:50.000000000 -0400
|
||||||
|
@@ -357,6 +357,15 @@
|
||||||
|
break
|
||||||
|
else:
|
||||||
|
dict.append(i)
|
||||||
|
+
|
||||||
|
+ if not found:
|
||||||
|
+ regexp = "audit\(\d+\.\d+:\d+\): policy loaded"
|
||||||
|
+ m = re.match(regexp, line)
|
||||||
|
+ if m !=None:
|
||||||
|
+ found =1
|
||||||
|
+ dict.append("load_policy")
|
||||||
|
+ dict.append("granted")
|
||||||
|
+
|
||||||
|
if found:
|
||||||
|
self.translate(dict)
|
||||||
|
found = 0
|
||||||
|
Binary files nsapolicycoreutils/restorecon/restorecon and policycoreutils-1.30.29/restorecon/restorecon differ
|
||||||
diff --exclude-from=exclude --exclude='*.po' -N -u -r nsapolicycoreutils/restorecon/restorecon.8 policycoreutils-1.30.29/restorecon/restorecon.8
|
diff --exclude-from=exclude --exclude='*.po' -N -u -r nsapolicycoreutils/restorecon/restorecon.8 policycoreutils-1.30.29/restorecon/restorecon.8
|
||||||
--- nsapolicycoreutils/restorecon/restorecon.8 2006-08-28 16:58:19.000000000 -0400
|
--- nsapolicycoreutils/restorecon/restorecon.8 2006-08-28 16:58:19.000000000 -0400
|
||||||
+++ policycoreutils-1.30.29/restorecon/restorecon.8 2006-09-15 09:19:49.000000000 -0400
|
+++ policycoreutils-1.30.29/restorecon/restorecon.8 2006-09-15 09:19:49.000000000 -0400
|
||||||
@ -157,3 +177,37 @@ diff --exclude-from=exclude --exclude='*.po' -N -u -r nsapolicycoreutils/scripts
|
|||||||
relabel) relabel;;
|
relabel) relabel;;
|
||||||
*)
|
*)
|
||||||
usage
|
usage
|
||||||
|
diff --exclude-from=exclude --exclude='*.po' -N -u -r nsapolicycoreutils/scripts/fixfiles.8 policycoreutils-1.30.29/scripts/fixfiles.8
|
||||||
|
--- nsapolicycoreutils/scripts/fixfiles.8 2006-08-28 16:58:19.000000000 -0400
|
||||||
|
+++ policycoreutils-1.30.29/scripts/fixfiles.8 2006-09-15 09:23:17.000000000 -0400
|
||||||
|
@@ -3,9 +3,9 @@
|
||||||
|
fixfiles \- fix file security contexts.
|
||||||
|
|
||||||
|
.SH "SYNOPSIS"
|
||||||
|
-.B fixfiles [-F] [ -R rpmpackagename[,rpmpackagename...] ] [ -C PREVIOUS_FILECONTEXT ] [-l logfile ] [-o outputfile ] { check | restore | [-F] relabel }"
|
||||||
|
+.B fixfiles [-F] [ -R rpmpackagename[,rpmpackagename...] ] [ -C PREVIOUS_FILECONTEXT ] [-l logfile ] [-o outputfile ] { check | restore | [-F] relabel | verify }"
|
||||||
|
|
||||||
|
-.B fixfiles [-F] [-l logfile ] [-o outputfile ] { check | restore|[-f] relabel } [[dir/file] ... ]
|
||||||
|
+.B fixfiles [-F] [-l logfile ] [-o outputfile ] { check | restore|[-f] relabel | verify } [[dir/file] ... ]
|
||||||
|
|
||||||
|
.SH "DESCRIPTION"
|
||||||
|
This manual page describes the
|
||||||
|
@@ -48,7 +48,7 @@
|
||||||
|
One of:
|
||||||
|
.TP
|
||||||
|
.B check
|
||||||
|
-show any incorrect file context labels but do not change them.
|
||||||
|
+print any incorrect file context labels, showing old and new context, but do not change them.
|
||||||
|
.TP
|
||||||
|
.B restore
|
||||||
|
change any incorrect file context labels.
|
||||||
|
@@ -56,6 +56,9 @@
|
||||||
|
.B relabel
|
||||||
|
Prompt for removal of contents of /tmp directory and then change any inccorect file context labels to match the install file_contexts file.
|
||||||
|
.TP
|
||||||
|
+.B verify
|
||||||
|
+List out files with incorrect file context labels, but do not change them.
|
||||||
|
+.TP
|
||||||
|
.B [[dir/file] ... ]
|
||||||
|
List of files or directories trees that you wish to check file context on.
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
Summary: SELinux policy core utilities.
|
Summary: SELinux policy core utilities.
|
||||||
Name: policycoreutils
|
Name: policycoreutils
|
||||||
Version: 1.30.29
|
Version: 1.30.29
|
||||||
Release: 2
|
Release: 3
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
|
Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
|
||||||
@ -122,6 +122,10 @@ fi
|
|||||||
[ -x /sbin/service ] && /sbin/service restorecond condrestart
|
[ -x /sbin/service ] && /sbin/service restorecond condrestart
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 18 2006 Dan Walsh <dwalsh@redhat.com> 1.30.29-3
|
||||||
|
- Add translations
|
||||||
|
- Fix audit2allow -l
|
||||||
|
|
||||||
* Thu Sep 14 2006 Dan Walsh <dwalsh@redhat.com> 1.30.29-2
|
* Thu Sep 14 2006 Dan Walsh <dwalsh@redhat.com> 1.30.29-2
|
||||||
- Rebuild
|
- Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user