>>>>> "Paul" == Paul Gear <[EMAIL PROTECTED]> writes:

    Paul> I was able to reproduce this bug on amavisd-new
    Paul> 20030616p10-5.  It occurred when i commented out the name of
    Paul> the pid file in /etc/amavis/amavisd.conf and tried to
    Paul> restart amavisd.  Because /etc/init.d/amavis assumes that
    Paul> the pid file is the same as what is set in
    Paul> /etc/amavis/amavisd.conf by default.  Attached is a
    Paul> suggested patch to /etc/init.d/amavis and an example
    Paul> /etc/default/amavisd.

Why did you comment out / change the default pid file?

    Paul> This is a non-ideal solution in that it requires manual
    Paul> intervention.  I played with a script to automatically parse
    Paul> /etc/amavis/amavisd.conf appropriately, but i couldn't get
    Paul> one working to my satisfaction.  (On that note, if anyone
    Paul> can tell me how to source a perl-syntax config file without
    Paul> running afoul of variable scoping, i'd really like to know!
    Paul> :-)

Changing the configuration file in non-standard ways naturally
requires fixing any breakage that occurs...

The Debian standard PID file is /var/run/amavis/amavisd.pid, I fail to
see why Debian needs to support a different location.

Regardless, there is nothing stopping you have changing the init.d
script, it is a conffile. You can change it just the same as your
proposed /etc/default/amavis file.

If I have missed something, please let me know.
-- 
Brian May <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to