Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 656202 Details for
Bug 882703
Can't pipe semodule output in scripts and such with unconfined off.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
My module install script.
file_882703.txt (text/plain), 952 bytes, created by
Robin Powell
on 2012-12-02 19:52:01 UTC
(
hide
)
Description:
My module install script.
Filename:
MIME Type:
Creator:
Robin Powell
Created:
2012-12-02 19:52:01 UTC
Size:
952 bytes
patch
obsolete
>#!/bin/bash > ># Code taken from http://allmybase.com/2011/04/26/easily-managing-selinux-policies-with-puppet/ and modified > >MODDIR=/etc/selinux/mymodules > >CHKMOD=/usr/bin/checkmodule >MODPKG=/usr/bin/semodule_package >SEMOD=/usr/sbin/semodule > >LS=/bin/ls > >MODNAME="$1" > >if [ ! "$MODNAME" ] >then > echo "Needs a module name." > exit 1 >fi > >if [ ! -d "$MODDIR/$MODNAME" ] >then > echo "The module directory, $MODDIR/$MODNAME, does not exist; aborting." > exit 1 >fi > >cd $MODDIR/$MODNAME > >if [ ! -f "$MODNAME.te" ] >then > echo "The module file, $MODDIR/$MODNAME/$MODNAME.te, does not exist; aborting." > exit 1 >fi > >FCONT="" > >if [ -f "$MODNAME.fc" ] >then > FCONT="-f $MODNAME.fc" >fi > ># If we do these manually, we don't get any of the m4 stuff >#${CHKMOD} -M -m -o $MODNAME.mod $MODNAME.te >#${MODPKG} -o $MODNAME.pp -m $MODNAME.te $FCONT > >/usr/bin/make -f /usr/share/selinux/devel/Makefile && ${SEMOD} -i $MODNAME.pp
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 882703
: 656202