semanage input file

Daniel J Walsh dwalsh at redhat.com
Wed Dec 5 20:54:53 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/04/2012 04:05 PM, Andy Ruch wrote:
> Hello,
> 
> I'm trying to pass an input file to semanage as recommended in 
> http://danwalsh.livejournal.com/41593.html. I'm using RHEL 6.
> 
> I get the error "/usr/sbin/semanage: Could not start semanage transaction"
> when I execute the following:
> 
> semanage -i - << _EOF user -l _EOF
> 
> However, "semanage user -l" works just fine. Any suggestions?
> 
> *Note that I'm just listing the users as an example of the concept.
> 
> Thanks, Andy
> 
> 
> 
> 
> -- selinux mailing list selinux at lists.fedoraproject.org 
> https://admin.fedoraproject.org/mailman/listinfo/selinux
> 
This command works fine on Fedora, so if it is not working on your RHEL box it
is a bug.  Please open a bugzilla.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlC/tJ0ACgkQrlYvE4MpobNvbgCgkuN1m2Kjwdw7l1JjLMSBCTtI
iu4AmQFwLR6aWnYQ77LtCktumkfIzkL6
=EcMX
-----END PGP SIGNATURE-----


More information about the selinux mailing list