/usr/sbin/pg_maintenance isnt' working because of "Insecure $ENV{PATH}"
Bug #34369 reported by
Michael Bienia
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql-common (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
Running pg_maintenance manually or through cron results in the following error message:
# pg_maintenance --analyze
Doing maintenance on cluster 8.1/main...
Insecure $ENV{PATH} while running with -T switch at /usr/sbin/
calling vacuumdb on cluster 8.1/main failed
The version of postgresql-common is 43.1ubuntu2.
Changed in postgresql-common: | |
assignee: | nobody → pitti |
To post a comment you must log in.
I see the same behavior...
in addition I get a similar message during installation :
Setting up postgresql-common (43.1ubuntu2) ... postgresql- common/ PgCommon. pm line 728.
* Stopping PostgreSQL 8.0 database server: main [ ok ]
* Starting PostgreSQL 8.0 database server: main [ ok ]
Insecure $ENV{PATH} while running with -T switch at /usr/share/