Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 771774 - net-analyzer/nagios-core: provide systemd unit
Summary: net-analyzer/nagios-core: provide systemd unit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2021-02-20 22:02 UTC by John Helmert III
Modified: 2021-02-24 03:43 UTC (History)
1 user (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 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-02-20 22:02:12 UTC
Should be trivial to do, after doing an `ebuild .. install` I see a systemd unit in ${S}/startup/default-service. I've run-tested it as nagios.service, seems to work fine.
Comment 1 Larry the Git Cow gentoo-dev 2021-02-24 00:36:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea33afbdeaa8a6d2aa86bdfeddc8dbb45818e875

commit ea33afbdeaa8a6d2aa86bdfeddc8dbb45818e875
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2021-02-24 00:32:38 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2021-02-24 00:33:01 +0000

    net-analyzer/nagios-core: new revision to install systemd service.
    
    Closes: https://bugs.gentoo.org/771774
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 ...-core-4.4.6-r1.ebuild => nagios-core-4.4.6-r2.ebuild} | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
Comment 2 Michael Orlitzky gentoo-dev 2021-02-24 00:36:35 UTC
Lemme know if the -r2 works for you.
Comment 3 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-02-24 03:38:35 UTC
(In reply to Michael Orlitzky from comment #2)
> Lemme know if the -r2 works for you.

Works for me! Sorry it ended up a bit more complex than a simple systemd_newunit, but thanks!
Comment 4 Michael Orlitzky gentoo-dev 2021-02-24 03:43:08 UTC
(In reply to John Helmert III (ajak) from comment #3)
> 
> Sorry it ended up a bit more complex than a simple
> systemd_newunit, but thanks!

It really wasn't. The service scripts for every init system are always built -- I only forced the init system to "unknown" as a micro-optimization to keep it from poking around the system looking for stuff that we're going to ultimately ignore anyway.