Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2012 14:56:13 GMT
From:      Mizuno@FreeBSD.org, MWE <mwe@ccsf.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/174716: INN's daily script cannot found gawk
Message-ID:  <201212261456.qBQEuDDk073022@red.freebsd.org>
Resent-Message-ID: <201212261500.qBQF005u062635@freefall.freebsd.org>

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

>Number:         174716
>Category:       ports
>Synopsis:       INN's daily script cannot found gawk
>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:   Wed Dec 26 15:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mizuno, MWE
>Release:        9.0-RELEASE
>Organization:
>Environment:
FreeBSD sakura.ccsf.jp 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
% ls /var/db/pkg | grep inn
inn-2.5.2_3

news.daily which is INN's daily maintenance script reports the error everyday as follows:

----
Subject: Cron <news@sakura> /usr/local/news/bin/news.daily expireover lowmark

/usr/local/news/bin/news.daily: gawk: not found
----

>How-To-Repeat:

>Fix:
--- /usr/local/news/lib/innshellvars.orig       2012-12-22 01:39:10.000000000 +0900
+++ /usr/local/news/lib/innshellvars    2012-12-26 23:37:02.000000000 +0900
@@ -71,7 +71,7 @@
 INNWSTATUS=${INNDDIR}/innwatch.status
 WATCHPID=${INNDDIR}/innwatch.pid
 
-AWK='gawk'
+AWK='/usr/local/bin/gawk'
 SED='/usr/bin/sed'
 INNDF=${NEWSBIN}/inndf
 EGREP='/usr/bin/grep -E'


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



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