Bacula-users

Re: [Bacula-users] bacula-fd cannot access files from the system still getting [permission denied]

2015-08-16 03:36:05
Subject: Re: [Bacula-users] bacula-fd cannot access files from the system still getting [permission denied]
From: JING YANG <yang15 AT sas.upenn DOT edu>
To: Kern Sibbald <kern AT sibbald DOT com>
Date: Sun, 16 Aug 2015 03:31:17 -0400
I check my journctl. I did "journalctl -u bacula-dir.service", now it show a different error says'

Aug 15 23:56:17 thidwick bacula-dir[5858]: 15-Aug 23:56  Message delivery ERROR: Mail program terminated in error.

                                           CMD=/usr/lib/bacula/bsmtp -h localhost -f "(Bacula) <root@localhost>" -s "Bacula: Backup OK of thidwick-fd Incremental" root@localhost

                                           ERR=No such file or directory

Maybe, this will give you guys more hint on the actual problem?


Thanks,

Jing


On Sat, Aug 15, 2015 at 12:53 PM, Kern Sibbald <kern AT sibbald DOT com> wrote:
On 15.08.2015 17:44, Josip Deanovic wrote:
> On Saturday 2015-08-15 12:15:13 Kern Sibbald wrote:
>> Hello,
>>
>> I also think this may be a selinux problem.  The best way to know is if
>> Jing understands kernel and selinux logs, he can see if there are any
>> selinux rejections, since they will not clearly show as being a selinux
>> problem in the Bacula messages (the OS does not furnish this info).
>> Another way, is to simply turn selinux off temporarily.  If I am not
>> mistaken, selinux is enabled by default on newer RedHat/CentOS systems.
>>
>> Best regards,
>> Kern
> RedHat/Centos are using selinux by default (6.x, 7.x, I don't remember
> about 5.x any more) but the original poster said that he is using
> archlinux. I have never used archlinux.
>
Good point.

Another thing, if I understand Jing correctly he believes that the
owner:group of the binary imply what "user" the FD will be running as.
Hopefully someone help him understand that the user:group that the
binary that is executing is determined by the user:group of who started
the binary and what command line options were used and not by the
user:group of the binary image.

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>