distr1 / distri

a Linux distribution to research fast package management
https://distr1.org
Other
536 stars 26 forks source link

docker: intermittent FUSE issues #27

Closed stapelberg closed 5 years ago

stapelberg commented 5 years ago

This is pretty vague, but I have only used the docker container for a few minutes.

After some point, I could not start any programs anymore, it seemed like the FUSE file system was inaccessible.

Restarting the container fixed it.

norpol commented 5 years ago

If I start it, hit ctrl+c once I run into this issue

^C
ls
bash: ls: command not found

If I run ls and instantly hit ctrl+c I run into this issue

ls -lhart / <enter> <ctrl>
bash: /bin/ls: Transport endpoint is not connected
stapelberg commented 5 years ago

Ah! Thanks for that hint. I suppose signal propagation is broken.

norpol commented 5 years ago

updated the comment, figured out two different scenarios.

stapelberg commented 5 years ago

Yeah, looking at ps on the host, pressing ctrl+c definitely kills the fuse process. I think this is because we exec into bash. We should probably spawn bash and keep running, reaping zombies.

norpol commented 5 years ago

Ah ok, so for now just launching bash inside bash is a good workaround.

stapelberg commented 5 years ago

Pushed a fix. Try docker pull distr1/distri:jackherer and run again.