diff --git a/policycoreutils-semanage.patch b/policycoreutils-semanage.patch index ec27e14..2c821c2 100644 --- a/policycoreutils-semanage.patch +++ b/policycoreutils-semanage.patch @@ -1,6 +1,6 @@ diff -up policycoreutils-2.1.14/semanage/semanage.semanage policycoreutils-2.1.14/semanage/semanage ---- policycoreutils-2.1.14/semanage/semanage.semanage 2013-06-05 13:24:34.958339017 -0400 -+++ policycoreutils-2.1.14/semanage/semanage 2013-06-05 13:24:53.591429169 -0400 +--- policycoreutils-2.1.14/semanage/semanage.semanage 2013-06-06 16:18:07.684562186 -0400 ++++ policycoreutils-2.1.14/semanage/semanage 2013-06-06 16:18:20.773620042 -0400 @@ -1,5 +1,7 @@ #! /usr/bin/python -Es -# Copyright (C) 2005-2012 Red Hat @@ -697,7 +697,7 @@ diff -up policycoreutils-2.1.14/semanage/semanage.semanage policycoreutils-2.1.1 + +def make_args(sys_args): + args = [] -+ for i in sys_args: ++ for i in sys_args[1:]: + if i == '-o': + args += [ "export", "-f" ] + continue diff --git a/policycoreutils.spec b/policycoreutils.spec index fc43a68..870c2a6 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -7,7 +7,7 @@ Summary: SELinux policy core utilities Name: policycoreutils Version: 2.1.14 -Release: 50%{?dist} +Release: 51%{?dist} License: GPLv2 Group: System Environment/Base # Based on git repository with tag 20101221 @@ -311,6 +311,9 @@ The policycoreutils-restorecond package contains the restorecond service. %systemd_postun_with_restart restorecond.service %changelog +* Thu Jun 6 2013 Dan Walsh - 2.1.14-51 +- Fix handling of semanage args + * Thu Jun 6 2013 Dan Walsh - 2.1.14-50 - Fix sepolicy generate --confined_admin to generate tunables - Add new interface to generate entrypoints for use with new gui