Skip to content

[v0.6 backport] contenthash: ignore system and security xattrs in calculation#1517

Merged
tonistiigi merged 2 commits intomoby:docker-19.03from
thaJeztah:0.6_backport_xattr_hash
Jul 16, 2020
Merged

[v0.6 backport] contenthash: ignore system and security xattrs in calculation#1517
tonistiigi merged 2 commits intomoby:docker-19.03from
thaJeztah:0.6_backport_xattr_hash

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah commented Jun 3, 2020

backport for the v0.6 / docker-19.03 branch

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 81e7113)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
Copy Markdown
Member Author

@tonistiigi @AkihiroSuda ptal

@tonistiigi
Copy link
Copy Markdown
Member

if I remember correctly it was concluded that this was wrong and security.capability should not be excluded.

@thaJeztah
Copy link
Copy Markdown
Member Author

good point; I'd have to check; do you know if that was addressed on master?

@tonistiigi
Copy link
Copy Markdown
Member

@thaJeztah I don't think so.

@mttradebyte
Copy link
Copy Markdown

@thaJeztah Do you know if anyone is working on the changes that @tonistiigi mentioned? Clamoring for this change at this point. I'd make them myself and PR but I'm sure it'd be quicker if a member of the project could make the changes and pull them in.

@tonistiigi
Copy link
Copy Markdown
Member

@mtanatwine #1526

@mttradebyte
Copy link
Copy Markdown

Looks like #1526 was merged, so can that get merged into this backport so we can get it in v19?

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit b0d3737)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
Copy Markdown
Member Author

Cherry-picked #1526. PTAL

@tonistiigi tonistiigi merged commit d1ef80c into moby:docker-19.03 Jul 16, 2020
@thaJeztah thaJeztah deleted the 0.6_backport_xattr_hash branch July 16, 2020 16:53
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.

4 participants