Currently we need to run something like this every time we start up:
/usr/sbin/semanage port -a -t memcache_port_t -p tcp ${special-snowflake-port}
It would be great if we could persist this across reboots. The answer is to compile the poicy, but the big question is how is this done? Nothing I've seen in the .fc
file documentation suggests this could be encoded there and the .te
file syntax is kind of hard to read. Yet clearly the per-compiled policies do set stuff, I just can't find how.
What am I missing?