Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix aufs mount on ubuntu13.04+btrfs #826

Merged
merged 1 commit into from Jun 13, 2013
Merged

fix aufs mount on ubuntu13.04+btrfs #826

merged 1 commit into from Jun 13, 2013

Conversation

vieux
Copy link
Contributor

@vieux vieux commented Jun 5, 2013

Fixes #825

After some research, I found that if we put the "xino stuff" in /dev/shm/ it works everywhere (including btrfs and xfs)

@jpetazzo can you take a look ?

@vieux
Copy link
Contributor Author

vieux commented Jun 10, 2013

@shykes what do you think ?

@jpetazzo
Copy link
Contributor

This is actually a pretty good idea. Worst case scenario, if we discover that some weird distro doesn't have /dev/shm, we can always add another patch to mount it on the fly. But I guess that requiring /dev/shm is a weaker requirement than requiring cgroups, so we should be safe! Well played Victor :-)

@ghost ghost assigned shykes Jun 11, 2013
@creack
Copy link
Contributor

creack commented Jun 12, 2013

LGTM

@ghost ghost assigned creack Jun 12, 2013
@shykes
Copy link
Contributor

shykes commented Jun 12, 2013

LGTM, Guillaume can you test and merge? I will test on my machine as well.

On Wed, Jun 12, 2013 at 10:19 AM, Guillaume J. Charmes <
notifications@github.com> wrote:

LGTM

?
Reply to this email directly or view it on GitHubhttps://github.com//pull/826#issuecomment-19340829
.

@creack
Copy link
Contributor

creack commented Jun 12, 2013

Tested on ext4, it worked fine as expected. Tested on btrfs, still does not work. looks like it is something more than just the xino thing.
Full logs:

# ./docker run -t -i base bash
Pulling repository base from https://index.docker.io/v1
Pulling image 27cf784147099545 () from base
Pulling 27cf784147099545 metadata
Pulling 27cf784147099545 fs layer
Downloading 94863360/? (n/a)
Error while retrieving image for tag:  (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.
); checking next endpoint
2013/06/12 10:57:57 Could not find repository on any of the indexed registries.

@shykes
Copy link
Contributor

shykes commented Jun 12, 2013

@creack I believe you may be hitting an unrelated issue (#339
specifically). So it's still possible that this fixes #339, and allows you
to hit the next problem :)

On Wed, Jun 12, 2013 at 11:03 AM, Guillaume J. Charmes <
notifications@github.com> wrote:

Tested on ext4, it worked fine as expected. Tested on btrfs, still does
not work. looks like it is something more than just the xino thing.
Full logs:

./docker run -t -i base bash

Pulling repository base from https://index.docker.io/v1
Pulling image 27cf784147099545 () from base
Pulling 27cf784147099545 metadata
Pulling 27cf784147099545 fs layer
Downloading 94863360/? (n/a)
Error while retrieving image for tag: (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.
); checking next endpoint
2013/06/12 10:57:57 Could not find repository on any of the indexed registries.


Reply to this email directly or view it on GitHubhttps://github.com//pull/826#issuecomment-19343582
.

@vieux
Copy link
Contributor Author

vieux commented Jun 12, 2013

I only had the xino issue on my btrfs install.

@creack
Copy link
Contributor

creack commented Jun 13, 2013

Ok, managed to reproduce with busybox. The fix works :)

creack added a commit that referenced this pull request Jun 13, 2013
- Runtime: fix aufs mount on ubuntu13.04+btrfs
@creack creack merged commit 0bc1c6d into master Jun 13, 2013
@creack creack deleted the 825-move_xino_shm-fix branch June 13, 2013 00:21
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.

docker run fail on Ubuntu 13.04 and btrfs
5 participants