Bug 68453

Summary: [patch] rc.subr.8
Product: Documentation Reporter: Michel Lavondes <fox>
Component: Books & ArticlesAssignee: Yar Tikhiy <yar>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Michel Lavondes 2004-06-28 19:20:13 UTC
${name}_program in a startup script using rc.subr will silently override $command. This patch assumes the behavior is intended and documents it.

This is known to happen using the sysutils/rc_subr port on 4.x, but probably happens on 5.x with rcNG too.

How-To-Repeat: man 8 rc.subr
Comment 1 Doug Barton freebsd_committer freebsd_triage 2006-02-22 02:20:05 UTC
Responsible Changed
From-To: freebsd-doc->freebsd-rc


Bring to the attention of the list
Comment 2 Yar Tikhiy freebsd_committer freebsd_triage 2006-02-22 10:59:23 UTC
Responsible Changed
From-To: freebsd-rc->patched

Fixed in HEAD, MFC is due. Thanks.
Comment 3 Yar Tikhiy freebsd_committer freebsd_triage 2006-02-22 11:00:01 UTC
State Changed
From-To: open->patched

Fixed in HEAD, MFC is due. Thanks. 


Comment 4 Yar Tikhiy freebsd_committer freebsd_triage 2006-02-22 11:00:01 UTC
Responsible Changed
From-To: patched->yar

Taking this PR because I fiddled with the relation between 
$command and $foo_program in rc.subr.
Comment 5 Yar Tikhiy freebsd_committer freebsd_triage 2006-02-26 16:12:17 UTC
State Changed
From-To: patched->closed

Mergen to RELENG_6, too.  Thanks!