I've got a bug report[1] I've been trying to figure out but have not been
able to figure it out.
I keep re-teaching myself SELinux every time I run into a problem but this
one is just too convoluted. For those that don't know BackupPC is perl
based (which doesn't application of selinux contexts) so I have to compile
a C wrapper, and then all of it is run through apache.
The existing selinux settings in the spec file[2] have worked well for many
years across multiple Fedora and EPEL releases until now...
So is initrc_t still appropriate? Or is there a systemd equivalent? And is
that what he's suggesting?
I tried applying his patch to the spec but it broke BackupPC on my CentOS 7
server even though it's systemD based.
I've played with creating a service domain for backuppc but not sure if I
need to go that far since everything is run through httpd...
Thanks,
Richard
[1]
https://bugzilla.redhat.com/show_bug.cgi?id=1791369
[2]
https://src.fedoraproject.org/rpms/BackupPC/blob/master/f/BackupPC.spec