Re: [Bacula-users] Restoring to different host

2015-05-03 Thread Craig Shiroma
Thank you everyone for the information and advice! I appreciate it. -craig On Fri, May 1, 2015 at 4:38 AM, Dimitri Maziuk wrote: > On 2015-05-01 08:14, Josh Fisher wrote: > > > ... The > > crux of the issue is that a backup app like Bacula is anti-SELinux by > > nature, since it must have read

Re: [Bacula-users] Restoring to different host

2015-05-01 Thread Dimitri Maziuk
On 2015-05-01 08:14, Josh Fisher wrote: > ... The > crux of the issue is that a backup app like Bacula is anti-SELinux by > nature, since it must have read/write access to every single file on the > system. The crux of the issue is that selinux is based on "everything is forbidden except what's e

Re: [Bacula-users] Restoring to different host

2015-05-01 Thread Josh Fisher
On 5/1/2015 2:18 AM, Kern Sibbald wrote: > Hello, > > Concerning SELinux: I tried running with SELinux for awhile quite a > long time ago, and it turned out to be more painful than useful, so I > turned it off. I had turned it on to learn it and to write Bacula > policies, but never got that far

Re: [Bacula-users] Restoring to different host

2015-04-30 Thread Kern Sibbald
Hello, Concerning SELinux: I tried running with SELinux for awhile quite a long time ago, and it turned out to be more painful than useful, so I turned it off. I had turned it on to learn it and to write Bacula policies, but never got that far. That said: since Bacula is part of the RedHat rele

Re: [Bacula-users] Restoring to different host

2015-04-30 Thread Frank Sweetser
A full solution would be to write an selinux policy, either on your own (search for Dan Walsh, he has some excellent selinux troubleshooting guides) or by opening a bug report with RedHat. For a temporary solution, you can briefly bypass selinux with the command setenforce 0 This will let yo

Re: [Bacula-users] Restoring to different host

2015-04-30 Thread Craig Shiroma
Sorry, I meant to say, I know I can do various things to selinux to get things to work. But, I was wondering if there is a "best practice" solution for dealing with this problem? Thanks! On Thu, Apr 30, 2015 at 12:25 PM, Craig Shiroma wrote: > Hi Frank, > > Thank you very much for the info! Y

Re: [Bacula-users] Restoring to different host

2015-04-30 Thread Craig Shiroma
Hi Frank, Thank you very much for the info! Yes, this is a RHEL 6.6 box that I'm trying to restore to. After using Romeo's check, it seems selinux is blocking the restore. Is there a best practice for dealing with this situation? Thanks again, -craig On Thu, Apr 30, 2015 at 4:06 AM, Frank Sw

Re: [Bacula-users] Restoring to different host

2015-04-30 Thread Frank Sweetser
Is this a RedHat/CentOS box? They've recently made some changes to the selinux configuration around bacula which prevents it from taking pretty much any action other thank backups, including running scripts or creating files. Frank Sweetser fs at wpi.edu| For every problem, there is a sol

Re: [Bacula-users] Restoring to different host

2015-04-29 Thread Romeo Theriault
Anything in the system logs? Also check selinux, audit2allow -a /var/log/audit/audit.log to see if selinux might be stopping it. On Wed, Apr 29, 2015 at 10:07 PM, Craig Shiroma wrote: > Hi Romeo, > > Yes, as root on the target host, I can create /tmp/etc. Kind of strange. > > Thanks, > -craig

Re: [Bacula-users] Restoring to different host

2015-04-29 Thread Romeo Theriault
If you go onto the host yourself, as root can you create "etc" in /tmp? On Wed, Apr 29, 2015 at 9:01 PM, Craig Shiroma wrote: > Hello, > > I'm trying to a restore file to a different host's /tmp. I've select the > target host by changing the value of Restore Client during the restore > process,

Re: [Bacula-users] Restoring to different host

2015-04-29 Thread Craig Shiroma
Hi Romeo, Yes, as root on the target host, I can create /tmp/etc. Kind of strange. Thanks, -craig On Wed, Apr 29, 2015 at 3:53 PM, Romeo Theriault wrote: > If you go onto the host yourself, as root can you create "etc" in /tmp? > > On Wed, Apr 29, 2015 at 9:01 PM, Craig Shiroma > wrote: > >>

[Bacula-users] Restoring to different host

2015-04-29 Thread Craig Shiroma
Hello, I'm trying to a restore file to a different host's /tmp. I've select the target host by changing the value of Restore Client during the restore process, selecting the desired target host to restore to from the hosts list presented. However, when I attempt the restore, I get the following