it seems there are some problems if director is not run as root.
using bacula 2.2.5 on slackware 12.

1. important environment variables are not set
if bacula is configured and compiled with --with-dir-user and 
--with-dir-group, director is started with correct -u parameter, and 
runs as the correct user - but environment variable HOME is not set to 
user home, it is set to /root.
obviously, make_catalog_backup can't access /root/.my.cnf, and it also 
doesn't know anything about the correct location for .my.cnf.

this way it is not possible to use (without modifying scripts 
themselves) suggestion from 
http://www.bacula.org/dev-manual/Catalog_Maintenance.html#SECTION0024130000000000000000

this might also apply to other daemons.

would this qualify as a valid bug report ?

2. emails are not sent in default configuration
if bacula is configured and compiled with --with-dir-user and 
--with-dir-group, /sbin/bsmtp is still owned by root.root, and it's 
permissions are set to rwxr-xr--.

this prevents director from sending out mails in the default configuration.

maybe it would be better (if user and group are set when compiling) to 
make permissions 755 or set owning group to one the director is using ?

would this qualify as a valid bug report ?
-- 
  Rich

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to