Skip to content

fix: SCHILY.xattrs should be SCHILY.xattr#2873

Merged
dmcgowan merged 1 commit intocontainerd:masterfrom
Ace-Tang:fix_xattr
Dec 13, 2018
Merged

fix: SCHILY.xattrs should be SCHILY.xattr#2873
dmcgowan merged 1 commit intocontainerd:masterfrom
Ace-Tang:fix_xattr

Conversation

@Ace-Tang
Copy link
Copy Markdown
Contributor

@fuweid
Copy link
Copy Markdown
Member

fuweid commented Dec 12, 2018

fixes: #2863

@Ace-Tang
Copy link
Copy Markdown
Contributor Author

@fuweid this is not fix #2863 , but PR #2872 does

@fuweid
Copy link
Copy Markdown
Member

fuweid commented Dec 12, 2018

@Ace-Tang I has commented it for you in #2872 . 😄

Copy link
Copy Markdown
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

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

LGTM

@Ace-Tang
Copy link
Copy Markdown
Contributor Author

The golang source code is important to debug 😸

@dmcgowan
Copy link
Copy Markdown
Member

--- FAIL: TestTarWithXattr/WithXattrSelinux (0.00s)
   tar_test.go:930: Failed to apply tar: operation not permitted

Maybe we can just detect this case and skip, is there another case to run in its place for CI or does the first test adequately test what you wanted?

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #2873 into master will increase coverage by 2.82%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2873      +/-   ##
==========================================
+ Coverage   41.04%   43.87%   +2.82%     
==========================================
  Files          70      101      +31     
  Lines        9445    10796    +1351     
==========================================
+ Hits         3877     4737     +860     
- Misses       5010     5328     +318     
- Partials      558      731     +173
Flag Coverage Δ
#linux 47.48% <ø> (?)
#windows 41.04% <ø> (ø) ⬆️
Impacted Files Coverage Δ
archive/tar.go 43.79% <ø> (+26.79%) ⬆️
mount/temp_unix.go 0% <0%> (ø)
sys/reaper_linux.go 0% <0%> (ø)
services/server/server_linux.go 0% <0%> (ø)
sys/env.go 100% <0%> (ø)
sys/stat_unix.go 0% <0%> (ø)
runtime/v2/shim/shim_unix.go 0% <0%> (ø)
sys/reaper.go 0% <0%> (ø)
sys/fds.go 0% <0%> (ø)
runtime/v2/shim/reaper_unix.go 0% <0%> (ø)
... and 28 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4ccff37...6f944e4. Read the comment docs.

@Ace-Tang
Copy link
Copy Markdown
Contributor Author

@dmcgowan, Security related xattrs need root permission to test, I have updated.

Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

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

LGTM

@dmcgowan
Copy link
Copy Markdown
Member

LGTM

@thaJeztah
Copy link
Copy Markdown
Member

(linking for discoverability); Introduced in bc9cb25 (#1812)

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.

7 participants