Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
pkg/tar: ignore EOPNOTSUPP from return value of Setxattr for Stable/Beta/Alpha #2
In some cases, docker service does not start, because torcx is not able to unpack tarball like the following error:
In some cases, docker service does not start, because torcx is not able to unpack tarball like the following error: ``` failed to unpack: unpacking \"/usr/share/torcx/store/docker:com.coreos.cl.torcx.tgz\": error extracting tar: operation not supported" image=docker reference=com.coreos.cl ``` This means `Setxattr()` returns EOPNOTSUPP, especially when SELinux is disabled on the host. To work around the issue, let's ignore EOPNOTSUPP.