[rancid] Two suggestions about rancid-3.3.0

heasley heas at shrubbery.net
Mon Feb 15 17:21:00 UTC 2016


Tue, Feb 09, 2016 at 07:30:16PM +0900, Tetsuo Handa:
> Hello.
> 
> I just looked at rancid-3.3.0.tar.gz and noticed two bugs.
> 
> Bug1: . is not removed from PATH in the following four files.
> 
>   /usr/local/rancid-3.3/etc/lg.conf
>   $ENV{PATH}="/usr/local/rancid-3.3/bin:/usr/bin:/usr/sbin:/bin:.:/usr/local/bin:/usr/bin";
> 
>   /usr/local/rancid-3.3/etc/rancid.conf
>   PATH=/usr/local/rancid-3.3/bin:/usr/bin:/usr/sbin:/bin:.:/usr/local/bin:/usr/bin; export PATH
> 
>   /usr/local/rancid-3.3/share/rancid/lg.conf.sample
>   $ENV{PATH}="/usr/local/rancid-3.3/bin:/usr/bin:/usr/sbin:/bin:.:/usr/local/bin:/usr/bin";
> 
>   /usr/local/rancid-3.3/share/rancid/rancid.conf.sample
>   PATH=/usr/local/rancid-3.3/bin:/usr/bin:/usr/sbin:/bin:.:/usr/local/bin:/usr/bin; export PATH

It properly filters the path for me.  Please send the config.log to me.

> Bug2: @PACKAGE@ and @VERSION@ are not replaced in the following three files.
> 
>   /usr/local/rancid-3.3/bin/clogin
>   send_user "@PACKAGE@ @VERSION@\n"
> 
>   /usr/local/rancid-3.3/bin/jlogin
>   send_user "@PACKAGE@ @VERSION@\n"
> 
>   /usr/local/rancid-3.3/bin/mtlogin
>   send_user "@PACKAGE@ @VERSION@\n"

yes, I have a bug there.  Another user supplied a fix and I'll drop 3.4 in
a bit to address this.


More information about the Rancid-discuss mailing list