Opened 16 years ago

Closed 16 years ago

#2453 closed defect (fixed)

telascience buildbot runs as root ?

Reported by: Even Rouault Owned by: Mateusz Łoskot
Priority: normal Milestone:
Component: Buildbot Version: unspecified
Severity: normal Keywords:
Cc:

Description

I've the feeling that since a few days the autotest on the telascience buildbot runs as root, where as it probably ran under another user before. Anyway, this makes the pg tests to be skipped.

Running tests from ogr/ogr_pg.py
  TEST: ogr_pg_with_and_without_postgis ...   TEST: ogr_pg_1 ... ERROR 1: PQconnectdb failed.
FATAL:  user "root" does not exist

skip
skip

Change History (2)

comment:1 by Mateusz Łoskot, 16 years ago

Status: newassigned

Even,

This is something new and strange to me. I will take a look at it.

comment:2 by Mateusz Łoskot, 16 years ago

Resolution: fixed
Status: assignedclosed

I confirm the buildbot was running as root. If similar issue occurs in future, following steps need to be taken:

  1. As root, kill all buildbot processes
  2. Go to /osgeo/buildbot directory
  3. Fix ownership of files created by buildbot running as root (call this command as root):
    find . -type d | xargs chown -R buildbot:users
    
Note: See TracTickets for help on using tickets.