Bacula-users

Re: [Bacula-users] Permission Problem on CentOS 6.5 and Bacula 7

2014-08-04 09:22:02
Subject: Re: [Bacula-users] Permission Problem on CentOS 6.5 and Bacula 7
From: Simone Caronni <negativo17 AT gmail DOT com>
To: Bill Arlofski <waa-bacula AT revpol DOT com>
Date: Mon, 4 Aug 2014 15:16:55 +0200
Damn gmail, was sent out before finishing.

In brief, these are the steps:

# chown -R root:root /etc/bacula
# chmod 755 /etc/bacula
# chmod 640 /etc/bacula/*
# chgrp bacula /etc/bacula/bacula-dir.conf /etc/bacula/query.sql

Thanks for helping out while I was not available.

Regards,
--Simone


On 4 August 2014 15:15, Simone Caronni <negativo17 AT gmail DOT com> wrote:
Hello,

On 3 August 2014 17:39, Bill Arlofski <waa-bacula AT revpol DOT com> wrote:
You might want to post a bug report to the Centos 6.5 Bacula 7 package's
maintainer and point this out.

Here I am, just came back from holiday :)

In the bacula-common page, there's a README with a section on the file permissions that have to be allocated for Bacula to run properly on Fedora/RHEL system.
The file is installed in your system at:

/usr/share/doc/bacula-common/README.Redhat

And this file is also referenced at:


In brief, these are the steps:


Please note that if you move configuration files somewhere else, you should adapt the SELinux policy that is part of the base system (type bacula_etc_t):

[slaanesh@localhost etc]$ ls -alZ bacula/
drwxr-xr-x. root root   system_u:object_r:bacula_etc_t:s0 .
drwxr-xr-x. root root   system_u:object_r:etc_t:s0       ..
-rw-r-----. root bacula system_u:object_r:bacula_etc_t:s0 bacula-dir.conf
-rw-r-----. root bacula system_u:object_r:bacula_etc_t:s0 bacula-dir.conf.rpmnew
-rw-r-----. root root   system_u:object_r:bacula_etc_t:s0 bacula-fd.conf
-rw-r-----. root root   system_u:object_r:bacula_etc_t:s0 bacula-fd.conf.rpmnew
-rw-r-----. root root   system_u:object_r:bacula_etc_t:s0 bacula-sd.conf
-rw-r-----. root root   system_u:object_r:bacula_etc_t:s0 bacula-sd.conf.rpmnew
-rw-r-----. root root   system_u:object_r:bacula_etc_t:s0 bconsole.conf
-rw-r-----. root bacula system_u:object_r:bacula_etc_t:s0 query.sql

Otherwise you might get into trouble.

--
You cannot discover new oceans unless you have the courage to lose sight of the shore (R. W. Emerson).

The Stone Age came to an end not for a lack of stones; and the oil age will end, but not for a lack of oil. (Ahmed Zaki Yamani, former Saudi Minister of Oil)

http://xkcd.com/229/
http://negativo17.org/



--
You cannot discover new oceans unless you have the courage to lose sight of the shore (R. W. Emerson).

The Stone Age came to an end not for a lack of stones; and the oil age will end, but not for a lack of oil. (Ahmed Zaki Yamani, former Saudi Minister of Oil)

http://xkcd.com/229/
http://negativo17.org/
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users