Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

stage1/fly: evaluate symlinks in mount targets #3570

Merged
merged 3 commits into from
Feb 1, 2017

Conversation

lucab
Copy link
Member

@lucab lucab commented Jan 31, 2017

This PR fixes stage1-fly logic when performing bind-mounts. It was previously following symlinks outside of application rootfs, resulting in wrong mounts being performed.
It now uses the same logic introduced in #3490 for resolving symlinks inside chroot.

Fixes #3228

@lucab
Copy link
Member Author

lucab commented Jan 31, 2017

/cc @s-urbaniak for review

@lucab lucab requested a review from s-urbaniak January 31, 2017 17:01
Copy link
Contributor

@s-urbaniak s-urbaniak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@s-urbaniak
Copy link
Contributor

green, hence merging

@s-urbaniak
Copy link
Contributor

ah, jenkins had a hickup, let's merge once green :-)

@lucab lucab merged commit 9148784 into rkt:master Feb 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fly: incorrectly mounts symlinked targets outside of app chroot
2 participants