[xguest/f13/master] - Fix semanage boolean line to use /proc/self/fd/0 instead of /dev/stdin

Miroslav Grepl mgrepl at fedoraproject.org
Tue Jan 18 10:51:11 UTC 2011


commit 5e63e9d33cb43bef9cd145fa127a9cb2f0c0a39b
Author: Miroslav Grepl <mgrepl at redhat.com>
Date:   Tue Jan 18 11:51:07 2011 +0000

    - Fix semanage  boolean line to use /proc/self/fd/0 instead of /dev/stdin

 xguest.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/xguest.spec b/xguest.spec
index d51cdc5..ea2a6c2 100644
--- a/xguest.spec
+++ b/xguest.spec
@@ -1,7 +1,7 @@
 Summary: Creates xguest user as a locked down user 
 Name: xguest
 Version: 1.0.9
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 BuildArch: noarch
@@ -43,7 +43,7 @@ semanage user -a  -S targeted -P xguest -R xguest_r xguest_u  2> /dev/null  || :
 
 echo "xguest:exclusive" >> /etc/security/sepermit.conf
 
-semanage  boolean -m -S targeted -F /dev/stdin  << _EOF
+semanage  boolean -m -S targeted -F /proc/self/fd/0  << _EOF
 allow_polyinstantiation=1
 xguest_connect_network=1
 xguest_mount_media=1
@@ -86,6 +86,9 @@ __eof
 fi
 
 %changelog
+* Tue Jan 18 2011 Dan Walsh <dwalsh at redhat.com> - 1.0.9-2
+- Fix semanage  boolean line to use /proc/self/fd/0 instead of /dev/stdin
+
 * Tue Feb 9 2010 Dan Walsh <dwalsh at redhat.com> - 1.0.9-1
 - Fix placement of xguest.zip file
 


More information about the scm-commits mailing list