Bacula includes systemd unit files, it would be great if the ebuild could install them. I'll try writing a patch if I can find the time. bacula-5.2.13 $ ls platforms/systemd bacula.conf.in bacula-fd.service.in Makefile.in bacula-dir.service.in bacula-sd.service.in
The unit files from app-backup/bacula-5.2.13-r1 require syslog.target, which is not present on my system (I do not have syslog-ng because systemd has its own syslog implementation). When I remove syslog.target manually e.g. from /usr/lib/systemd/system/bacula-fd.service bacula-fd starts fine. Otherwise it says: # systemctl start bacula-fd Failed to issue method call: Unit syslog.target failed to load: No such file or directory.
We should apply this then: http://pkgs.fedoraproject.org/cgit/bacula.git/commit/?id=f0f03f222dda4373cfcee4b46f45bab362cbcd04 As discussed in: https://bugzilla.redhat.com/show_bug.cgi?id=952334 But would prefer to not need to carry this forever, could you please report to upstream and post the link here to let us track the issue? Thanks
(In reply to Pacho Ramos from comment #2) > We should apply this then: > http://pkgs.fedoraproject.org/cgit/bacula.git/commit/ > ?id=f0f03f222dda4373cfcee4b46f45bab362cbcd04 > > As discussed in: > https://bugzilla.redhat.com/show_bug.cgi?id=952334 > > But would prefer to not need to carry this forever, could you please report > to upstream and post the link here to let us track the issue? > > Thanks Sorry, I am a little late here. As I can not test it myself (no systemd here) can you do the tests Pacho? I will care for the rest.
Well, it's already tested by fedora people... but I would like to get it reported to http://bugs.bacula.org without needing to create another account there (well, I supposed you would have already an account for that, if that is not the case, I can try then of course :))
(In reply to Pacho Ramos from comment #4) > Well, it's already tested by fedora people... Right, but anyway it is seems good to test it in our environment too. > but I would like to get it > reported to http://bugs.bacula.org without needing to create another account > there (well, I supposed you would have already an account for that, if that > is not the case, I can try then of course :)) I will do that.
+*bacula-5.2.13-r2 (01 Feb 2014) + + 01 Feb 2014; Pacho Ramos <pacho@gentoo.org> +bacula-5.2.13-r2.ebuild, + -bacula-5.2.13-r1.ebuild: + Fix systemd unit files, bug #497748 +