Hello Stuart, Thanks for the feedback. Well, the results are not what I expected. I will think about it a bit, but I think I am going to fall back to your solution.
Thanks, Kern On 03/12/2017 06:06 PM, Stuart Henderson wrote: > On 2017/03/12 09:42, Kern Sibbald wrote: >> This is a bug fix release, which hopefully corrects a seg fault on >> OpenBSD due to the nex ACL/XATTR code > This now results in the following from the FD, and I didn't see a > config method to disable ACL/XATTR backups. > > Fatal error: ACL backup requested but not configured in Bacula. > Fatal error: XATTR backup requested but not configured in Bacula. > > I have been successfully running 7.4.5 after checking for null > as I suggested in my previous mail, specifically > > --- src/filed/backup.c.orig Thu Feb 16 16:21:07 2017 > +++ src/filed/backup.c Thu Feb 16 16:28:49 2017 > @@ -163,12 +163,14 @@ bool blast_data_to_storage_daemon(JCR *jcr, char *addr > jcr->setJobStatus(JS_ErrorTerminated); > } > > - if (jcr->xacl->get_acl_nr_errors() > 0) { > - Jmsg(jcr, M_WARNING, 0, _("Had %ld acl errors while doing backup\n"), > jcr->xacl->get_acl_nr_errors()); > - } > + if (jcr->xacl) { > + if (jcr->xacl->get_acl_nr_errors() > 0) { > + Jmsg(jcr, M_WARNING, 0, _("Had %ld acl errors while doing > backup\n"), jcr->xacl->get_acl_nr_errors()); > + } > > - if (jcr->xacl->get_xattr_nr_errors() > 0) { > - Jmsg(jcr, M_WARNING, 0, _("Had %ld xattr errors while doing > backup\n"), jcr->xacl->get_xattr_nr_errors()); > + if (jcr->xacl->get_xattr_nr_errors() > 0) { > + Jmsg(jcr, M_WARNING, 0, _("Had %ld xattr errors while doing > backup\n"), jcr->xacl->get_xattr_nr_errors()); > + } > } > > /* Delete or keep snapshots */ > > > ------------------------------------------------------------------------------ > Announcing the Oxford Dictionaries API! The API offers world-renowned > dictionary content that is easy and intuitive to access. Sign up for an > account today to start using our lexical data to power your apps and > projects. Get started today and enter our developer competition. > http://sdm.link/oxford > _______________________________________________ > Bacula-devel mailing list > Bacula-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-devel > ------------------------------------------------------------------------------ Announcing the Oxford Dictionaries API! The API offers world-renowned dictionary content that is easy and intuitive to access. Sign up for an account today to start using our lexical data to power your apps and projects. Get started today and enter our developer competition. http://sdm.link/oxford _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel