Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 418057 - dev-db/postgresql-server-9.1.3 - init script reads unix_socket_path, but PgSQL's config file uses unix_socket_directory
Summary: dev-db/postgresql-server-9.1.3 - init script reads unix_socket_path, but PgSQ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-28 21:22 UTC by Philip White
Modified: 2012-06-08 16:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip White 2012-05-28 21:22:01 UTC
PostgreSQL 9.1.3's init script has this:

socket_path=$(get_config unix_socket_path)
: ${socket_path:=/run/postgresql}

Whereas PostgreSQL 9.1.3 uses "unix_socket_directory" for the same.
Source: http://www.postgresql.org/docs/9.1/static/runtime-config-connection.html

Its config file, /etc/postgresql-9.1/postgresql.conf has this line:
#unix_socket_directory = ''       # (change requires restart)
Comment 1 Aaron W. Swenson gentoo-dev 2012-06-08 16:30:49 UTC
*postgresql-server-9.2.0_beta2-r1 (08 Jun 2012)
*postgresql-server-9.1.4-r1 (08 Jun 2012)
*postgresql-server-9.0.8-r1 (08 Jun 2012)
*postgresql-server-8.4.12-r1 (08 Jun 2012)
*postgresql-server-8.3.19-r1 (08 Jun 2012)

  08 Jun 2012; Aaron W. Swenson <titanofold@gentoo.org>
  +postgresql-server-8.3.19-r1.ebuild, +postgresql-server-8.4.12-r1.ebuild,
  +postgresql-server-9.0.8-r1.ebuild, +postgresql-server-9.1.4-r1.ebuild,
  +postgresql-server-9.2.0_beta2-r1.ebuild:
  Fixing initscripts. awk syntax fix to work in FreeBSD. Search for
  unix_socket_directory instead of the non-existent unix_socket_path. (Bug
  407907 and bug 418057 respectively.)