Philipp Storz wrote:
> Hello,
>
> I experienced problems with the default BackupCatalog Job in Version 5.0.0:
>
> 02-Feb 10:50 build31-dir JobId 9: shell command: run BeforeJob
> "/usr/lib64/bacula/make_catalog_backup.pl MyCatalog"
> 02-Feb 10:50 build31-dir JobId 9: BeforeJob: Can't get catalog information
> at
> /usr/lib64/bacula/make_catalog_backup.pl line 129.
> 02-Feb 10:50 build31-dir JobId 9: Error: Runscript: BeforeJob returned non-
> zero status=13. ERR=Child exited with code 13
>
> The script /usr/lib64/bacula/make_catalog_backup.pl MyCatalog
> fails, as it uses the dbcheck binary to get info about the catalog.
>
> due to the rights of dbcheck, bacula-fd is not allowed to execute it:
>
> ls -la /usr/sbin/dbcheck
> -rwxr-xr-- 1 root root 110656 2. Feb 08:53 /usr/sbin/dbcheck
>
> I would now change the rights of /usr/sbin/dbcheck to
> %attr(-, root, %{daemon_group}) %{_sbindir}/dbcheck
>
> in the spec file in order to be executable by the daemon group.
>
> Is this the right way to do it, or what would you suggest to solve this
> problem?
For the FreeBSD port, I did a chgrp bacula.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel