Your message dated Wed, 20 Sep 2017 15:54:43 +0000
with message-id <e1duhkl-0001gi...@fasolo.debian.org>
and subject line Bug#849080: fixed in graphite-web 1.0.2+debian-1
has caused the Debian Bug report #849080,
regarding graphite-web: race condition in /usr/bin/graphite-build-search-index
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
849080: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849080
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: graphite-web
Version: 0.9.15+debian-2
Severity: minor
Tags: patch

Dear Jonas,

I had a race condition when search_index is build. In the last to steps of the 
script the temp-file is moved, and afterwards ownership is changed. This 
triggered the race condition, when my Grafana-Server did its minutely alert 
checking. The condition occurred about twice a day. I changed the order of the 
last two commands, which solved the problem for me.


-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (10, 'unstable'), (10, 
'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages graphite-web depends on:
ii  adduser                3.113+nmu3
ii  libjs-prototype        1.7.1-3
ii  libjs-scriptaculous    1.9.0-2
ii  python-cairo           1.8.8-1+b2
ii  python-django          1.7.11-1+deb8u1
ii  python-django-tagging  1:0.4.1-1
ii  python-pyparsing       2.0.3+dfsg1-1
ii  python-simplejson      3.6.5-1
ii  python-tz              2012c+dfsg-0.1
ii  python-whisper         0.9.15-1
pn  python:any             <none>

graphite-web recommends no packages.

Versions of packages graphite-web suggests:
ii  graphite-carbon      0.9.15-1
ii  libapache2-mod-wsgi  4.3.0-1
pn  python-ldap          <none>
pn  python-memcache      <none>
ii  python-mysqldb       1.2.3-2.1

-- Configuration Files:
/etc/graphite/local_settings.py changed [not included]
/etc/logrotate.d/graphite-web changed [not included]

-- no debconf information
#!/bin/sh
# Jonas Genannt <jonas.gena...@capi2name.de>, 2012 for the Debian Project

set -e

INDEX_FILE_TMP=$(mktemp)

INDEX_FILE="/var/lib/graphite/search_index"
WHISPER_DIR="/var/lib/graphite/whisper"


cd ${WHISPER_DIR} && find -L . -name '*.wsp' | sed \
	-e 's@\.wsp$@@' \
	-e 's@^\./@@' \
	-e 's@/@.@g' > ${INDEX_FILE_TMP}

chmod 0640 ${INDEX_FILE_TMP}
chown _graphite:_graphite ${INDEX_FILE_TMP}

mv -f ${INDEX_FILE_TMP} ${INDEX_FILE}

--- End Message ---
--- Begin Message ---
Source: graphite-web
Source-Version: 1.0.2+debian-1

We believe that the bug you reported is fixed in the latest version of
graphite-web, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 849...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Genannt <gena...@debian.org> (supplier of updated graphite-web package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 20 Sep 2017 16:45:11 +0200
Source: graphite-web
Binary: graphite-web
Architecture: source all
Version: 1.0.2+debian-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Graphite Group <pkg-graphite-ma...@lists.alioth.debian.org>
Changed-By: Jonas Genannt <gena...@debian.org>
Description:
 graphite-web - Enterprise Scalable Realtime Graphing
Closes: 840516 849080 860195 862084
Changes:
 graphite-web (1.0.2+debian-1) unstable; urgency=medium
 .
   * Imported Upstream version 1.0.2+debian
     - Closes: #862084, #860195, #840516
   * d/README.source: update information
   * d/bin/graphite-build-search-index
     - fixed race condition [Michael Abmayer] (Closes: #849080)
   * d/p/remove_thirdparty_modules.patch: included by upstream
   * d/p/django19.patch: included by upstream
   * removed remove_internal_logrotate.patch upstream has add the setting
   * updated to new upstream version:
     - local_settings.patch
     - settings_debian.patch
   * d/copyright:
     - removed unused statement (upstream removed files)
     - updated copyright years
   * d/graphite-web.links: removed upstream no longer includes
     prototype and scriptaculous
   * d/graphite.wsgi: use upstream wsgi file (removed Debian version)
   * d/apache2-graphite.conf: changed content to static
   * d/control:
     - bumped depends version of python-whisper to 1.0.2
     - bumped standards version (no change needed)
     - removed libjs-scriptaculous, libjs-prototype from depends
     - added python-urllib3 as depends
     - added python-scandir as depends
   * debian/graphite-web.NEWS: added note about changed webserver configuration
Checksums-Sha1:
 e37923c7693a1eae856f1005835bf0c643417e26 2078 graphite-web_1.0.2+debian-1.dsc
 e9f80dcab951b0710aab7c3c88960a6262e759c6 1131268 
graphite-web_1.0.2+debian.orig.tar.gz
 96bc816d811795f4644251b83564e7cbbcabca5c 225532 
graphite-web_1.0.2+debian-1.debian.tar.xz
 79828aa78d372fa697fe51657e4401e02a2ae4fe 918118 
graphite-web_1.0.2+debian-1_all.deb
 6dc4851c0b87f7c74598d5567c4ab00792592a25 5072 
graphite-web_1.0.2+debian-1_amd64.buildinfo
Checksums-Sha256:
 e382e4e3d94eb92a4ee747a9cc4734a33bd6d3565217919fcc36eb6c869b2251 2078 
graphite-web_1.0.2+debian-1.dsc
 ac5a773bb21e4b200915b5378e94d6a8d06e84d2256af755fd1ecb7224e50b61 1131268 
graphite-web_1.0.2+debian.orig.tar.gz
 aafd610d6ffdce0087b7518b6ea28dd8e0dbf973a1bcdccff10b7c605499ca72 225532 
graphite-web_1.0.2+debian-1.debian.tar.xz
 4b3ee2d91da5520fa0893f0abf212c6810bb0484e97204d271606192faa81dc3 918118 
graphite-web_1.0.2+debian-1_all.deb
 59a4f0aea87fcde729216b7e881c1d944f0b5f1be98849aac055f3f4340d4f36 5072 
graphite-web_1.0.2+debian-1_amd64.buildinfo
Files:
 5088cecbf0b613077ef64f3e811d0a2f 2078 web extra graphite-web_1.0.2+debian-1.dsc
 6e6b5cab1cc17672cdcab2d7410cdc7a 1131268 web extra 
graphite-web_1.0.2+debian.orig.tar.gz
 b1546c37e83f0aadf8760cedb3f19611 225532 web extra 
graphite-web_1.0.2+debian-1.debian.tar.xz
 578cea5c36de9a9f72c3f05e992defa9 918118 web extra 
graphite-web_1.0.2+debian-1_all.deb
 15636e97c544d42efa2aff62c82da44d 5072 web extra 
graphite-web_1.0.2+debian-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJZwoG6AAoJEPBM7/YBbP/QJfcP/2LVtRDv4d9lgoyU/0Zu7iuG
h2Sf5bv+u1ziNY9hcsvi+1VhaFWgwcRlZGqYSORfMyeU9f7UH6JBq3VoETccBE1P
0MOk8I0bB375NzocKkT82z2LYRXPoxEF8ZVDIEcRlkqyr3llnZdArzMmA89Hb8jD
AN6P4/w1ae6O+bK/B7Mzi6wsDNZQw63csLAhYsQEnklS6WdRsN2nIqdgU2F0bpmM
O+L6bkr5JgfoTr2V5Qs+XJsxJUIixvbXVJeb16WXp9O17uGUQEE2yxnjsUCGJnl0
EQf1Brfs9NVjXOdzg1blAreLh9B1yuJgwtI08SgoS0zvat9nyXOSkvThaBxUtKST
HPc6GVw6cb24Je8PAbn1z1uLMM1G2Nk5JZxqQL/dt4rZB7zmOTy8wOy+HkAOLpGG
7LSRFCVaurdH/1Hz03/cUcnmyKmOwDKwckMp7EPNK0oO/OG/LlJUf3zmH/pq/5ru
yoe9CgZUdfFoSd8zSBC0WUDq2+vOa/uAZfdjED6gV/EHJJLVDgo4CIwv7FmU3VI/
1a/BaOW3LSp9b12vo4kj/HMZInIdityP+vgTFd2RPN/mPz+0HBudmcyWGyM848XI
Zw2NVbImpZLXjaw0DrrWXSDPF2BRO+NGveD74eePF5fhm/H+3qSrFvHBfqW+hCyF
H8e6qOR+8uq5sWlL9lOs
=cG8i
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to