[policycoreutils] Remove load_policy symbolic link on usrmove systems this breaks the system

Daniel J Walsh dwalsh at fedoraproject.org
Thu Jul 5 09:56:53 UTC 2012


commit 4ab9c398e50da3ede429239852d78fd3684f3fa6
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Thu Jul 5 05:56:49 2012 -0400

    Remove load_policy symbolic link on usrmove systems this breaks the system

 policycoreutils-rhat.patch |   13 +++++++++++++
 policycoreutils.spec       |    5 ++++-
 2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/policycoreutils-rhat.patch b/policycoreutils-rhat.patch
index e5d73a4..feca334 100644
--- a/policycoreutils-rhat.patch
+++ b/policycoreutils-rhat.patch
@@ -13402,6 +13402,19 @@ index 0000000..93804ac
 +            self.view.get_selection().select_path ((0,))
 +        except ValueError, e:
 +            self.error(e.args[0])
+diff --git a/policycoreutils/load_policy/Makefile b/policycoreutils/load_policy/Makefile
+index 5da2e0d..f56726e 100644
+--- a/policycoreutils/load_policy/Makefile
++++ b/policycoreutils/load_policy/Makefile
+@@ -19,7 +19,7 @@ install: all
+ 	test -d $(MANDIR)/man8 || install -m 755 -d $(MANDIR)/man8
+ 	install -m 644 load_policy.8 $(MANDIR)/man8/
+ 	-mkdir -p $(USRSBINDIR)
+-	-ln -sf /sbin/load_policy $(USRSBINDIR)/load_policy
++#	-ln -sf /sbin/load_policy $(USRSBINDIR)/load_policy
+ 
+ clean:
+ 	-rm -f $(TARGETS) *.o 
 diff --git a/policycoreutils/newrole/newrole.c b/policycoreutils/newrole/newrole.c
 index 42f08d0..989817b 100644
 --- a/policycoreutils/newrole/newrole.c
diff --git a/policycoreutils.spec b/policycoreutils.spec
index aa2f445..5570708 100644
--- a/policycoreutils.spec
+++ b/policycoreutils.spec
@@ -7,7 +7,7 @@
 Summary: SELinux policy core utilities
 Name:	 policycoreutils
 Version: 2.1.12
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2
 Group:	 System Environment/Base
 # Based on git repository with tag 20101221
@@ -340,6 +340,9 @@ fi
 %{_bindir}/systemctl try-restart restorecond.service >/dev/null 2>&1 || :
 
 %changelog
+* Thu Jul 5 2012 Dan Walsh <dwalsh at redhat.com> - 2.1.11-2
+- Remove load_policy symbolic link on usrmove systems this breaks the system
+
 * Wed Jul 4 2012 Dan Walsh <dwalsh at redhat.com> - 2.1.11-1
 - Update to upstream 
   - policycoreutils


More information about the scm-commits mailing list