Public bug reported: [Impact]
* Default postgres installation in Ubuntu (and Debian) configures stats_temp_directory inside /var/run/postgresql. However, this directory is not created after reboot. Usually this directory is created by pg_ctlcluster, which is a pg_ctl wraper called by systemd/upstart. However postgres resource agent is not using pg_ctlcluster when starting postgres, it calls pg_ctl directly, which won't recreate missing directories. This will prevent resource agent to properly start postgres. * This bug is already fixed in upstream: https://github.com/ClusterLabs /resource-agents/pull/1102/ * This SRU cherrypicks the commit from the upstream - the commit checks if configured stats directory exists, and if it does not it tries to create it. ** Affects: resource-agents (Ubuntu) Importance: Undecided Assignee: Mario Splivalo (mariosplivalo) Status: New ** Affects: resource-agents (Ubuntu Xenial) Importance: Undecided Assignee: Mario Splivalo (mariosplivalo) Status: New ** Affects: resource-agents (Ubuntu Artful) Importance: Undecided Assignee: Mario Splivalo (mariosplivalo) Status: New ** Affects: resource-agents (Ubuntu Bionic) Importance: Undecided Assignee: Mario Splivalo (mariosplivalo) 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/1762492 Title: pgsql resource agent should check for stats_temp_directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resource-agents/+bug/1762492/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
