[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#691871: marked as done (unblock: dancer-ircd/1.0.36-8.1)



Your message dated Tue, 30 Oct 2012 19:36:44 +0000
with message-id <1351625804.16094.13.camel@jacala.jungle.funky-badger.org>
and subject line Re: Bug#691871: unblock: dancer-ircd/1.0.36-8.1
has caused the Debian Bug report #691871,
regarding unblock: dancer-ircd/1.0.36-8.1
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 owner@bugs.debian.org
immediately.)


-- 
691871: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691871
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package dancer-ircd

The upload in unstable fix the bug #689886 by creating
/var/run/dancer-ircd at runtime instead of shipping the folder in the
package. Debdiff attached

unblock dancer-ircd/1.0.36-8.1

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
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,31 +16,38 @@
 DAEMON=/usr/sbin/dancer-ircd
 NAME=dancer-ircd
 DESC=dancer-ircd
+USER=dancer
+RUNDIR=/var/run/dancer-ircd
 
 test -f $DAEMON || exit 0
 
 set -e
 
+if [ ! -d ${RUNDIR} ] ; then
+	mkdir -m 0755 ${RUNDIR}
+	chown ${USER}:${USER} ${RUNDIR}
+fi
+
 case "$1" in
   start)
 	echo -n "Starting $DESC: "
-	start-stop-daemon --start --quiet --chuid dancer \
-		--pidfile /var/run/dancer-ircd/$NAME.pid \
+	start-stop-daemon --start --quiet --chuid ${USER} \
+		--pidfile ${RUNDIR}/$NAME.pid \
 		--exec $DAEMON -- -d /
 	echo "$NAME."
 	;;
   stop)
 	echo -n "Stopping $DESC: "
 	start-stop-daemon --stop --quiet --oknodo \
-		--pidfile /var/run/dancer-ircd/$NAME.pid \
+		--pidfile ${RUNDIR}/$NAME.pid \
 		--exec $DAEMON
-	rm -f /var/run/dancer-ircd/$NAME.pid
+	rm -f ${RUNDIR}/$NAME.pid
 	echo "$NAME."
 	;;
   reload|force-reload)
 	echo "Reloading $DESC configuration files."
 	start-stop-daemon --stop --quiet --signal 1 --oknodo \
-		--pidfile /var/run/dancer-ircd/$NAME.pid \
+		--pidfile ${RUNDIR}/$NAME.pid \
 		--exec $DAEMON
   ;;
   restart)
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,11 @@
+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).
+
+ -- Thomas Preud'homme <robotux@debian.org>  Tue, 30 Oct 2012 15:12:29 +0100
+
 dancer-ircd (1.0.36-8) unstable; urgency=medium
 
   * Bump Standards-Version to 3.7.3.

--- End Message ---
--- Begin Message ---
On Tue, 2012-10-30 at 16:03 +0100, Thomas Preud'homme wrote:
> Please unblock package dancer-ircd
> 
> The upload in unstable fix the bug #689886 by creating
> /var/run/dancer-ircd at runtime instead of shipping the folder in the
> package. Debdiff attached

Unblocked; thanks.

Regards,

Adam

--- End Message ---

Reply to: