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

From [email protected]
Subject BUG #14097: unalbe to locate runuser in /usr/pgsql-9.4/bin/postgresql94-setup
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      14097
Logged by:          rajeshwar mukund
Email address:      [email protected]
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: [email protected]
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