Your message dated Wed, 07 Nov 2012 20:51:07 +0000
with message-id <e1twcaz-0006qw...@franck.debian.org>
and subject line Bug#689893: fixed in ircd-ircu 2.10.12.10.dfsg1-1.1
has caused the Debian Bug report #689893,
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.)
--
689893: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689893
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ircd-ircu
Version: 2.10.12.10.dfsg1-1
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 ircd-ircu-2.10.12.10.dfsg1/debian/dirs ircd-ircu-2.10.12.10.dfsg1/debian/dirs
--- ircd-ircu-2.10.12.10.dfsg1/debian/dirs
+++ ircd-ircu-2.10.12.10.dfsg1/debian/dirs
@@ -4 +3,0 @@
-var/run/ircd
diff -u ircd-ircu-2.10.12.10.dfsg1/debian/changelog ircd-ircu-2.10.12.10.dfsg1/debian/changelog
--- ircd-ircu-2.10.12.10.dfsg1/debian/changelog
+++ ircd-ircu-2.10.12.10.dfsg1/debian/changelog
@@ -1,3 +1,10 @@
+ircd-ircu (2.10.12.10.dfsg1-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fixes handling of /var/run/ircd life cycle (Closes: #XXXXXX).
+
+ -- Thomas Goirand <z...@debian.org> Sat, 06 Oct 2012 18:21:36 +0800
+
ircd-ircu (2.10.12.10.dfsg1-1) unstable; urgency=low
* The "Omertà" release
diff -u ircd-ircu-2.10.12.10.dfsg1/debian/rules ircd-ircu-2.10.12.10.dfsg1/debian/rules
--- ircd-ircu-2.10.12.10.dfsg1/debian/rules
+++ ircd-ircu-2.10.12.10.dfsg1/debian/rules
@@ -92,7 +92,6 @@
# fix directory permissions for logdir
chown -R irc:irc debian/ircd-ircu/var/log/ircd
- chown -R irc:irc debian/ircd-ircu/var/run/ircd
# move manpage
mv debian/ircd-ircu/usr/share/man/man8/ircd.8 debian/ircd-ircu/usr/share/man/man8/ircd-ircu.8
diff -u ircd-ircu-2.10.12.10.dfsg1/debian/init ircd-ircu-2.10.12.10.dfsg1/debian/init
--- ircd-ircu-2.10.12.10.dfsg1/debian/init
+++ ircd-ircu-2.10.12.10.dfsg1/debian/init
@@ -22,7 +22,15 @@
# where the irc-daemon is
IRCD=/usr/sbin/ircd-ircu
-PIDFILE=/var/run/ircd/ircd.pid
+RUNDIR=/var/run/ircd
+PIDFILE=${RUNDIR}/ircd.pid
+
+if [ ! -d ${RUNDIR} ] ; then
+ mkdir -p ${RUNDIR} || true
+ if [ -d ${RUNDIR} ] ; then
+ chown -R irc:irc ${RUNDIR}
+ fi
+fi
if [ -x "$IRCD" ]; then
case "$1" in
--- End Message ---
--- Begin Message ---
Source: ircd-ircu
Source-Version: 2.10.12.10.dfsg1-1.1
We believe that the bug you reported is fixed in the latest version of
ircd-ircu, 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.
Sébastien Villemot <sebast...@debian.org> (supplier of updated ircd-ircu
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: SHA256
Format: 1.8
Date: Mon, 05 Nov 2012 20:04:25 +0100
Source: ircd-ircu
Binary: ircd-ircu
Architecture: source amd64
Version: 2.10.12.10.dfsg1-1.1
Distribution: unstable
Urgency: low
Maintainer: Martin Loschwitz <madk...@debian.org>
Changed-By: Sébastien Villemot <sebast...@debian.org>
Description:
ircd-ircu - Undernet IRC Server daemon
Closes: 689893
Changes:
ircd-ircu (2.10.12.10.dfsg1-1.1) unstable; urgency=low
.
* Non-maintainer upload.
.
[ Thomas Goirand ]
* Fixes handling of /var/run/ircd life cycle (Closes: #689893, LP: #369115).
Checksums-Sha1:
56d0d710911a2f2fd5ac7bf6bd64bf058783f54b 1766
ircd-ircu_2.10.12.10.dfsg1-1.1.dsc
1e8b93eb613b285bb874def4e2892d97fae1165e 12391
ircd-ircu_2.10.12.10.dfsg1-1.1.diff.gz
57ae17e606856510dfb4225e890340020700afea 667628
ircd-ircu_2.10.12.10.dfsg1-1.1_amd64.deb
Checksums-Sha256:
4e5216d7a1626dc7f1b66d51ad5944733f53e40690436cd6dbc63b6373add58f 1766
ircd-ircu_2.10.12.10.dfsg1-1.1.dsc
71815051b39637e9f8452ea778cf00287b90788c53d2e002a8d1363923653a56 12391
ircd-ircu_2.10.12.10.dfsg1-1.1.diff.gz
5d353933d53685c44bf0753c791c4d34684804aaebee77249bff3a2cc45cd9a1 667628
ircd-ircu_2.10.12.10.dfsg1-1.1_amd64.deb
Files:
2ae4550b8c04edf0f8cbe8654ed400fd 1766 net optional
ircd-ircu_2.10.12.10.dfsg1-1.1.dsc
da541eb2e4464a089f5bdae3dec0433f 12391 net optional
ircd-ircu_2.10.12.10.dfsg1-1.1.diff.gz
087273fa6af0be85ee2289da102c18c0 667628 net optional
ircd-ircu_2.10.12.10.dfsg1-1.1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJQmBXjAAoJECzs6TUOzr5K25gP/jiYMazRS5gGTYVHVDODnbY/
V+828oBG0tln1SAdpI4jVpIQ6EIsTbJWAFrSYcoy6+Yqq/z8WEkvtGUybamwxo1+
5jPLVZfKWeoe3s75z4Q9+m7SEkSywL2HBhasngWfYlX/cz0/YvUiVD5ZjjInpQFr
R8UMdFkU0jF9j77nJIZMVcBrilQ4Th4y0i5dYHUwz9mOorxPH3jB0457Yk1QQo6+
hTUu+gXVcMtJNUUhYHz7tD1rxHnRFcXvPWvBi0rPcwPIwtqsvsQvCXY3J0Pa+BM+
tjTU5jGYJIAykESpr/6o3M33nNScTK1/pOXqWr8qsag7f3PhtPhXSBCgavnH1gcl
CGEHJHFdXFQhQRreTEHmOQ8RVUDvrOWnGC1XUzhvDj1Z1GLgR9lZraohkyAilQYD
vlIv/OT1ZATzbSztJrfb+hgz4CWo1AAk/rnBZ3ujzZL2m4Nj47hFmvM1Zqca7jfM
bRTA8m3Bsydd2JvUVtG6KhIyAxPDq8XCNkFYXjhoU8S0E4MALtHRKkGXs4cyFYTs
0ZIZcyOYkFJhoTLuv8bZtJ7D3+mxnX+zW/zTYDKj/vC9dRYFN3YNB0fh9doGrSth
nzjJ7xpt73qgGvtfLR+lEegWjGH95UPANcexxrcbnbCETqeiwRDjPqjFiHdzF/c+
YXbsPR8RzgFepVREVSBu
=nFuS
-----END PGP SIGNATURE-----
--- End Message ---