BackupPC-users

Re: [BackupPC-users] SELinux for v4.1.1

2017-05-01 12:39:47
Subject: Re: [BackupPC-users] SELinux for v4.1.1
From: Ray Frush <frush AT rams.colostate DOT edu>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 1 May 2017 10:39:20 -0600
I believe the install documentation acknowledges that BackupPC isn't SELinux aware, and advises you to disable SELinux on the server you're using to run BackupPC.

An interesting project would be to create a backuppc module for SELinux.   


On Fri, Apr 28, 2017 at 9:06 PM, Kenneth Porter <shiva AT sewingwitch DOT com> wrote:
I was able to successfully complete an rsyncd backup but it doesn't show in
the web interface unless I set SELinux to Permissive. Any hints on what to
tweak to let Apache read /var/lib/BackupPC?

Here's a directory listing to show how the host's files are labeled:

drwxr-x---. backuppc backuppc system_u:object_r:unlabeled_t:s0 .
drwxr-x---. backuppc root     unconfined_u:object_r:unlabeled_t:s0 ..
drwxr-x---. backuppc backuppc unconfined_u:object_r:unlabeled_t:s0 0
drwxr-x---. backuppc backuppc system_u:object_r:unlabeled_t:s0 1
-rw-r-----. backuppc backuppc system_u:object_r:unlabeled_t:s0 LOCK
-rw-r-----. backuppc backuppc system_u:object_r:unlabeled_t:s0 LOG.042017
-rw-r-----. backuppc backuppc system_u:object_r:unlabeled_t:s0 XferLOG.0.z
-rw-r-----. backuppc backuppc system_u:object_r:unlabeled_t:s0 XferLOG.1.z
-rw-r-----. backuppc backuppc unconfined_u:object_r:unlabeled_t:s0
XferLOG.bad.z.old
-rw-r-----. backuppc backuppc system_u:object_r:unlabeled_t:s0 backups
-rw-r-----. backuppc backuppc system_u:object_r:unlabeled_t:s0 backups.old
drwxr-x---. backuppc backuppc system_u:object_r:unlabeled_t:s0 refCnt


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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/



--
Time flies like an arrow, but fruit flies like a banana.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>

ADSM.ORG Privacy and Data Security by KimLaw, PLLC