It's kind of silly that this is marked as a 'wishlist' item when it
prevents anon-proxy starting more than once, upon installation, on
systems with a dynamic /var/run, and when the following three lines in
/etc/init.d/anon-proxy (marked with a '+') fix the problem. I tried
start-stop-daemon -m, which should take care of it but doesn't. An
Ubuntu person pointed this out at the end of August and was apparently
ignored. Makes Debian look sort of bad, really.
anon_start() {
test -x $DAEMON || return 0
log_daemon_msg "Starting anon-proxy mix"
+ DIR=`dirname $PIDFILE`
+ mkdir -p $DIR
+ chown $USER $DIR
start-stop-daemon --start --quiet -c $USER:$GROUP --pidfile $PIDFILE \
--exec $DAEMON -- $OPTIONS > /dev/null 2>&1 || true
log_end_msg 0
}
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org