{"action":"created","issue":{"url":"https://api.github.com/repos/job/aclhound/issues/53","repository_url":"https://api.github.com/repos/job/aclhound","labels_url":"https://api.github.com/repos/job/aclhound/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/job/aclhound/issues/53/comments","events_url":"https://api.github.com/repos/job/aclhound/issues/53/events","html_url":"https://github.com/job/aclhound/issues/53","id":146403752,"number":53,"title":"Tests don't run out of the box due to missing /etc/aclhound/aclhound.conf","user":{"login":"jzohrab","id":1637133,"avatar_url":"https://avatars.githubusercontent.com/u/1637133?v=3","gravatar_id":"","url":"https://api.github.com/users/jzohrab","html_url":"https://github.com/jzohrab","followers_url":"https://api.github.com/users/jzohrab/followers","following_url":"https://api.github.com/users/jzohrab/following{/other_user}","gists_url":"https://api.github.com/users/jzohrab/gists{/gist_id}","starred_url":"https://api.github.com/users/jzohrab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzohrab/subscriptions","organizations_url":"https://api.github.com/users/jzohrab/orgs","repos_url":"https://api.github.com/users/jzohrab/repos","events_url":"https://api.github.com/users/jzohrab/events{/privacy}","received_events_url":"https://api.github.com/users/jzohrab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-06T19:00:28Z","updated_at":"2016-04-06T19:04:31Z","closed_at":null,"body":"Setting up ACLHound locally following the [config documentation](https://github.com/job/aclhound/blob/master/INSTALL-CONFIG.md) - some deviations from the instructions actually, but should be ok:\r\n\r\n```\r\n$ git clone git@github.com:job/aclhound.git\r\n$ cd aclhound\r\n$ virtualenv venv\r\n$ source venv/bin/activate\r\n$ pip install -r requirements.txt\r\n$ make test\r\n```\r\nsnip some outputs, and get failures:\r\n\r\n```\r\n======================================================================\r\nERROR: test_01__build_ios (tests.test_regression.TestAclhound)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/jzohrab/Documents/Projects/aclhound/tests/test_regression.py\", line 68, in test_01__build_ios\r\n    u'debug': False, u'jenkins': True})\r\n  File \"/Users/jzohrab/Documents/Projects/aclhound/aclhound/cli.py\", line 215, in __init__\r\n    self._settings = Settings()\r\n  File \"/Users/jzohrab/Documents/Projects/aclhound/aclhound/cli.py\", line 82, in __init__\r\n    sys.exit(2)\r\nSystemExit: 2\r\n\r\n======================================================================\r\nERROR: test_02__build_asa (tests.test_regression.TestAclhound)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/jzohrab/Documents/Projects/aclhound/tests/test_regression.py\", line 87, in test_02__build_asa\r\n    u'debug': False, u'jenkins': True})\r\n  File \"/Users/jzohrab/Documents/Projects/aclhound/aclhound/cli.py\", line 215, in __init__\r\n    self._settings = Settings()\r\n  File \"/Users/jzohrab/Documents/Projects/aclhound/aclhound/cli.py\", line 82, in __init__\r\n    sys.exit(2)\r\nSystemExit: 2\r\n```\r\n\r\nThe failure is due to cli.py's lines:\r\n\r\n```\r\n        if not os.path.exists('/etc/aclhound/aclhound.conf'):\r\n            print(\"ERROR: Could not open /etc/aclhound/aclhound.conf\")\r\n            print(\"Has ACLHound been properly installed? Contact your admin\")\r\n            sys.exit(2)\r\n```\r\n\r\nThe fresh install creates `/etc/aclhound/aclhound.conf.dist`, but not `/etc/aclhound/aclhound.conf`.\r\n\r\nIf you give some notes on how this should be resolved here, I can fork and PR back to master.  Should I just copy the .dist file to .conf?"},"comment":{"url":"https://api.github.com/repos/job/aclhound/issues/comments/206515421","html_url":"https://github.com/job/aclhound/issues/53#issuecomment-206515421","issue_url":"https://api.github.com/repos/job/aclhound/issues/53","id":206515421,"user":{"login":"job","id":153816,"avatar_url":"https://avatars.githubusercontent.com/u/153816?v=3","gravatar_id":"","url":"https://api.github.com/users/job","html_url":"https://github.com/job","followers_url":"https://api.github.com/users/job/followers","following_url":"https://api.github.com/users/job/following{/other_user}","gists_url":"https://api.github.com/users/job/gists{/gist_id}","starred_url":"https://api.github.com/users/job/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/job/subscriptions","organizations_url":"https://api.github.com/users/job/orgs","repos_url":"https://api.github.com/users/job/repos","events_url":"https://api.github.com/users/job/events{/privacy}","received_events_url":"https://api.github.com/users/job/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T19:04:31Z","updated_at":"2016-04-06T19:04:31Z","body":"A PR is most welcome when you have resolved the issues. While the project is mostly OS agnostic, I'd prefer to at least properly support Debian in a documented way. Thank you"}}