Your message dated Tue, 30 Oct 2012 15:17:29 +0000
with message-id <e1ttdzj-0004rb...@franck.debian.org>
and subject line Bug#689886: fixed in dancer-ircd 1.0.36-8.1
has caused the Debian Bug report #689886,
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 ow...@bugs.debian.org
immediately.)
--
689886: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689886
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dancer-ircd
Version: 1.0.36-8
Severity: serious
Tags: patch
Dear Maintainer,
Andreas Beckmann <deb...@abeckmann.de> 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 dancer-ircd-1.0.36/debian/init.d dancer-ircd-1.0.36/debian/init.d
--- dancer-ircd-1.0.36/debian/init.d
+++ dancer-ircd-1.0.36/debian/init.d
@@ -16,11 +16,19 @@
DAEMON=/usr/sbin/dancer-ircd
NAME=dancer-ircd
DESC=dancer-ircd
+RUNDIR=/var/run/dancer-ircd
test -f $DAEMON || exit 0
set -e
+if [ ! -d ${RUNDIR} ] ; then
+ mkdir -p ${RUNDIR} || true
+ if [ -d ${RUNDIR} ] ; then
+ chown dancer:dancer ${RUNDIR}
+ fi
+fi
+
case "$1" in
start)
echo -n "Starting $DESC: "
diff -u dancer-ircd-1.0.36/debian/dancer-ircd.dirs dancer-ircd-1.0.36/debian/dancer-ircd.dirs
--- dancer-ircd-1.0.36/debian/dancer-ircd.dirs
+++ dancer-ircd-1.0.36/debian/dancer-ircd.dirs
@@ -7 +6,0 @@
-var/run/dancer-ircd
diff -u dancer-ircd-1.0.36/debian/dancer-ircd.postinst dancer-ircd-1.0.36/debian/dancer-ircd.postinst
--- dancer-ircd-1.0.36/debian/dancer-ircd.postinst
+++ dancer-ircd-1.0.36/debian/dancer-ircd.postinst
@@ -21,7 +21,6 @@
# limitation. Someday it will be fixed
chown $USER:$USER /var/log/dancer-ircd
- chown $USER:$USER /var/run/dancer-ircd
chown $USER:$USER /var/lib/dancer-ircd
chown $USER:$USER /var/lib/dancer-ircd/dline.conf
chown $USER:$USER /var/lib/dancer-ircd/kline.conf
diff -u dancer-ircd-1.0.36/debian/changelog dancer-ircd-1.0.36/debian/changelog
--- dancer-ircd-1.0.36/debian/changelog
+++ dancer-ircd-1.0.36/debian/changelog
@@ -1,3 +1,10 @@
+dancer-ircd (1.0.36-8.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fixes handling of /var/run/dancer-ircd life cycle (Closes: #XXXXXX).
+
+ -- Thomas Goirand <z...@debian.org> Sun, 07 Oct 2012 10:42:26 +0000
+
dancer-ircd (1.0.36-8) unstable; urgency=medium
* Bump Standards-Version to 3.7.3.
--- End Message ---
--- Begin Message ---
Source: dancer-ircd
Source-Version: 1.0.36-8.1
We believe that the bug you reported is fixed in the latest version of
dancer-ircd, 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 689...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Preud'homme <robo...@debian.org> (supplier of updated dancer-ircd
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...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 30 Oct 2012 15:12:29 +0100
Source: dancer-ircd
Binary: dancer-ircd dancer-ircd-doc
Architecture: source all amd64
Version: 1.0.36-8.1
Distribution: unstable
Urgency: low
Maintainer: Aurélien GÉRÔME <a...@roxor.cx>
Changed-By: Thomas Preud'homme <robo...@debian.org>
Description:
dancer-ircd - an IRC server designed for centrally maintained network
dancer-ircd-doc - Dancer documentation
Closes: 689886
Changes:
dancer-ircd (1.0.36-8.1) unstable; urgency=low
.
* Non-maintainer upload.
* Create /var/run/dancer-ircd at runtime (Closes: #689886, thanks to Thomas
Goirand).
Checksums-Sha1:
e407406b0b933a110c367f5a9ba14ab85c1fd6db 1879 dancer-ircd_1.0.36-8.1.dsc
eaccc6e0d1b06023b7132e5d81e8eb46aa6dd10e 36328 dancer-ircd_1.0.36-8.1.diff.gz
4af182adb7cf5acbe37cd30b2ef4e0e5a9c50820 310050
dancer-ircd-doc_1.0.36-8.1_all.deb
e9eeccc31875ec372816f6f4f25f993e4f3c97ac 204272
dancer-ircd_1.0.36-8.1_amd64.deb
Checksums-Sha256:
d60076c3f76336933ef12951a1f47754b58c91a630108881831a0265760671d0 1879
dancer-ircd_1.0.36-8.1.dsc
7aa1375c324d077432e2797f77273b8f201805305a7ca99cff533de05c1ad7d8 36328
dancer-ircd_1.0.36-8.1.diff.gz
a0bddd44f168d79835f8ae22be4e29773858dbebde5c44ed7c57a5956f420d2b 310050
dancer-ircd-doc_1.0.36-8.1_all.deb
fbad1f43203d7143ebca81558804db5f355e3628d21aaaad112f43217019416a 204272
dancer-ircd_1.0.36-8.1_amd64.deb
Files:
fc2f83a97ece66f7731faf00dc9efbd5 1879 net extra dancer-ircd_1.0.36-8.1.dsc
52ac3e603be992aedd407e994c958d14 36328 net extra dancer-ircd_1.0.36-8.1.diff.gz
6d02da41402b0e09eec93b82ae5788ea 310050 doc extra
dancer-ircd-doc_1.0.36-8.1_all.deb
e66a29d8f4a2ee063647fc68ab0ac470 204272 net extra
dancer-ircd_1.0.36-8.1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBAgAGBQJQj+qZAAoJENADhS+9UlKeSpkP/2ekWbBrtpML+Fqtu37qMx3H
lB519cXfL+vyZuCJl+XHRIEmCOsGrerhPytbg2oqEd76sOG/Azwd12O5NEBA9+na
MeFebtzmFM1BzroB4xlDd7uz8GAFhpgpQI8dFrOK3ybXDvEOeM/dCVdUKxrvoA0C
AwMgeHjX8KaTmrq+oGAP8tLH4hvBSyux3Tmjr/M4vgpXGqO63/aof87W0l5x9kkK
UU53ypH8Y/zAGtHyU8q0m8RXprScYe98n842EMQw/gqNYVL9r7inxs/MBo5aCcGt
xEPi2CM/vVoe+EiDj/mXz6LAEXGh9prVlrh6io0pddvqZXK1hyDC+m83b+aLG3M+
0kogwukOEVV9Y+O7NptBjS2Q4lSx1YClh0Yc3Ez6dSIFZoKPc0OtameKxFpoe4Nw
6I1hIrNUgS0rxUmhQOO67B6fBF+FqYBaGomoWFSnZ/wGW/qw4FaTa1Z/qH5KUBoO
DFREulUbeeb/qlugQARealdBkrFXzOWm+AcNcefV3iPrRhwguQq3kAOfuJcuPW2i
XHhlEcG6c+Oo+LW27MjqnnuHNmG7GITt3sl+Jfc5H90R+s4+WTLf/ub9d7L0/St0
43E6aUGmTXH29TkJRsfUrzSvj9ARhD1E/0FvHNUAAaI1muG+pxCFkr+LljzIFCpT
1/yZqk1lphg47w0KUe1m
=5S0b
-----END PGP SIGNATURE-----
--- End Message ---