← Back to team overview

holland-coredev team mailing list archive

[Bug 1206202] Re: pgdump plugin does not handle missing commands gracefully

 

** Changed in: holland-backup
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Holland
Build, which is subscribed to holland-backup.
https://bugs.launchpad.net/bugs/1206202

Title:
  pgdump plugin does not handle missing commands gracefully

Status in Holland Backup Framework:
  New

Bug description:
  Like most holland plugins, pg_dump runs commands through subprocess
  rather than via a shell.  If a command is not found, subprocess raises
  an OSError with errno = ENOENT.  This results in a messy and confusing
  failure message.

  These invocations should be wrapped around a try/except to detect
  these cases and fail cleanly.

  This particular case is common with Postgres on RHEL/Cent as newer
  versions installed from yum.postgresql.org are probably going to put
  their tools in /usr/pgsql-{version}/bin/ and not necessarily be in the
  path.   holland's default path doesn't pick these up automatically.

To manage notifications about this bug go to:
https://bugs.launchpad.net/holland-backup/+bug/1206202/+subscriptions


References