Comment 8 for bug 1795420

Revision history for this message
Paride Legovini (paride) wrote :

This specific issue (the FATAL error) is fixed on >= Bionic and therefore I'm marking the Bionic task as Fix Released.

However the

  script "</dev/tcp/127.0.0.1/53"

syntax doesn't currently work on any supported version of Ubuntu, but for a different reason: it relies on /bin/sh being Bash. I filed a separate LP bug for this problem with more details:

  https://bugs.launchpad.net/ubuntu/+source/keepalived/+bug/1934300

however for the moment my suggestion is to use alternative ways to check if a TCP port is open, e.g. something like:

    script "bash -c '</dev/tcp/127.0.0.1/80'"
    script "nc -z 127.0.0.1 80"