MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: MiniVend configuration dumper



On 10 Aug, Stefan Hornburg wrote:
> ******    message to minivend-users from Stefan Hornburg <racke@linuxia.de>     ******
> hans-joachim.leidinger@home.gelsen-net.de writes:
>> > Copy it your MiniVend bin-directory and dump your catalog configurations
>> > with MINIVEND_ROOT/bin/configdump CATALOG. I hope you find it useful.
>> > Bye
>> >         Racke
>> Hello Racke,
>> i have try to use your script and i get this message:
>>  server:/home/mvend[mvend]# bin/configdump bol
>> Can't find executable ('/usr/lib/sendmail') for the SendMailProgram directive
>> In line 0 of the configuration file 'minivend.cfg':
>> server:/home/mvend[mvend]# 
> 
> Apply this patch:
> diff -u -r1.1 configdump
> --- configdump  1999/08/09 19:32:21     1.1
> +++ configdump  1999/08/10 21:01:51
> @@ -35,6 +35,10 @@
>  # dummy function used by Config.pm
>  sub debug { return undef }
> +# some systems have no compatibility link /usr/lib/sendmail
> +if (-x '/usr/sbin/sendmail') {
> +    $Global::SendMailLocation = '/usr/sbin/sendmail';
> +}
>  $Global::ConfigFile = 'minivend.cfg';
> 
> Anyway, this smells like a design flaw. Even a configuration
> directive "SendMailProgram" in minivend.cfg will not help.
> I think, MVEND_ROOT/bin/dump is vulnerable to this too.
> 

Hi Racke,

it works fine! Thank you a lot!

Joachim

-- 
Hans-Joachim Leidinger      hans-joachim.leidinger@home.gelsen-net.de



Search for: Match: Format: Sort by: