Bug 616

Summary: permission denied for unrelated file
Product: [Retired] Red Hat Linux Reporter: borgia
Component: postgresqlAssignee: Cristian Gafton <gafton>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-02-25 09:36:45 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 borgia 1998-12-26 23:11:11 UTC
This did not happen with 6.3.2-4, but happens with
6.3.2-10; no changes in between

-cut-cut-
/etc/rc.d/init.d/postgresql start
Starting postgresql service: bash: /root/.bashrc: Permission
denied
postmaster [11059]
-cut-cut-

Comment 1 borgia 1998-12-28 06:37:59 UTC
found a solution: you need "su -l -c" instead of "su -c" in the
startup script

Comment 2 Jay Turner 1998-12-31 17:05:59 UTC
I have verified that this bug is true in the test lab. It does
generate the error as reported by the user but the postmaster service
is still started.

Adding a - or -l to the /etc/rc.d/init.d/postgresql script alleviates
the error message.

Comment 3 Cristian Gafton 1999-02-25 09:36:59 UTC
Fixed in the source rpm available from rawhide