Your message dated Mon, 12 Aug 2013 11:17:31 +0000
with message-id <e1v8q7v-0000rw...@franck.debian.org>
and subject line Bug#718783: Removed package(s) from unstable
has caused the Debian Bug report #689881,
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.)
--
689881: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689881
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: bastille
Version: 3.0.9-13
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 bastille-3.0.9/debian/dirs bastille-3.0.9/debian/dirs
--- bastille-3.0.9/debian/dirs
+++ bastille-3.0.9/debian/dirs
@@ -9,7 +9,6 @@
usr/share/Bastille
usr/share/Bastille/OSMap
usr/share/Bastille/Questions
-var/lock/bastille
var/log/Bastille
var/log/Bastille/revert
var/log/Bastille/revert/backup
diff -u bastille-3.0.9/debian/bastille-firewall bastille-3.0.9/debian/bastille-firewall
--- bastille-3.0.9/debian/bastille-firewall
+++ bastille-3.0.9/debian/bastille-firewall
@@ -75,6 +75,7 @@
[ ! -d /var/lock ] && mkdir -m 0755 /var/lock
mkdir -m 0700 /var/lock/bastille-firewall 2>/dev/null
+mkdir -m 0700 /var/lock/bastille
if [ $? -ne 0 ]; then
if [ -n "${BASTILLE_FWALL_QUIET_FAIL}" ]; then exit 0; fi
echo "ERROR: bastille-firewall currently being reset or lock is stuck."
diff -u bastille-3.0.9/debian/changelog bastille-3.0.9/debian/changelog
--- bastille-3.0.9/debian/changelog
+++ bastille-3.0.9/debian/changelog
@@ -1,3 +1,10 @@
+bastille (1:3.0.9-13.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fixes (Closes: #XXXXXX).
+
+ -- Thomas Goirand <z...@debian.org> Sun, 07 Oct 2012 10:18:29 +0000
+
bastille (1:3.0.9-13) unstable; urgency=high
* Bastille/Debian_API.pm: Fix bug in the permissions
diff -u bastille-3.0.9/debian/postrm bastille-3.0.9/debian/postrm
--- bastille-3.0.9/debian/postrm
+++ bastille-3.0.9/debian/postrm
@@ -23,6 +23,7 @@
do
[ -f "$file" ] && rm -f $file
done
+ rm -rf /var/lock/bastille /var/lock/bastille-firewall
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
# Do nothing
--- End Message ---
--- Begin Message ---
Version: 1:3.0.9-13+rm
Dear submitter,
as the package bastille has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see http://bugs.debian.org/718783
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmas...@ftp-master.debian.org.
Debian distribution maintenance software
pp.
Luca Falavigna (the ftpmaster behind the curtain)
--- End Message ---