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

Warn that ec2-bundle-vol may ignore some important files #256

Merged
merged 1 commit into from
Aug 9, 2013

Conversation

priteau
Copy link
Contributor

@priteau priteau commented Aug 8, 2013

I discovered that the version of ec2-bundle-vol packaged in Ubuntu 13.04 (and, according to online information, previous Ubuntu versions as well) will silently ignore any .gpg and .pem files.

This is done for security purposes, but it is a problem because it drops all files in /etc/ssl and /use/share/keyrings. Consequently, an Ubuntu image created with the default ec2-bundle-vol command will fail to validate signed packages (because the Ubuntu public key has disappeared).

Warn about this issue and suggest the use of the --no-filter option.

Alternatively this could be made the default and users with sensitive files should customize the bundle volume command to exclude them.

@mitchellh
Copy link
Contributor

This looks good! Thanks! Merging. I think secure-by-default should be good. The warning is great.

@mitchellh mitchellh merged commit cb75691 into hashicorp:master Aug 9, 2013
@priteau priteau deleted the ignored_files branch August 9, 2013 08:26
@ghost ghost locked and limited conversation to collaborators Apr 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants