Public bug reported: Monit has a start delay timer, to prevent service from starting other services too early (before they are ready). This bug has been reported to monit developer and is fixed with commit https://bitbucket.org/tildeslash/monit/commits/2dae91df32ac7bd0e02c6e6ee8522e75958f4324.
Main problem here is, that boot time is read from /proc/stat # grep btime /proc/stat This boot time is from host though and a wrong reference in this case. It differs from /proc/uptime. It is probably a major bug, because it can disrupt boot order. If monit starts pretty early and detects other services are not running, it will immediately (re-)start them. In case of apps with databases, this could lead to problems. # lsb_release -rd Description: Ubuntu 20.04.1 LTS Release: 20.04 # apt-cache policy monit monit: Installed: 1:5.26.0-4 Candidate: 1:5.26.0-4 Version table: *** 1:5.26.0-4 500 500 http://de.archive.ubuntu.com/ubuntu focal/universe amd64 Packages 100 /var/lib/dpkg/status ** Affects: monit (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902903 Title: monit disregards start delay period in LXC container To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/monit/+bug/1902903/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs