Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905861 - app-metrics/prometheus - wep api cannot be deactivated
Summary: app-metrics/prometheus - wep api cannot be deactivated
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-07 08:38 UTC by Toralf Förster
Modified: 2025-01-31 02:47 UTC (History)
0 users

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 Toralf Förster gentoo-dev 2023-05-07 08:38:16 UTC
The enabling by --web.enable-admin-api cannot be overwritten by a conf parameter.

I propose to remove that from the init.d file.
Comment 1 Toralf Förster gentoo-dev 2023-05-17 22:21:22 UTC
and this sentence in the conf.d file does not work related to a web api deactivation:

# The new behavior is that prometheus_args will be appended to these
# defaults allowing anything you add to override them.
Comment 2 Larry the Git Cow gentoo-dev 2025-01-31 02:47:31 UTC
The bug has been closed via the following commit(s):

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

commit 4f35eca9501909c87ca6591f35e6c5fb617e5ba6
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2025-01-31 02:46:45 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2025-01-31 02:46:45 +0000

    app-metrics/prometheus: add 3.1.0
    
    Closes: https://bugs.gentoo.org/905861
    Closes: https://bugs.gentoo.org/947414
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 app-metrics/prometheus/Manifest                   |  3 ++
 app-metrics/prometheus/files/prometheus-3.confd   | 25 +++++++++
 app-metrics/prometheus/files/prometheus-3.initd   | 40 ++++++++++++++
 app-metrics/prometheus/files/prometheus-3.service | 20 +++++++
 app-metrics/prometheus/prometheus-3.1.0.ebuild    | 63 +++++++++++++++++++++++
 5 files changed, 151 insertions(+)