ports/156547: relayd exits when disabling and enabling hosts
Frank Brendel
frank.brendel at eurolog.com
Thu Apr 21 11:40:06 UTC 2011
>Number: 156547
>Category: ports
>Synopsis: relayd exits when disabling and enabling hosts
>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: Thu Apr 21 11:40:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Frank Brendel
>Release: FreeBSD 8.2
>Organization:
>Environment:
FreeBSD 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
When I enable a host relayd exits.
The error message is:
fatal: pfe_dispatch_imsg: desynchronized
This happens only if I disable a host during long running checks.
>How-To-Repeat:
relayd.conf:
---snip---
host1="10.0.0.1"
host2="10.0.0.2"
host_ext="10.0.1.1"
interval 30
timeout 15000
table <host_table> { $host1 $host2 }
relay relay1 {
listen on $host_ext port ssh
forward to <host_table> port ssh check script "/tmp/chk_test.sh"
}
relay relay2 {
listen on $host_ext port smtp
forward to <host_table> port smtp check script "/tmp/chk_test.sh"
}
---snap---
/tmp/chk_test.sh:
---snip---
#!/usr/local/bin/bash
while true; do
echo "PID: $$ - HOST: $1 - DATE:" $(date) >>/tmp/chk_test.txt
sleep 5
exit 1
done
---snap---
Run 'relayctl host disable 2' during a check cycle.
Now relayctl shows that the host 2 is disabled.
If you enable this host relayd exits on the next check of this host.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list