Package: anon-proxy
Version: 00.05.38+20081230-2
Followup-For: Bug #640599
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

In Ubuntu, the attached patch will be applied to achieve the following:

  * debian/postinst: Don't pass --no-create-home to adduser, because
    we attempt to chown a home directory in the next command, which
    will fail if it's missing. (Closes: #640599)


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric-proposed'), (500, 'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-12-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u anon-proxy-00.05.38+20081230/debian/postinst anon-proxy-00.05.38+20081230/debian/postinst
--- anon-proxy-00.05.38+20081230/debian/postinst
+++ anon-proxy-00.05.38+20081230/debian/postinst
@@ -40,7 +40,7 @@
     db_stop
 
     if ! getent passwd anon-proxy > /dev/null; then
-      adduser --quiet --system --no-create-home \
+      adduser --quiet --system \
         --home /var/run/anon-proxy anon-proxy || true
       chown anon-proxy:root /var/run/anon-proxy
     fi

Reply via email to