* Insecure directory in $ENV{PATH} while running with -T switch at
/usr/share/postgresql-common/PgCommon.pm line 654.

I don't understand this. This line does

      my $uname = (getpwuid $uid)[0];
      my $groups = "$gid " . `/usr/bin/id -G $uname`;   # <--- fails here

pg_ctlcluster sanitizes $PATH already. I can't reproduce that here:

   sudo PATH=/tmp:$PATH pg_ctlcluster 8.3 main start

works just fine. What does

  sudo sh -c 'echo $PATH'

print for you?


** Package changed: postgresql-8.3 (Ubuntu) => postgresql-common (Ubuntu)

** Changed in: postgresql-common (Ubuntu)
       Status: New => Incomplete

** Summary changed:

- E: /var/cache/apt/archives/postgresql-8.3_8.3.7-0ubuntu8.10_i386.deb: le 
sous-processus nouveau script pre-removal a retourné une erreur de sortie 
d'état 255
+ pg_ctlcluster dies with Insecure directory in $ENV{PATH} while running with -T

-- 
pg_ctlcluster dies with Insecure directory in $ENV{PATH} while running with -T
https://bugs.launchpad.net/bugs/348738
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to