LuKreme wrote:
> On 18-Nov-2009, at 01:18, LuKreme wrote:
>> /usr/local/etc/rc.d/denyhosts: WARNING: $command_interpreter 
>> /usr/local/bin/python != /usr/local/bin/python2.5
> 
> 
> Oh, and I did double check the diff on the two files, and diff says they are 
> identical (well, diff says nothing, same thing)
> 
>  $ diff /usr/local/bin/python /usr/local/bin/python2.5
>  $
> 

I'm guessing that you're running on FreeBSD and installed from ports or 
package (as is recommended on FreeBSD).

The warning is harmless, as you already noted, and only says that the 
command_interpreter variable (="/usr/local/bin/python") specified in the 
/usr/local/etc/rc.d/denyhosts startup script does not correspond to the 
first line of /usr/local/bin/denyhosts.py which probably reads 
#!/usr/local/bin/python2.5 in your case.

Indeed the python and python2.5 binaries are exactly the same. The 
FreeBSD ports collection allows for multiple python versions installed 
simultaneously and the newest (or latest, not sure...) version installed 
is copied to python.

If you want the warning to go away, you would have to ensure that both 
lines are exactly the same, so you would either have to put 
#!/usr/local/bin/python in denyhosts.py or /usr/local/bin/python2.5 in 
the startup script. (But this will give you a warning whenever you 
decide to deinstall or upgrade the port because the file is altered!)

Notice that both the startup script and the first line of denyhost.py 
are specific for FreeBSD, and installed/patched by the port/package. If 
you want to have this fixed, best way is to contact the MAINTAINER 
listed in the port Makefile:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/denyhosts/Makefile?rev=1.12;content-type=text%2Fplain
 


Personally, I simply ignore this warning.

Regards,
Karel.



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to