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

init causes erroneous symlinks to be created #83

Closed
inklesspen opened this issue Sep 7, 2015 · 4 comments
Closed

init causes erroneous symlinks to be created #83

inklesspen opened this issue Sep 7, 2015 · 4 comments

Comments

@inklesspen
Copy link

I started writing an app container using v1.13.0.0. Yesterday I upgraded the container to use v1.14.0.3, which I see introduced profiles in #81. Since then, I'm experiencing an interesting problem. The first time I start a specific container, everything is fine. But on subsequent starts, each of the /etc/ directories has had a recursive symlink added to it. This appears to be added during /init on the second time the container is started. These symlinks cause the init scripts to not work properly.

You can see this in action with my base image:

docker run --name=testing -it inklesspen/s6-py3-node:latest /init
# ctrl-c to stop it
docker start -ai testing

Of course, if I remove the container after stopping it, the next run works perfectly.

@inklesspen inklesspen changed the title init2 causes erroneous symlinks to be created init causes erroneous symlinks to be created Sep 7, 2015
glerchundi added a commit that referenced this issue Sep 9, 2015
@glerchundi
Copy link
Member

@inklesspen I've limited internet access right now, I pushed a small change that I think it should solve this issue. If it doesn't you have to wait until next week.

Tell me if #84 fixed this or not.

Thanks for reporting.

@glerchundi
Copy link
Member

Ups :-)

@glerchundi glerchundi reopened this Sep 9, 2015
@inklesspen
Copy link
Author

Seems to be a fix! Thanks.

@glerchundi
Copy link
Member

Closing this then.

HowardMei pushed a commit to HowardMei/s6overlayscripts that referenced this issue Oct 13, 2015
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

No branches or pull requests

2 participants