Opened 11 years ago

Closed 2 years ago

#14706 closed defect (wontfix)

postgresql83-server / bugfix / directory location wrong

Reported by: dirkx@… Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: postgresql83-server

Description

Pathc below is needed as initdb is otherwise confused about its relative path.

Dw.

*** Portfile.org	2008-03-18 17:38:23.000000000 +0100
--- Portfile	2008-03-18 17:39:38.000000000 +0100
***************
*** 50,56 ****
  	ui_msg "\nTo create a database instance, after install do\n\
  		sudo mkdir -p ${dbdir}\n\
  		sudo chown ${dbuser}:${dbgrp} ${dbdir}\n\
! 		sudo su ${dbuser} -c \'${libdir}/bin/initdb -D ${dbdir}\'"
  	ui_msg "\nTo tweak your DBMS, consider increasing kern.sysv.shmmax\
  		by adding an increased kern.sysv.shmmax .. to /etc/sysctl.conf"
  }
--- 50,56 ----
  	ui_msg "\nTo create a database instance, after install do\n\
  		sudo mkdir -p ${dbdir}\n\
  		sudo chown ${dbuser}:${dbgrp} ${dbdir}\n\
! 		( cd ${prefix}; sudo su ${dbuser} -c \'${libdir}/bin/initdb -D ${dbdir}\' )"
  	ui_msg "\nTo tweak your DBMS, consider increasing kern.sysv.shmmax\
  		by adding an increased kern.sysv.shmmax .. to /etc/sysctl.conf"
  }

Change History (8)

comment:1 Changed 11 years ago by jmroot (Joshua Root)

Cc: jwa@… added
Milestone: Port Bugs
Owner: changed from macports-tickets@… to mww@…

Assigning to maintainers.

comment:2 Changed 11 years ago by retsil@…

Came across the same problem.

Is there a way to re-display the ui_msg from the port interface? It's very silly to be told something once and only once.

After troubleshooting this problem I restarted my MAC and could not redisplay the message and google it.

comment:3 Changed 10 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:4 Changed 8 years ago by jmroot (Joshua Root)

Port: postgresql83-server added

comment:5 in reply to:  2 Changed 8 years ago by ryandesign (Ryan Schmidt)

Replying to retsil@…:

Is there a way to re-display the ui_msg from the port interface? It's very silly to be told something once and only once.

No, which is why ports should now use the new "notes" feature instead of using ui_msg, when displaying messages users are likely to want to see again later.

comment:6 Changed 8 years ago by ryandesign (Ryan Schmidt)

Has duplicate #28877.

comment:7 Changed 2 years ago by mf2k (Frank Schima)

Cc: jyrkiwahlstedt removed
Owner: changed from mww@… to jyrkiwahlstedt
Status: newassigned

comment:8 Changed 2 years ago by jyrkiwahlstedt

Resolution: wontfix
Status: assignedclosed

postgresql83 EOL’d long time ago

Note: See TracTickets for help on using tickets.