So, I’m running on a RedHat 7 flavored box. ’semanage fcontext -l’ returns no items for specific paths for BackupPC on my system. Also my systems have no content in /usr/share/selinux/packages/, which is why I wrote my own.
> On Aug 28, 2019, at 13:23, Jamie Burchell <ja...@ib3.uk> wrote: > > Thanks for those details. There does appear to be a policy in place already > (/usr/share/selinux/packages/BackupPC/BackupPC.pp) > > # semanage fcontext -l | grep BackupPC > > /etc/BackupPC(/.*)? all files > system_u:object_r:httpd_sys_rw_content_t:s0 > /var/run/BackupPC(/.*)? all files > system_u:object_r:var_run_t:s0 > /var/log/BackupPC(/.*)? all files > system_u:object_r:httpd_log_t:s0 > /etc/BackupPC/LOCK all files > system_u:object_r:httpd_lock_t:s0 > > No mention of /var/lib/BackupPC though. Interesting that the LOCK file is > mentioned here yet is trying to write it to the data folder? >
_______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/