From 88f4a77507335a1c3d227bebd1eaf7dd0a604428 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Mon, 11 Sep 2006 20:58:46 +0000 Subject: [PATCH] * Mon Sep 11 2006 Dan Walsh 1.30.28-7 - Make restorecon return the number of changes files if you use the -n flag --- policycoreutils-rhat.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/policycoreutils-rhat.patch b/policycoreutils-rhat.patch index 5c5a85a..095ea1c 100644 --- a/policycoreutils-rhat.patch +++ b/policycoreutils-rhat.patch @@ -313,6 +313,21 @@ diff --exclude-from=exclude --exclude='*.po' -N -u -r nsapolicycoreutils/semanag # Copyright (C) 2005 Red Hat # see file 'COPYING' for use and warranty information # +diff --exclude-from=exclude --exclude='*.po' -N -u -r nsapolicycoreutils/semanage/semanage.8 policycoreutils-1.30.28/semanage/semanage.8 +--- nsapolicycoreutils/semanage/semanage.8 2006-08-28 16:58:18.000000000 -0400 ++++ policycoreutils-1.30.28/semanage/semanage.8 2006-09-11 16:02:25.000000000 -0400 +@@ -88,9 +88,9 @@ + # View SELinux user mappings + $ semanage user -l + # Allow joe to login as staff_u +-$ semanage login -a -s staff_u ++$ semanage login -a -s staff_u joe + # Add file-context for everything under /web (used by restorecon) +-$ semanage fcontext -a -t httpd_sys_content_t '/web(/.*)?' ++$ semanage fcontext -a -t httpd_sys_content_t "/web(/.*)?" + # Allow Apache to listen on port 81 + $ semanage port -a -t http_port_t -p tcp 81 + .fi diff --exclude-from=exclude --exclude='*.po' -N -u -r nsapolicycoreutils/semanage/seobject.py policycoreutils-1.30.28/semanage/seobject.py --- nsapolicycoreutils/semanage/seobject.py 2006-08-28 16:58:18.000000000 -0400 +++ policycoreutils-1.30.28/semanage/seobject.py 2006-09-08 09:12:12.000000000 -0400