« Previous | Next » 

Revision c24ca4e8

IDc24ca4e89d3b41bf3a5719d2ccc5ec40d732760f

Added by Vangelis Koukis about 9 years ago

Bail out if any settings file is unreadable

Log an error to stderr and die immediately if any settings file
under SYNNEFO_SETTINGS_DIR (/etc/synnefo by default) is unreadable.

Also remove use of braindead Python glob(), which ignores access failure
errors, and fails silenty.

This should simplify administration, by allowing early detection of
configuration mistakes.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences