Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid libvirt security bug #152

Merged
merged 2 commits into from
Feb 9, 2014

Conversation

miurahr
Copy link
Collaborator

@miurahr miurahr commented Feb 7, 2014

Related to #130

- reset volume image uid:gid to owner

libvirt should revert its owner to original user
but it has never been implemented yet.
This is work around for it.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
-prepare separate run_command() for root previleges.

TODO: some host OS need to use 'su -c' instead of 'sudo'

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
@miurahr
Copy link
Collaborator Author

miurahr commented Feb 7, 2014

It also makes 'vagrant package' works.

adrahon added a commit that referenced this pull request Feb 9, 2014
@adrahon adrahon merged commit 6e5dbec into adrahon:master Feb 9, 2014
@miurahr miurahr deleted the avoid_libvirt_security_bug branch February 13, 2014 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants