Ticket #47333 - Relabel lockfile when starting Admin Server
On a non-systemd system, our init script creates a lockfile. This
lockfile gets a generic var_lock_t label, which causes problems
when we try to restart Admin Server via CGI. Our CGIs are not
allowed to remove the old lockfile due to the SELinux policy.
We do have a fcontext rule for this lock file, but we need to
explicitly perform a relabel since the file is created by our
init script. This patch relabels the lockfile immediately after
creation, which then allows our CGIs to properly manage it later.