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

Bug#768643: unblock: scanlogd/2.2.5-3.2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package scanlogd

This NMU was just uploaded to DELAYED/10, it is not yet in sid.

This is the second (and last) package in jessie shipping a directory in
/var/run. Stop doing this. #689903
Also fix a lintian error and use /var/lib/scanlogd as the home directory
of the scanlogd user instead of /home/scanlogd. This does *not* get
created anyway.

unblock scanlogd/2.2.5-3.2

Andreas
diff -u scanlogd-2.2.5/debian/changelog scanlogd-2.2.5/debian/changelog
--- scanlogd-2.2.5/debian/changelog
+++ scanlogd-2.2.5/debian/changelog
@@ -1,3 +1,13 @@
+scanlogd (2.2.5-3.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix handling of /var/run/scanlogd, thanks to Thomas Goirand.
+    (Closes: #689903)
+  * Use /var/lib/scanlogd instead of /home/scanlogd as the non-existing home
+    directory for the scanlogd user, thanks to lintian.
+
+ -- Andreas Beckmann <anbe@debian.org>  Sat, 08 Nov 2014 23:25:20 +0100
+
 scanlogd (2.2.5-3.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u scanlogd-2.2.5/debian/postrm scanlogd-2.2.5/debian/postrm
--- scanlogd-2.2.5/debian/postrm
+++ scanlogd-2.2.5/debian/postrm
@@ -4,6 +4,7 @@
 if [ "$1" = "purge" ] ; then
 	update-rc.d scanlogd remove >/dev/null
 	userdel scanlogd || true
+	rm -rf /var/run/scanlogd
 fi
 
 #DEBHELPER#
diff -u scanlogd-2.2.5/debian/dirs scanlogd-2.2.5/debian/dirs
--- scanlogd-2.2.5/debian/dirs
+++ scanlogd-2.2.5/debian/dirs
@@ -2 +1,0 @@
-var/run/scanlogd
\ No newline at end of file
diff -u scanlogd-2.2.5/debian/postinst scanlogd-2.2.5/debian/postinst
--- scanlogd-2.2.5/debian/postinst
+++ scanlogd-2.2.5/debian/postinst
@@ -9,7 +9,7 @@
 fi
 
 # scanlogd needs a user
-adduser --system --no-create-home --quiet scanlogd || true
+adduser --system --home /var/lib/scanlogd --no-create-home --quiet scanlogd || true
 
 if which invoke-rc.d >/dev/null 2>&1; then
     invoke-rc.d scanlogd start

Reply to: