Bacula-users

Re: [Bacula-users] Building bacula-fd on OpenBSD 4.5

2009-10-15 13:21:06
Subject: Re: [Bacula-users] Building bacula-fd on OpenBSD 4.5
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 15 Oct 2009 18:15:25 +0100
>>>>> On Thu, 15 Oct 2009 07:34:57 -0300, Daniel Bareiro said:
> 
> On Wednesday, 14 October 2009 17:38:59 +0100,
> Martin Simmons wrote:
> 
> > > In the FileSet resource for this client I'm doing backup of all the
> > > /etc, but there are some files and directories which aren't able to
> > > be copied. I consider that this is because the process (running with
> > > bacula: bacula) cannot access to those files and directories by the
> > > restrictive permissions that these have.
> 
> > Normally the bacula-fd should be run as root.  Only the bacula-dir and
> > possibly the bacula-sd shluld be run as the bacula user.
> 
> Perfect. Thanks for the indication, Martin.
> 
> Do you think that it is appropriate to starting bacula-fd with the
> script in /etc/bacula/scripts using the following lines in the
> /etc/rc.local file?
> 
> # DGB - 20091012
> # Starting bacula-fd on boot
> if [ -x /etc/bacula/scripts/bacula-ctl-fd ]; then
>         /etc/bacula/scripts/bacula-ctl-fd start
> fi
> 
> There is some way to normally stop daemon during shutdown/reboot of the
> operating system?

If OpenBSD uses /usr/local/etc/rc.d like FreeBSD, then it would be better to
add a script there.

Otherwise, /etc/rc.local would be fine for startup.

__Martin

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users