[MacPorts] #19972: postgresql82-server-8.2.13_0 Launch script fails
#19972: postgresql82-server-8.2.13_0 Launch script fails ----------------------------------------+----------------------------------- Reporter: Jonathan.Beall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ----------------------------------------+----------------------------------- After installing postgesql82-server on OS 10.5.7 and adding it to launchd with: {{{ sudo launchctl load -w /Library/LaunchDaemons/org.macports.postgresql82-server.plist }}} postgresql fails to start, as the launch script uses `su` to run the user `postgres`, but `postgres` is set up with `/dev/null` as it's shell. In order to get postgresql to launch, all the lines in {{{ /opt/local/etc/LaunchDaemons/org.macports.postgresql82-server/postgresql82-server.wrapper }}} of the form {{{ su postgres -c "..." }}} needed to be changed to {{{ sudo -u postgres ... }}} -- Ticket URL: <http://trac.macports.org/ticket/19972> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19972: postgresql82-server-8.2.13_0 Launch script fails ----------------------------------------+----------------------------------- Reporter: Jonathan.Beall@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: postgresql82-server ----------------------------------------+----------------------------------- Changes (by jmr@…): * cc: jwa@… (added) * owner: macports-tickets@… => mww@… * port: => postgresql82-server -- Ticket URL: <http://trac.macports.org/ticket/19972#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19972: postgresql82-server-8.2.13_0 Launch script fails -----------------------------------------+---------------------------------- Reporter: Jonathan.Beall@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: duplicate | Keywords: Port: postgresql82-server | -----------------------------------------+---------------------------------- Changes (by blb@…): * status: new => closed * resolution: => duplicate Comment: Dup of #14083. -- Ticket URL: <http://trac.macports.org/ticket/19972#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts