** Also affects: resource-agents (Ubuntu Artful)
   Importance: Undecided
       Status: New

** Also affects: resource-agents (Ubuntu Bionic)
   Importance: Undecided
     Assignee: Mario Splivalo (mariosplivalo)
       Status: New

** Also affects: resource-agents (Ubuntu Xenial)
   Importance: Undecided
       Status: New

-- 
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:
  New
Status in resource-agents source package in Xenial:
  New
Status in resource-agents source package in Artful:
  New
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

_______________________________________________
Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to     : group.of.nepali.translators@lists.launchpad.net
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help   : https://help.launchpad.net/ListHelp

Reply via email to