BUG #14097: unalbe to locate runuser in /usr/pgsql-9.4/bin/postgresql94-setup - Mailing list pgsql-bugs

From rajeshwar.mukund@gmail.com
Subject BUG #14097: unalbe to locate runuser in /usr/pgsql-9.4/bin/postgresql94-setup
Date
Msg-id 20160418114030.22895.7406@wrigleys.postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      14097
Logged by:          rajeshwar mukund
Email address:      rajeshwar.mukund@gmail.com
PostgreSQL version: 9.4.7
Operating system:   CENTOS 7
Description:

In some env runuser might not be in path so in
/usr/pgsql-9.4/bin/postgresql94-setup script runuser path should be fully
mentioned as.

# For SELinux we need to use 'runuser' not 'su'
if [ -x /sbin/runuser ]
then
    SU=/usr/sbin/runuser
else
    SU=su
fi

script_result=0

pgsql-bugs by date:

Previous
From: zhaozp@uxsino.com
Date:
Subject: BUG #14096: run pgbench, db crash
Next
From: Alex Bolenok
Date:
Subject: Re: BUG #14089: ON CONFLICT allows function variables in index expressions