Public bug reported:

If you intsall postgresql via cloud-init user-data, it will not get started.
A work around is provided at 
  
http://dustymabe.com/2015/08/03/installingstarting-systemd-services-using-cloud-init/

This is related to bug 1575572.

To reproduce the behavior:

$ cat ../postgresql.yaml 
#cloud-config
packages: [postgresql]

$ launch ubuntu-daily:yakkety y2 "--config=user.user-data=$(cat
postgresql.yaml)"

$ lxc exec y2 /bin/bash
# wait for system boot

# systemctl status [email protected][email protected] - PostgreSQL Cluster 9.5-main
   Loaded: loaded (/lib/systemd/system/[email protected]; disabled; vendor 
preset: enabled)
   Active: inactive (dead)

Related Bugs:
 * bug 1575572:  apache2 fails to start if installed via cloud config (on 
Xenial)

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: postgresql-common 175
ProcVersionSignature: Ubuntu 4.4.0-33.52-generic 4.4.15
Uname: Linux 4.4.0-33-generic x86_64
ApportVersion: 2.20.3-0ubuntu5
Architecture: amd64
Date: Wed Aug 10 21:27:31 2016
PackageArchitecture: all
ProcEnviron:
 TERM=screen.xterm-256color
 PATH=(custom, no user)
SourcePackage: postgresql-common
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: postgresql-common (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug uec-images yakkety

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to postgresql-common in Ubuntu.
https://bugs.launchpad.net/bugs/1611973

Title:
  [email protected] service not started if postgres installed via
  cloud-init

Status in postgresql-common package in Ubuntu:
  New

Bug description:
  If you intsall postgresql via cloud-init user-data, it will not get started.
  A work around is provided at 
    
http://dustymabe.com/2015/08/03/installingstarting-systemd-services-using-cloud-init/

  This is related to bug 1575572.

  To reproduce the behavior:

  $ cat ../postgresql.yaml 
  #cloud-config
  packages: [postgresql]

  $ launch ubuntu-daily:yakkety y2 "--config=user.user-data=$(cat
  postgresql.yaml)"

  $ lxc exec y2 /bin/bash
  # wait for system boot

  # systemctl status [email protected][email protected] - PostgreSQL Cluster 9.5-main
     Loaded: loaded (/lib/systemd/system/[email protected]; disabled; vendor 
preset: enabled)
     Active: inactive (dead)

  Related Bugs:
   * bug 1575572:  apache2 fails to start if installed via cloud config (on 
Xenial)

  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: postgresql-common 175
  ProcVersionSignature: Ubuntu 4.4.0-33.52-generic 4.4.15
  Uname: Linux 4.4.0-33-generic x86_64
  ApportVersion: 2.20.3-0ubuntu5
  Architecture: amd64
  Date: Wed Aug 10 21:27:31 2016
  PackageArchitecture: all
  ProcEnviron:
   TERM=screen.xterm-256color
   PATH=(custom, no user)
  SourcePackage: postgresql-common
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postgresql-common/+bug/1611973/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to