Skip to content

tar_extract: only warn once about xattr ENOTSUP#311

Merged
cyphar merged 1 commit intoopencontainers:masterfrom
sylabs:redundant-warnings
Jan 28, 2020
Merged

tar_extract: only warn once about xattr ENOTSUP#311
cyphar merged 1 commit intoopencontainers:masterfrom
sylabs:redundant-warnings

Conversation

@dtrudg
Copy link
Contributor

@dtrudg dtrudg commented Jan 27, 2020

When a destination filesystem does not support xattrs we are rasing at
least 1 ENOTSUP related warning per file. This is unhelpful, and can
scroll the terminal obscuring more important warnings. Instead, show a
single warning for the first occurrence, with an improved explanation of
the cause.

Signed-off-by: David Trudgian dave@trudgian.net

When a destination filesystem does not support xattrs we are rasing at
least 1 ENOTSUP related warning per file. This is unhelpful, and can
scroll the terminal obscuring more important warnings. Instead, show a
single warning for the first occurrence, with an improved explanation of
the cause.

Signed-off-by: David Trudgian <dave@trudgian.net>
@dtrudg dtrudg force-pushed the redundant-warnings branch from fc60ef7 to a9fd512 Compare January 28, 2020 15:35
@cyphar
Copy link
Member

cyphar commented Jan 28, 2020

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants