package postgresql-common 129 failed to install/upgrade: private key file "server.key" has group or world access

Bug #995929 reported by subodh
48
This bug affects 8 people
Affects Status Importance Assigned to Milestone
postgresql-common (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

while upgrading to ubuntu 12

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: postgresql-common 129
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic-pae 3.2.14
Uname: Linux 3.2.0-24-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Date: Mon May 7 17:31:21 2012
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
PackageArchitecture: all
SourcePackage: postgresql-common
Title: package postgresql-common 129 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-05-06 (1 days ago)

Revision history for this message
subodh (subodh-iitr) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Setting up postgresql-common (129) ...
 * Starting PostgreSQL 9.0 database server  * The PostgreSQL server failed to start. Please check the log output:
2012-05-07 17:31:20 IST FATAL: private key file "server.key" has group or world access

Please fix the permissions of the certificate. Permissions should be this:

-rw-r----- 1 root ssl-cert 891 Jul 12 10:38 /etc/ssl/private/ssl-cert-snakeoil.key

with these commands:
  sudo chgrp ssl-cert /etc/ssl/private/ssl-cert-snakeoil.key
  sudo chmod 640 /etc/ssl/private/ssl-cert-snakeoil.key

Changed in postgresql-common (Ubuntu):
status: New → Invalid
summary: - package postgresql-common 129 failed to install/upgrade: ErrorMessage:
- subprocess installed post-installation script returned error exit status
- 1
+ package postgresql-common 129 failed to install/upgrade: private key
+ file "server.key" has group or world access
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.