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"

** Changed in: keepalived (Ubuntu Bionic)
       Status: Incomplete => Fix Released

** Changed in: keepalived (Ubuntu Bionic)
     Assignee: Paride Legovini (paride) => (unassigned)

** Tags removed: server-next

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1795420

Title:
  Keepalived update from 1.2.19 to 1.2.24 breaks support for /dev/tcp
  health check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/keepalived/+bug/1795420/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to