Bug 162239 - databases/postgresql84-server fails to add the pgsql user
Summary: databases/postgresql84-server fails to add the pgsql user
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Chris Rees
Depends on:
Reported: 2011-11-01 19:40 UTC by Fernando Lemos
Modified: 2011-11-02 18:20 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Lemos 2011-11-01 19:40:09 UTC
postgresql84-server no longer creates a pgsql user. I don't think that's intended. By not creating this user, initdb obviously fails to work. The final user ends up being required to create the pgsql user manually in order to use PostgreSQL.

I've used the default options for make config, except I had to compile without GSSAPI support due to PR 161786, PR 162179. I believe this isn't related, but I apologize if it obviously is.

How-To-Repeat: 1) Uninstall previous versions of PGSQL.
2) Get rid of an existing pgsql user.
3) Install databases/postgresql84-server.
4) Check /etc/passwd, there should be no PGSQL user.
Comment 1 Mark Linimon freebsd_committer 2011-11-01 23:47:49 UTC
Responsible Changed
From-To: freebsd-ports-bugs->girgen

Fix synopsis and assign.
Comment 2 Chris Rees freebsd_committer 2011-11-02 18:07:56 UTC
Responsible Changed
From-To: girgen->crees

I'll take it.
Comment 3 dfilter service freebsd_committer 2011-11-02 18:10:11 UTC
crees       2011-11-02 18:09:16 UTC

  FreeBSD ports repository

  Modified files:
    databases/postgresql84-server Makefile 
  Actually add the pgsql users on install
  PR:             ports/162239
  Approved by:    portmgr (pav)
  Revision  Changes    Path
  1.237     +7 -1      ports/databases/postgresql84-server/Makefile
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Chris Rees freebsd_committer 2011-11-02 18:10:42 UTC
State Changed
From-To: open->closed

Committed. Thanks!