On Mon, May 06, 2013 at 12:52:07PM -0400, Daniel J Walsh wrote: > > However, I'm having a hard time debugging why I get the following: > > > > File "/usr/bin/sepolicy-2.7", line 63, in __call__ from sepolicy.network > > import domains File > > "/usr/lib64/python2.7/site-packages/sepolicy/network.py", line 44, in > > <module> portrecs, portrecsbynum = _gen_port_dict() File > > "/usr/lib64/python2.7/site-packages/sepolicy/network.py", line 31, in > > _gen_port_dict for i in info(sepolicy.PORT): File > > "/usr/lib64/python2.7/site-packages/sepolicy/__init__.py", line 182, in > > info dict_list = _policy.info(setype, name) RuntimeError: No such file or > > directory > > > > What could this error be about? I get this when I try "sepolicy communicate > > -s portage_t". > > > Where are you executing this? If you mean distribution: Gentoo Hardened. If you mean location: anywhere (like in /root). If you mean context: I'm staff_u:sysadm_r:sysadm_t at the time of executing. I get the same stacktrace with "sepolicy transition". I notice that there is some port specific stuff in the stack trace; "semanage port -l" works ok here. Wkr, Sven Vermeulen -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.