Skip to content

bsdtar: Failed to set file flags #339

@rnd42

Description

@rnd42

Hello,

I just started working with docker but have been immediately hit with the following:

$ sudo docker run -i -t base /bin/bash
2013/04/05 14:32:09 docker run -i -t base /bin/bash
Image base not found, trying to pull it from registry.
Pulling repository base
Pulling tag base:ubuntu-12.10
Pulling 27cf784147099545 metadata
Pulling 27cf784147099545 fs layer
94863360/94863360 (100%)
2013/04/05 14:33:10 exit status 1: ./usr/bin/: Failed to set file flags
./usr/lib/x86_64-linux-gnu/gconv/: Failed to set file flags
./usr/lib/python3.2/__pycache__/: Failed to set file flags
./usr/share/consolefonts/: Failed to set file flags
./usr/share/man/man8/: Failed to set file flags
./usr/share/man/man1/: Failed to set file flags
./usr/share/perl/5.14.2/unicore/lib/Blk/: Failed to set file flags
./usr/share/i18n/locales/: Failed to set file flags
./usr/share/i18n/charmaps/: Failed to set file flags
./var/lib/dpkg/info/: Failed to set file flags
./var/cache/apt/archives/: Failed to set file flags
bsdtar: Error exit delayed from previous errors.

Goggling seems to show that this is likely an upstream known issue (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699499) from bsdtar caused when a tar package tries to restore file metadata like flags in use by one file system and not another. In this case I would guess that the base image was created on Ext2/3/4 and I am trying to extract it to BtrFS...

I understand that restoring the flags in use are likely critical to the function and/or security of the container so striping them out of the archive or ignoring the errors (or requesting upstream to do either) probably aren't good solutions. So if that's true has anyone started any BtrFS based images that may be usable by those running with BtrFS? It sure would be nice if we could browse and/or query this image repository so I could potentially answer this question myself.

Thanks for your efforts so far in creating this exciting piece of software!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions