Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2009 15:58:38 GMT
From:      Gavin Chappell <gavinchappell303@hotmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/132607: command_interpreter warnings in /var/log/messages
Message-ID:  <200903131558.n2DFwc9s052049@www.freebsd.org>
Resent-Message-ID: <200903131600.n2DG0AAa015288@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         132607
>Category:       ports
>Synopsis:       command_interpreter warnings in /var/log/messages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 13 16:00:10 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Gavin Chappell
>Release:        7.1-RELEASE-p3
>Organization:
>Environment:
FreeBSD mpc 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #1: Tue Mar 10 10:55:31 GMT 2009     root@mpc:/usr/obj/usr/src/sys/7.1-RELEASE_MPC  i386
>Description:
After installing denyhosts via "portmaster security/denyhosts" and configuring it, I sudo-started it and got the following warning:

Mar 13 15:30:36 xxx xxx: /usr/local/etc/rc.d/denyhosts: WARNING: $command_interpreter /usr/local/bin/python != /usr/local/bin/python2.5

Denyhosts still runs and works OK, but it could clog up logfiles especially if you don't run denyhosts in daemon mode (this would mean one error printed for every invocation)


>How-To-Repeat:
Install denyhosts via portmaster
Start it
>Fix:
/usr/local/bin/python and /usr/local/bin/python2.5 are copies of the same file (MD5 verified), so to fix this I've changed the /usr/local/etc/rc.d/denyhosts init script to:

command_interpreter="/usr/local/bin/python2.5"

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903131558.n2DFwc9s052049>