Getting a RuntimeError: Invalid argument from _seinfo

Daniel J Walsh dwalsh at redhat.com
Mon Dec 20 13:58:20 UTC 2010


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

On 12/17/2010 06:56 PM, Frank Licea wrote:
> I'm on a fresh installation of Fedora 14 and I'm encountering an error when
> I use the `sandbox` policy script. I'm would like to know if there are any
> others who are getting the same issue that I am.
> 
> Using the sandbox policy with any command (for example):
> 
>     `sandbox ls`
>     `sandbox`
> 
> Always returns the following error message:
> 
>    Traceback (most recent call last):
>    File "/usr/bin/sandbox", line 443, in <module>
>      rc = sandbox.main()
>    File "/usr/bin/sandbox", line 428, in main
>      self.__parse_options()
>    File "/usr/bin/sandbox", line 251, in __parse_options
>      types = "\t" + "\n\t".join(setools.seinfo(setools.ATTRIBUTE,
> "sandbox_type")[0]['types'])
>    File "/usr/lib/python2.7/site-packages/setools/__init__.py", line 49, in
> seinfo
>      dict_list = _seinfo.seinfo(setype, name)
>    RuntimeError: Invalid argument
> 
> Anyone else getting this or just me?
> 
> 
> 
> 
> --
> selinux mailing list
> selinux at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/selinux


Update to the latest policycoreutils

yum -y update
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk0PYPwACgkQrlYvE4MpobPrrwCg4R3YfqK6bxUCavZdMJjA5gKC
rdoAoIWLyP0k5+ZsELG0UDKyudni/huz
=3JCH
-----END PGP SIGNATURE-----


More information about the selinux mailing list