Red Hat Bugzilla – Bug 1255086
Hammer reads local config file named config but should skip it because it isnt a directory
Last modified: 2017-01-12 10:14:17 EST
Description of problem:
Hammer reads a set of config files at start. If in the local directory there is a *file* called "config" it tries to read it as a hammer config file. However, the hammer documentation stated it should only read config files from a local *directory* named config, if it is present.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create local config file with random content
2. hammer shell
error's because it cannot interpret the config file
normal hammer startup where config is ignored
Created redmine issue http://projects.theforeman.org/issues/12227 from this bug
*** Bug 1346363 has been marked as a duplicate of this bug. ***
This is an older bug which has been reported upstream. We are not going to track this bug downstream. When the upstream issue is resolved, the next build will contain the fix. Thank you.