>Number: 6613
>Category: user
>Synopsis: Recent changes (post 4.9) in relayd(8) break check_script
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Mon May 23 15:50:02 GMT 2011
>Closed-Date:
>Last-Modified:
>Originator:
>Release:
>Organization:
>Environment:
System : OpenBSD 4.9
Details : OpenBSD 4.9 (GENERIC) #477: Wed Mar 2 06:50:31 MST 2011
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
Architecture: OpenBSD.amd64
Machine : amd64
>Description:
Recent CVS changes in relayd(9) (May 2011) break check_script
functionality
Error message:
fatal: script_exec: invalid host id
script_exec() on check_script.c line 100, invoked by
parent_dispatch_hce() in relayd.c line 431
>How-To-Repeat:
/etc/relayd.conf:
localhost="127.0.0.1"
table <target> {
$localhost
}
redirect "test" {
forward to <target> port 80 check script "/tmp/check.sh"
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: