Your message dated Thu, 04 Apr 2013 20:48:46 +0000
with message-id <[email protected]>
and subject line Bug#689900: fixed in mpd 0.17.3-1
has caused the Debian Bug report #689900,
regarding Ships a folder in /var/run or /var/lock (Policy Manual section 9.3.2)
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 [email protected]
immediately.)


-- 
689900: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689900
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mpd
Version: 0.16.7-2
Severity: serious
Tags: patch

Dear Maintainer,

Andreas Beckmann <[email protected]> reported in -devel that your package
(as well as 27 others) ships a folder either in /var/run or /var/lock. This
is forbidden by policy.

Lintian detects the problem and warns as follow:

/var/run may be a temporary filesystem, so any directories or files needed
/there must be created dynamically at boot time.

Refer to Debian Policy Manual section 9.3.2 (Writing the scripts) for
details.

Severity: serious, Certainty: possible
Check: files, Type: binary, udeb

which is why I am reporting this bug with severity serious (and there fore,
release critical).

Please fix your package. I have attached what I believe is a good fix the
problem, however, I haven't tried it, and I haven't tested if something more
for creating the necessary folder at runtime should be added. Please make
sure to test before applying the patch blindly.

Cheers,

Thomas Goirand (zigo)
diff -u mpd-0.16.7/debian/changelog mpd-0.16.7/debian/changelog
--- mpd-0.16.7/debian/changelog
+++ mpd-0.16.7/debian/changelog
@@ -1,3 +1,10 @@
+mpd (0.16.7-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fixes /var/run/mpd life cycle (Closes: #XXXXXX).
+
+ -- Thomas Goirand <[email protected]>  Sat, 06 Oct 2012 22:22:03 +0800
+
 mpd (0.16.7-2) unstable; urgency=low
 
   * [06f520f] Enable lame mp3 encoder (Closes: #559933)
diff -u mpd-0.16.7/debian/mpd.postrm mpd-0.16.7/debian/mpd.postrm
--- mpd-0.16.7/debian/mpd.postrm
+++ mpd-0.16.7/debian/mpd.postrm
@@ -13,7 +13,7 @@
 
         deluser --quiet --system mpd > /dev/null || true
 
-	rm -rf /var/log/mpd /var/run/mpd/pid /var/lib/mpd/state \
+	rm -rf /var/log/mpd /var/run/mpd /var/lib/mpd/state \
             /var/lib/mpd/tag_cache > /dev/null 2>&1
 fi
 
diff -u mpd-0.16.7/debian/mpd.postinst mpd-0.16.7/debian/mpd.postinst
--- mpd-0.16.7/debian/mpd.postinst
+++ mpd-0.16.7/debian/mpd.postinst
@@ -19,7 +19,7 @@
 }
 
 do_mpd_perms () {
-    for i in /var/log/mpd /var/lib/mpd /var/lib/mpd/playlists /var/run/mpd; do
+    for i in /var/log/mpd /var/lib/mpd /var/lib/mpd/playlists; do
         if ! dpkg-statoverride --list --quiet "$i" >/dev/null; then
             dpkg-statoverride --force --quiet --update \
                 --add mpd audio 0755 "$i"
diff -u mpd-0.16.7/debian/mpd.dirs mpd-0.16.7/debian/mpd.dirs
--- mpd-0.16.7/debian/mpd.dirs
+++ mpd-0.16.7/debian/mpd.dirs
@@ -8 +7,0 @@
-var/run/mpd

--- End Message ---
--- Begin Message ---
Source: mpd
Source-Version: 0.17.3-1

We believe that the bug you reported is fixed in the latest version of
mpd, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Florian Schlichting <[email protected]> (supplier of updated mpd 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 [email protected])


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

Format: 1.8
Date: Thu, 04 Apr 2013 21:22:44 +0200
Source: mpd
Binary: mpd mpd-dbg
Architecture: source amd64
Version: 0.17.3-1
Distribution: unstable
Urgency: low
Maintainer: mpd maintainers <[email protected]>
Changed-By: Florian Schlichting <[email protected]>
Description: 
 mpd        - Music Player Daemon
 mpd-dbg    - Music Player Daemon debugging symbols
Closes: 545559 551875 627184 662088 664204 681774 689900 694377 694497
Changes: 
 mpd (0.17.3-1) unstable; urgency=low
 .
   [ Florian Schlichting ]
   * Imported Upstream version 0.17.3 (closes: #694377).
   * debian/mpd.init.d:
       + remove start-create-db option from Usage string (closes: #662088,
         LP: #902485)
       + allow stopping mpd even when START_MPD=false (closes: #545559)
       + don't check for and create $PIDDIR twice
   * Don't tell mpd to look for non-existant /etc/mpd/mpd.conf instead of plain
     /etc/mpd.conf (closes: #681774).
   * Move pidfile from legacy /var/run/mpd to /run/mpd and drop lintian
     override (closes: #689900).
   * Have systemd create /run/mpd as well (thanks intrigeri; closes: #694497).
   * Disable systemd support on non-linux architectures.
   * Update provided mpd.conf from doc/mpdconf.example, adding
     httpd.bind_to_address in the process (closes: #664204).
   * Provide a sample mpd.desktop file for user-session autostart
     (closes: #551875).
   * Enable support for libwrap (closes: #627184).
   * Install the upstream changelog in its proper place and skip redundant
     upstream docs. Instead, generate and install user-manual.html.
   * Update README.Debian: no more experimental snapshot builds by Decklin
     Foster.
   * Drop README.source, it talks about cdbs which was abandoned for dh.
   * Fix maintainer-script-without-set-e lintian warning.
   * Add fix-typos-in-manpage.patch.
   * Switch to copyright-format 1.0.
   * Add myself to Uploaders.
 .
   [ Alexander Wirt ]
   * Remove myself from the list of uploaders.
Checksums-Sha1: 
 b3bf65bafc26025c1bcb028e31a40b4b9804e6e2 2689 mpd_0.17.3-1.dsc
 b590948de2367270c0eb5c2677747d3a11bf0bc2 698057 mpd_0.17.3.orig.tar.gz
 a43334f3d1f7c12632ade7b1c5de8eebd362edc2 22080 mpd_0.17.3-1.debian.tar.gz
 a4f0c317ada06b31e3a68df7a53104cd9dd8b402 272358 mpd_0.17.3-1_amd64.deb
 7982b20af518e8d90911d145fa215bd08ec662b3 875476 mpd-dbg_0.17.3-1_amd64.deb
Checksums-Sha256: 
 4afb30efbd31ef760da967eb2dbc979683beece8c91a45f350bae2cc6103ec4c 2689 
mpd_0.17.3-1.dsc
 d57749c9d61c033de875533121907808ce3648b99d4301bffd57c7c31f177bd8 698057 
mpd_0.17.3.orig.tar.gz
 8ea6e2e0036e165988dc8fee2d42a5750b76349c635b5b2772a79eb69201e4f6 22080 
mpd_0.17.3-1.debian.tar.gz
 046890fa008b1353cbc9b26bb5b6677ca84dfd3ed307c895aad5496e10957814 272358 
mpd_0.17.3-1_amd64.deb
 413ff5982d69648ee3b400a77cfe0f48f670e64b1e807317e36c04b57e7d3056 875476 
mpd-dbg_0.17.3-1_amd64.deb
Files: 
 980c5595eed0e8b81f6c016c134869ac 2689 sound optional mpd_0.17.3-1.dsc
 71f12725a2a2d0048d3fb29dda643891 698057 sound optional mpd_0.17.3.orig.tar.gz
 3b3586248515fc1112abbecc9eed80ca 22080 sound optional 
mpd_0.17.3-1.debian.tar.gz
 e9090779dd04d24ab105ba4c58bb3a00 272358 sound optional mpd_0.17.3-1_amd64.deb
 567ec81b3cf8a35a6dcfcc70a1dfd2b9 875476 debug extra mpd-dbg_0.17.3-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJRXdr9AAoJEBKXO25y3Ae1pcEP/itrnUYEgeFUC54uJzzPRGrR
FUMaAIz250PPkwqE2c+MsGqTkbyOwmuLfDYztyvvpaYDTFniJjrxmPyzY979XbHx
FhZJH3Om25eqyhXjaWmaYG1yoRu2Poel3rNOn+lCVvYgsRMIRUBoNMbJf+fkl7d3
T2yumLSfr8WPHIfYgeEmQLSOR/4/m+r4qmCdJQ6Kx/va/kk4u2W/oCB3Ep7tUUgv
6oE2Ez0Rq7ojP6kI9cMWMmiw1FSq/hqxsRsSgniYUfB45AZ3+qjjr5eJX/z6Dpf0
V3PyuFfFhd0ESwIHiAE3tb5DiEOgggbHSQmi31I/HqJcZgRVw7+F7MyR5ktfbw1Q
rrzZutIwVIrkJMw+FRHnuNsxsBKJ7XMtwYRdu36UU3tWkn6AQtcK7JGr0kfrU/HV
E9oA0pJvY3XTjtaSh2VbPshIygPyL3jk+3uJnEznhubmWFtLDNXTwH0xRdKXwUTX
aCa2CUKNlk6Hs/DeXwSF87mSqKT6dqomirmpMjCN3yMD7aFtRyslJuevFcAO9JlY
3zwLNhW91Wmygn/1FO0TnzdhgCLpEHYsojfZZiTs4peuVfFFOS2jvLGd3BaCyOD3
KH0Flxa3g4bamnKnNo1JbanQySYMSYadMC9RfXBEqIqrjh+7eoUXOA1a2nQjYhVk
181t+jw80qgBqw/Q7lqr
=ptSF
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to