moby/builder
Cory Snider c0573b133f
pkg/system: return even richer xattr errors
The names of extended attributes are not completely freeform. Attributes
are namespaced, and the kernel enforces (among other things) that only
attributes whose names are prefixed with a valid namespace are
permitted. The name of the attribute therefore needs to be known in
order to diagnose issues with lsetxattr. Include the name of the
extended attribute in the errors returned from the Lsetxattr and
Lgetxattr so users and us can more easily troubleshoot xattr-related
issues. Include the name in a separate rich-error field to provide code
handling the error enough information to determine whether or not the
failure can be ignored.

Signed-off-by: Cory Snider <csnider@mirantis.com>
(cherry picked from commit 43bf65c174)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-01-23 09:27:49 +01:00
..
builder-next Windows doesn't have 'host' mode networking, so use 'auto'. 2024-01-17 16:29:30 +01:00
dockerfile builder: remove redundant ExecBackend.ContainerKill() 2024-01-05 17:36:41 +01:00
remotecontext pkg/system: return even richer xattr errors 2024-01-23 09:27:49 +01:00
builder.go builder: remove redundant ExecBackend.ContainerKill() 2024-01-05 17:36:41 +01:00