8000 add ext4 ACL and FS security to kernel config by unclejack · Pull Request #543 · boot2docker/boot2docker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jan 1, 2021. It is now read-only.

add ext4 ACL and FS security to kernel config #543

Merged
merged 1 commit into from
Sep 17, 2014

Conversation

unclejack
Copy link
Contributor

This PR fixes the "operation not permitted" error encountered when pulling certain images on AUFS with ext4.

Fixes moby/moby#6874

@unclejack
Copy link
Contributor Author

I'm building boot2docker now to test this PR.

@tianon
Copy link
Contributor
tianon commented Sep 16, 2014

❤️❤️ will wait to hear how it goes 😃

@unclejack
Copy link
Contributor Author

@tianon @SvenDowideit This PR fixes moby/moby#6874. I can confirm.

@tianon
Copy link
Contributor
tianon commented Sep 17, 2014

LGTM

@SvenDowideit
Copy link
Contributor

yup, tests fine here too

LGTM

SvenDowideit added a commit that referenced this pull request Sep 17, 2014
add ext4 ACL and FS security to kernel config
@SvenDowideit SvenDowideit merged commit cc429e5 into boot2docker:master Sep 17, 2014
@unclejack unclejack deleted the add_ext4_acl branch September 17, 2014 08:17
@MidnightLightning
Copy link

While waiting for an official release including this fix, is there a way to apply these flags to an already-built boot2docker VM image? Or given that these are kernel configs, do they need to be part of the OS install and aren't just a simple fix on a running VM?

@tianon
Copy link
Contributor
tianon commented Sep 24, 2014

Unfortunately, they have to be compiled into the kernel, but boot2docker is
built using a Dockerfile, so if you've got a working install of Docker you
should be able to build it and use the resulting ISO!

@MidnightLightning
Copy link

I have a running VM of the latest release of boot2docker; let's see if we can Inception-ally create boot2docker within boot2docker...

EDIT: Result: nope....

docker@boot2docker:~/boot2docker$ docker build -t boot2docker . && docker run --rm boot2docker > boot2docker.iso
[...]
Step 37 : RUN echo root > $ROOTFS/etc/sysconfig/superuser
 ---> Running in b18050625e1a
exec: "/bin/sh": stat /bin/sh: no such file or directory2014/09/24 15:46:56 exec: "/bin/sh": stat /bin/sh: no such file or directory
docker@boot2docker:~/boot2docker$

Ah well, I'll wait for the official release to update.

@alexhowarth
Copy link

Can confirm that deleting the VM in VirtualBox, building the boot2docker.iso from master and copying to ~/.boot2docker fixes the "operation not permitted" error.

For me the issue was with pulling jboss/wildfly

https://github.com/boot2docker/boot2docker/blob/master/doc/BUILD.md

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't pull a specific image
5 participants
0