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 नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1795420 Title: Keepalived update from 1.2.19 to 1.2.24 breaks support for /dev/tcp health check Status in keepalived package in Ubuntu: Fix Released Status in keepalived source package in Xenial: Won't Fix Status in keepalived source package in Bionic: Fix Released Status in keepalived source package in Cosmic: Won't Fix Bug description: Previous configuration that works fine: vrrp_script chk_trigger_port { script "</dev/tcp/127.0.0.1/53" interval 5 weight 30 } This syntax is documented all over, and worked properly in 1.2.19, but update to 1.2.24 package broke it. Resulting symptom is that keepalived will continuously fail with a FATAL error and respawn, and will not ever come online fully. Tracing the service, it is getting a no such file or directory on the /dev/tcp script. I have not looked at the code changes, but I suspect there was some optimization to not use bash, or change in how the script is executed - breaking support for that syntax. I was able to work around with: script "/bin/bash -c '</dev/tcp/127.0.0.1/53'" but that still leaves all of the incorrect documentation. Looks like it may have already been corrected upstream - please backport this fix to ubuntu 16.04 package train please: https://github.com/acassen/keepalived/commit/5cd5fff78de11178c51ca245ff5de61a86b85049 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/keepalived/+bug/1795420/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : [email protected] Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp

