← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1762492] Re: pgsql resource agent should check for stats_temp_directory

 

Setting dev version to fix released per last comment.

** Changed in: resource-agents (Ubuntu)
       Status: New => Fix Released

-- 
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/1762492

Title:
  pgsql resource agent should check for stats_temp_directory

Status in resource-agents package in Ubuntu:
  Fix Released
Status in resource-agents source package in Xenial:
  New
Status in resource-agents source package in Artful:
  Invalid
Status in resource-agents source package in Bionic:
  New

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/resource-agents/+bug/1762492/+subscriptions