[pkg-bacula-devel] Branch hardcode-users

Sven Hartge sven at svenhartge.de
Tue Sep 20 18:43:00 UTC 2016


Um 11:31 Uhr am 16.09.16 schrieb Carsten Leonhardt:

> Hi,
> 
> > I use Bacula to backup to disk and my storage just belongs to the user
> > bacula:bacula. I really don't care if bacula-sd runs as group "tape" as
> > long as it runs as user "bacula".
> 
> After thinking a bit more about it, it doesn't matter much what group
> the daemon runs as if the user bacula is in the relevant groups.
> 
> Do you consider the branch ready to be merged and uploaded to unstable
> once the current version enters testing?

I found one problem:

bacula-sd is started bacula:tape, but /etc/bacula/bacula-sd.conf belongs 
to root:bacula:

-rw-r-----   1 root bacula  9156 Sep 20 20:31 bacula-dir.conf
-rw-r-----   1 root bacula  1123 Sep 20 20:30 bacula-fd.conf
-rw-r-----   1 root bacula  8066 Sep 20 20:31 bacula-sd.conf

With the old startup bacula-sd was root:root while reading the 
configuration and then dropping to bacula:tape. This now does not work any 
longer.

One solution would be to make bacula-sd.conf owned by bacula:bacula.

Thoughts?

S°



More information about the pkg-bacula-devel mailing list