I suppose a fix could be:

--- ffproxy~  2011-11-13 14:04:44.000000000 +0000
+++ /etc/init.d/ffproxy 2012-01-12 13:58:45.679406982 +0000
@@ -60,12 +60,10 @@
 fi

 update_chroot() {
-    if [ ! -d "$FFPROXY_CHROOT" ]; then
-        mkdir -p "$FFPROXY_CHROOT"
-    fi
+    mkdir -p "$FFPROXY_CHROOT"
     for f in /etc/localtime /etc/hosts /etc/resolv.conf /etc/nsswitch.conf \
-            $(find "$FFPROXY_CONFDIR" -type f -printf '%p ') \
-            $(echo /lib/*/libns*so* /lib/*/libresolv*so*) ; do
+            $(find "$FFPROXY_CONFDIR" -type f) \
+            /lib/*/libns*so* /lib/*/libresolv*so* ; do
         d=$(dirname "$f")
         if [ ! -d "$FFPROXY_CHROOT/$d" ]; then
             mkdir -p "$FFPROXY_CHROOT/$d"
@@ -75,9 +73,6 @@
         fi
         cp "$f" "$FFPROXY_CHROOT/$f"
     done
-    if [ -n "$FFPROXY_USER" -a -n "$FFPROXY_GROUP" ]; then
-        chown -R $FFPROXY_USER:$FFPROXY_GROUP $FFPROXY_CHROOT/*
-    fi
 }

 delete_chroot() {


-- 
Stephane



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to