SELinux context fixes for BackupPC data directory.

This commit is contained in:
Timo Mkinen 2012-10-30 14:16:16 +02:00
parent 2c7af9cefd
commit b826e5d54c

View file

@ -70,7 +70,10 @@ class backuppc::server {
group => "root",
require => Package["BackupPC"],
}
selinux::manage_fcontext { "${backuppc_datadir}(/.*)?":
type => "var_lib_t",
before => File[$backuppc_datadir],
}
file { "/var/lib/BackupPC":
ensure => $backuppc_datadir,
force => true,