Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497748 - app-backup/bacula: Install systemd units
Summary: app-backup/bacula: Install systemd units
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2014-01-11 02:02 UTC by Khumba
Modified: 2014-02-01 19:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Khumba 2014-01-11 02:02:27 UTC
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
Comment 1 Fabian Köster 2014-01-17 13:40:27 UTC
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.
Comment 2 Pacho Ramos gentoo-dev 2014-01-18 11:50:38 UTC
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
Comment 3 Thomas Beierlein gentoo-dev 2014-01-27 18:34:33 UTC
(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.
Comment 4 Pacho Ramos gentoo-dev 2014-01-27 21:09:32 UTC
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 :))
Comment 5 Thomas Beierlein gentoo-dev 2014-01-28 08:35:48 UTC
(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.
Comment 6 Pacho Ramos gentoo-dev 2014-02-01 19:32:57 UTC
+*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
+