Bug 56843
Summary: | postgres /etc/rc.d/rc3.d/S97postgresql | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <dleonard> |
Component: | postgresql | Assignee: | Trond Eivind Glomsrxd <teg> |
Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | CC: | dleonard |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-11-28 18:09:43 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Need Real Name
2001-11-28 18:09:37 UTC
1) You shouldn't change the shell to tcsh for system users. 2) You shouldn't do initdb manually, it initializes the If you do, it should work. You probably created some permission problems by running initdb manually. The first comment about changing the shell works; I changed postgres shell back to bash, restored the state of /etc/rc.d/init.d/postgresl to factory, logged out and rebooted. Then logged in as postgres; and postmaster was running and I could connect and query okay. I wasn't aware of the rule "that you shouldn't changed system user's shells". Thought the the first line in /etc/rc.d/init.d/postgresl "#! /bin/bash" dictated this. Of course redirection does feel the basic shell I suppose. Seems to me that my change makes things more robust, though, allowing the user to change postgres's shell. Comment about doing initdb and permissions seems irrelevant. Man pages on initdb indicate it is an allowable user command, "to create a new database installation". Perhaps I can do without it though, and start at my step 4. |