Since it's an RC bug untouched by the maintainer for over a month, I'm 
uplading an NMU to delay 2.  Please let me know of you want it delayed 
further.  NMU diff attached.
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,11 @@
+scanlogd (2.2.5-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Set adduser in postinst not to create /home/scanlogd and remove it if it
+    exists. Ssolves unowned files left on system after purge (Closes: #668722)
+
+ -- Scott Kitterman <sc...@kitterman.com>  Thu, 05 Jul 2012 23:54:56 -0400
+
 scanlogd (2.2.5-3) unstable; urgency=low
 
   * fix init.d script when /var/run is a tmpfs
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
@@ -1,8 +1,15 @@
 #!/bin/sh
 
 update-rc.d scanlogd defaults >/dev/null
+
+if [ -d /home/scanlogd ] ; then # Clean up after #668722
+        rmdir /home/scanlogd # If for some reason the directory isn't empty
+                             # then the directory shouldn't be unconditionally
+                             # removed
+fi
+
 # scanlogd needs a user
-adduser --system scanlogd || true
+adduser --system --no-create-home --quiet scanlogd || true
 
 if which invoke-rc.d >/dev/null 2>&1; then
     invoke-rc.d scanlogd start

Attachment: signature.asc
Description: This is a digitally signed message part.



Reply via email to