From nobody@FreeBSD.org  Sat Apr  9 14:28:48 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6719116A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  9 Apr 2005 14:28:48 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4271C43D1D
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  9 Apr 2005 14:28:48 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j39ESmAo045627
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 9 Apr 2005 14:28:48 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j39ESl3u045626;
	Sat, 9 Apr 2005 14:28:47 GMT
	(envelope-from nobody)
Message-Id: <200504091428.j39ESl3u045626@www.freebsd.org>
Date: Sat, 9 Apr 2005 14:28:47 GMT
From: Dirk-Willem van Gulik <dirkx@webweaving.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: sysctl(1) in /usr/libexec/save-entropy is not in PATH
X-Send-Pr-Version: www-2.3

>Number:         79713
>Category:       conf
>Synopsis:       sysctl(1) in /usr/libexec/save-entropy is not in PATH
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 09 14:30:29 GMT 2005
>Closed-Date:    Mon Jun 06 16:22:36 GMT 2005
>Last-Modified:  Mon Jun 06 16:22:36 GMT 2005
>Originator:     Dirk-Willem van Gulik
>Release:        5.3-RELEASE
>Organization:
Asemantics.COM
>Environment:
FreeBSD www001.chinglish.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Mon Feb 21 13:05:47 GMT 2005     david@www001.chinglish.com:/usr/obj/usr/src/sys/SMP  i386
>Description:
sysctl is used in /usr/libexec/save-entropy without a full path - unfortunately PATH is curtailed to /bin and /usr/bin while sysctl now lives in /sbin.

>How-To-Repeat:
Stock install and wait for the crontab to send a fail email.

Date: Sat, 9 Apr 2005 14:22:00 GMT
From: Cron Daemon <operator@www001.chinglish.com>
Reply-To: dev@chinglish.com
To: operator@www001.chinglish.com
Subject: Cron <operator@www001> /usr/libexec/save-entropy

sysctl: not found

>Fix:
Edit PATH to include /sbin -OR- prefix the single occurance of sysctl in /usr/libexec/save-entropy with /sbin/sysctl
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: dougb 
State-Changed-When: Mon Apr 11 01:45:28 GMT 2005 
State-Changed-Why:  

Um, sysctl is not used in /usr/libexec/save-entropy. 
Can you send me the version of the script that you have? 


Responsible-Changed-From-To: freebsd-bugs->dougb 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Mon Apr 11 01:45:28 GMT 2005 
Responsible-Changed-Why:  

I wrote this script. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79713 
State-Changed-From-To: feedback->closed 
State-Changed-By: dougb 
State-Changed-When: Mon Jun 6 16:21:54 GMT 2005 
State-Changed-Why:  

This shouldn't be a problem with the latest code, and 
the originator has not responded to a feedback request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79713 
>Unformatted:
