Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 486082 - dev-util/buildbot - add systemd support
Summary: dev-util/buildbot - add systemd support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2013-09-26 14:48 UTC by Evgeniy Dushistov
Modified: 2013-09-28 10:34 UTC (History)
2 users (show)

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


Attachments
service file for buildmaster (buildmaster.service,365 bytes, text/plain)
2013-09-26 21:12 UTC, Evgeniy Dushistov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeniy Dushistov 2013-09-26 14:48:46 UTC
I have USE="systemd", but buildbot installation doesn't contain
any systemd related files. 
So after installation of buildbot, I can not run it as daemon using my init system (systemd).

Reproducible: Always
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2013-09-26 19:20:29 UTC
Hi,

This needs to be reported upstream so they can provide a systemd unit file for all the systemd-enabled distributions out there.


Anyway, lets CC the systemd@ team as I don't have enough experience in systemd files.
Comment 2 Evgeniy Dushistov 2013-09-26 21:12:11 UTC
Created attachment 359556 [details]
service file for buildmaster
Comment 3 Evgeniy Dushistov 2013-09-26 21:15:41 UTC
(In reply to Markos Chandras from comment #1)
> This needs to be reported upstream so they can provide a systemd unit file
> for all the systemd-enabled distributions out there.
>

Not sure about this, see attachment file.
This allow systemd control build master service.
It contains such prefencies like:
User=buildbot
WorkingDirectory=/var/lib/buildmaster

I take them from /etc/conf.d/buildmaster.
Is this gentoo specific stuff (like buildbot user creation) or upstream suggested settings?
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2013-09-27 07:03:29 UTC
(In reply to Evgeniy Dushistov from comment #3)
> (In reply to Markos Chandras from comment #1)
> > This needs to be reported upstream so they can provide a systemd unit file
> > for all the systemd-enabled distributions out there.
> >
> 
> Not sure about this, see attachment file.
> This allow systemd control build master service.
> It contains such prefencies like:
> User=buildbot
> WorkingDirectory=/var/lib/buildmaster
> 
> I take them from /etc/conf.d/buildmaster.
> Is this gentoo specific stuff (like buildbot user creation) or upstream
> suggested settings?

I think, they do not mention anything about a buildbot specific user in their docs. This does not mean it's a bad thing :) But yes, it's possible to be Gentoo specific.
Comment 5 Pacho Ramos gentoo-dev 2013-09-28 10:34:08 UTC
+*buildbot-0.8.8-r1 (28 Sep 2013)
+
+  28 Sep 2013; Pacho Ramos <pacho@gentoo.org> +buildbot-0.8.8-r1.ebuild,
+  +files/buildbot.service:
+  Add unit file (#486082 by Evgeniy Dushistov)
+