-
Notifications
You must be signed in to change notification settings - Fork 682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small bug in habitat inspec integration #3662
Comments
And it turns out I was seeing this because I was running it on a box that had run a previous version of the profile and that file was left over. It works fine on a fresh box! Closing issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
馃帥 Description
馃悰 bug report
Hello! I am playing with the Habitat InSpec integration. I found a minor bug when running an InSpec profile packaged with Habitat.
When I run my package like this:
I get this error:
I took a look at the file in question, and it looks like it's owned by root
If I manually change ownership of that file to hab
Then the profile runs as expected.
馃實 InSpec and Platform Version
Running on an Ubuntu 18.04 VM in AWS.
馃 Replication Case
Tell us what steps to take to replicate your problem. See How to create a Minimal, Complete, and Verifiable example
for information on how to create a good replication case.
On a workstation
On an Ubuntu 18.04 VM
Make sure these ports are exposed:
馃拋 Possible Solutions
Either the plan should create that file as owned by hab, or the habitat plan generated should set the pkg_svc_user as root.
馃捇 Stacktrace
Please include the stacktrace output or link to a gist of it, if there is one.
The text was updated successfully, but these errors were encountered: