Fail to start bacula director with systemctl. REALLY SOLVED.

Erik P. Olsen epodata at gmail.com
Sun Jul 1 04:12:51 UTC 2012


On 30/06/12 22:43, Joe Zeff wrote:
> On 06/30/2012 01:33 PM, Erik P. Olsen wrote:
>> Well, since it makes bacula run, it IS a solution allthough I admit it
>> IS bad.
>
> No it isn't. It's a work-around that allows bacula to run while ignoring the
> central issue: you need to find out how to make bacula run correctly while
> running as user bacula. If the program itself is owned by that user, you may be
> able to get things going by using the suid bit. It's a tad weird, I know, and
> I'm not sure it's a Good Idea. However, if user bacula only has normal
> privileges, it's *probably* safe.

Turned out to be my fault (of course). Had mistyped a path to a log file so it 
would only run as root.

-- 
Erik


More information about the users mailing list