Bug#890501: [pkg-go] Bug#890501: prometheus startup fails due to racey PID file implementation in prometheus

2018-04-07 Thread Martín Ferrari
fixed 890501 2.2.0+ds-1
thanks

Due to some mistake in my workflow, a couple of changelog entries went
missing in 2.2.0+ds-1, and so this bug was never closed. I added the
entries retrospectively, and closing manually the bug now..

-- 
Martín Ferrari (Tincho)



Bug#890501: [pkg-go] Bug#890501: prometheus startup fails due to racey PID file implementation in prometheus

2018-02-15 Thread Martín Ferrari
Hi Tim,

On 15/02/18 12:09, Tim Small wrote:

> Due to https://github.com/prometheus/prometheus/issues/2689 Prometheus
> may fail to start (most commonly after a reboot), since the lock file
> checking implementation it uses is naive (just "is there a pid running
> with the same pid number that I wrote to the pid file").
> 
> The recommended (by upstream) workaround is to disable the lock file
> checking by using the --storage.tsdb.no-lockfile commandline argument
> when starting prometheus from the systemd unit file etc.

Thanks for your bug report. I had no idea there was now a tsdb lockfile,
and I agree that it makes sense to disable it, since we have that
functionality implemented in the init/service files.


-- 
Martín Ferrari (Tincho)



Bug#890501: prometheus startup fails due to racey PID file implementation in prometheus

2018-02-15 Thread Tim Small
Package: prometheus
Version: 2.1.0+ds-1+b1
Severity: important
Tags: upstream


Due to https://github.com/prometheus/prometheus/issues/2689 Prometheus
may fail to start (most commonly after a reboot), since the lock file
checking implementation it uses is naive (just "is there a pid running
with the same pid number that I wrote to the pid file").

The recommended (by upstream) workaround is to disable the lock file
checking by using the --storage.tsdb.no-lockfile commandline argument
when starting prometheus from the systemd unit file etc.