<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>199031</bug_id>
          
          <creation_ts>2007-11-13 11:52 0000</creation_ts>
          <short_desc>net-proxy/privoxy - privoxy init script needs start-stop-daemon create pidfile</short_desc>
          <delta_ts>2007-11-14 08:59:37 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>konsti@ludenkalle.de</reporter>
          <assigned_to>net-proxy@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>konsti@ludenkalle.de</who>
            <bug_when>2007-11-13 11:52:02 0000</bug_when>
            <thetext>I have two privoxys running, one vanilla and one cloned with all -tor appended to config file name, log dir name and pidfile name. Therefore I need to move the &quot;--&quot; in the init.d script to let start-stop-daemon create the pidfile. Otherwise the second privoxy instance claims to be already running.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>konsti@ludenkalle.de</who>
            <bug_when>2007-11-13 11:52:44 0000</bug_when>
            <thetext>copy &amp; paste works not for an attachment, inline version:

--- privoxy.orig        2007-11-13 12:48:48.000000000 +0100
+++ privoxy     2007-11-13 07:14:03.000000000 +0100
@@ -9,8 +9,8 @@

 start() {
        ebegin &quot;Starting privoxy&quot;
-       start-stop-daemon --start --quiet --exec /usr/sbin/privoxy -- \
-               --pidfile /var/run/privoxy.pid \
+       start-stop-daemon --start --quiet --exec /usr/sbin/privoxy \
+               --pidfile /var/run/privoxy.pid -- \
                --user privoxy.privoxy  /etc/privoxy/config 2&gt;/dev/null
        eend $?
 }
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mrness@gentoo.org</who>
            <bug_when>2007-11-14 05:22:40 0000</bug_when>
            <thetext>I&apos;ve modified the init script. Now the configuration file (as well as the pidfile) is selected based on the service name. You could duplicate your configuration like this:
 ln -s privoxy /etc/init.d/privoxy-tor
 cp -ar /etc/privoxy /etc/privoxy-tor

Since I expect to be used by a very small minority of users, I didn&apos;t bumped the version, therefore you will have to re-emerge privoxy.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>konsti@ludenkalle.de</who>
            <bug_when>2007-11-14 08:59:37 0000</bug_when>
            <thetext>Yeah cool, this works fine and it feels like a much more clean solution!
Not increasing the version is okay since not much people used such a config, they would have complained otherwise. I am investigating techniques to anonymize and crypt as much as possible here now, since in Germany freedom and democracy has been abandoned on last Friday. May be more people show up with such crazy configs in future...</thetext>
          </long_desc>
      
    </bug>

</bugzilla>