-
Michał Kępień authored
Using "scl enable" in a systemd unit file prevents the service being started from transitioning into a confined SELinux domain. Since named is built with -rpath and thus it is able to find the shared libraries it is linked against even without LD_LIBRARY_PATH being set to the SCL's library directory, invoke the named binary directly in the unit file to ensure it transitions to the desired SELinux domain upon startup. Apply the same change to the CentOS 6 init script for consistency.
f18fb62f