JasonYangShadow / lpmx

A novel composable rootless container system
Apache License 2.0
45 stars 6 forks source link

dpkg encounters too many files error #9

Closed JasonYangShadow closed 5 years ago

JasonYangShadow commented 5 years ago

Preparing to unpack .../rsync_3.1.1-3ubuntu1.2_amd64.deb ... Unpacking rsync (3.1.1-3ubuntu1.2) ... {"timestamp":"2019-01-09 02:07:02","level":"FATAL","file":"unionfs.c","line":1742,"msg":"rmdir can't create file: /home/jason/app/.docker/ubuntu/16.04/workspace/LCva6EfgE6/rw/var/lib/dpkg/.wh.tmp.ci with error: Too many open files"} dpkg: error while cleaning up: unable to securely remove '/var/lib/dpkg/tmp.ci': Too many open files {"timestamp":"2019-01-09 02:07:02","level":"FATAL","file":"unionfs.c","line":1742,"msg":"rmdir can't create file: /home/jason/app/.docker/ubuntu/16.04/workspace/LCva6EfgE6/rw/var/lib/dpkg/.wh.reassemble.deb with error: Too many open files"} dpkg: error while cleaning up: unable to securely remove '/var/lib/dpkg/reassemble.deb': Too many open files dpkg (subprocess): unable to execute split package reassembly (dpkg-split): No such file or directory dpkg: error processing archive /var/cache/apt/archives/xauth_1%3a1.0.9-1ubuntu2_amd64.deb (--unpack): subprocess dpkg-split returned error exit status 2 {"timestamp":"2019-01-09 02:07:02","level":"FATAL","file":"unionfs.c","line":1742,"msg":"rmdir can't create file: /home/jason/app/.docker/ubuntu/16.04/workspace/LCva6EfgE6/rw/var/lib/dpkg/.wh.reassemble.deb with error: Too many open files"} dpkg: error while cleaning up: unable to securely remove '/var/lib/dpkg/reassemble.deb': Too many open files dpkg (subprocess): unable to execute split package reassembly (dpkg-split): No such file or directory dpkg: error processing archive /var/cache/apt/archives/liberror-perl_0.17-1.2_all.deb (--unpack): subprocess dpkg-split returned error exit status 2 {"timestamp":"2019-01-09 02:07:02","level":"FATAL","file":"unionfs.c","line":1742,"msg":"rmdir can't create file: /home/jason/app/.docker/ubuntu/16.04/workspace/LCva6EfgE6/rw/var/lib/dpkg/.wh.reassemble.deb with error: Too many open files"} dpkg: error while cleaning up: unable to securely remove '/var/lib/dpkg/reassemble.deb': Too many open files dpkg (subprocess): unable to execute split package reassembly (dpkg-split): No such file or directory dpkg: error processing archive /var/cache/apt/archives/git-man_1%3a2.7.4-0ubuntu1.6_all.deb (--unpack): subprocess dpkg-split returned error exit status 2 {"timestamp":"2019-01-09 02:07:02","level":"FATAL","file":"unionfs.c","line":1742,"msg":"rmdir can't create file: /home/jason/app/.docker/ubuntu/16.04/workspace/LCva6EfgE6/rw/var/lib/dpkg/.wh.reassemble.deb with error: Too many open files"} dpkg: error while cleaning up: unable to securely remove '/var/lib/dpkg/reassemble.deb': Too many open files dpkg (subprocess): unable to execute split package reassembly (dpkg-split): No such file or directory dpkg: error processing archive /var/cache/apt/archives/git_1%3a2.7.4-0ubuntu1.6_amd64.deb (--unpack): subprocess dpkg-split returned error exit status 2 {"timestamp":"2019-01-09 02:07:02","level":"FATAL","file":"unionfs.c","line":1742,"msg":"rmdir can't create file: /home/jason/app/.docker/ubuntu/16.04/workspace/LCva6EfgE6/rw/var/lib/dpkg/.wh.reassemble.deb with error: Too many open files"} dpkg: error while cleaning up: unable to securely remove '/var/lib/dpkg/reassemble.deb': Too many open files dpkg (subprocess): unable to execute split package reassembly (dpkg-split): No such file or directory dpkg: error processing archive /var/cache/apt/archives/patch_2.7.5-1ubuntu0.16.04.1_amd64.deb (--unpack): subprocess dpkg-split returned error exit status 2 {"timestamp":"2019-01-09 02:07:03","level":"FATAL","file":"unionfs.c","line":1742,"msg":"rmdir can't create file: /home/jason/app/.docker/ubuntu/16.04/workspace/LCva6EfgE6/rw/var/lib/dpkg/.wh.reassemble.deb with error: Too many open files"} dpkg: error while cleaning up: unable to securely remove '/var/lib/dpkg/reassemble.deb': Too many open files dpkg (subprocess): unable to execute split package reassembly (dpkg-split): No such file or directory dpkg: error processing archive /var/cache/apt/archives/rename_0.20-4_all.deb (--unpack): subprocess dpkg-split returned error exit status 2 {"timestamp":"2019-01-09 02:07:03","level":"FATAL","file":"unionfs.c","line":1742,"msg":"rmdir can't create file: /home/jason/app/.docker/ubuntu/16.04/workspace/LCva6EfgE6/rw/var/lib/dpkg/.wh.reassemble.deb with error: Too many open files"} dpkg: error while cleaning up: unable to securely remove '/var/lib/dpkg/reassemble.deb': Too many open files Processing triggers for libc-bin (2.23-0ubuntu10) ... W: chmod 0700 of directory /var/cache/apt/archives/partial failed - SetupAPTPartialDirectory (2: No such file or directory) E: Sub-process /usr/bin/dpkg received a segmentation fault.

JasonYangShadow commented 5 years ago

should be fixed by this commit

https://github.com/JasonYangShadow/fakechroot/commit/44c2bb4787c0284a75cd1515845efbd2deb854c2