1125334 - Adds celery_t policy to constrain pulp_workers, pulp_resource_manager, and pulp_celerybeat

This introduces a new selinux policy named pulp-celery which defines the celery_t label. The policy has been tested on EL6 and EL7 with sync+publish, bind/unbind, update, register/unregister, pulp-admin upload, and node functionality.

The spec file is reworked to deploy and remove both the pulp-celery policy in addition to the pulp-server policy. I've cleaned up the bash scripts also.

The EL7 environment needed a few policy statements that did not compile on the EL6 environment, so the selinux policy is adjusted just before compilation depending on the platform. EL7 gets some additional statements. You'll see this addition in the pulp.spec file.

I've deleted pulp-selinux.py which has no chance of working without much effort, and removed it from the developer docs. This selinux policy will not work with a dev setup, only with an RPM based layout.

It also updates the release notes for 2.5.0, and adds a note about the selinux changes.

+require {
+        type var_run_t;
+        type celery_t;
+        type pulp_cert_t;
+        class process { signal signull };
+        class tcp_socket { getopt create connect setopt getattr write read };
+        class file { write getattr read create unlink open };
+        class netlink_route_socket { bind create getattr nlmsg_read write read };
+        class unix_dgram_socket { create connect };
+        class udp_socket { ioctl create getattr connect write read };
+        class dir { getattr search };
+}

You don't need to have these requires. Should be covered by interfaces. Only pupl_cert_t is needed if there is no interface which requires it.