Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#63252 - kernel 5.2: regression in overlayfs causes snap and docker to fail
Attached to Project:
Arch Linux
Opened by Ludovic Fauvet (etix) - Monday, 22 July 2019, 10:33 GMT
Last edited by freswa (frederik) - Saturday, 22 February 2020, 21:21 GMT
Opened by Ludovic Fauvet (etix) - Monday, 22 July 2019, 10:33 GMT
Last edited by freswa (frederik) - Saturday, 22 February 2020, 21:21 GMT
|
DetailsDescription: A regression in overlayfs makes application like snap and docker to fail
Additional info: * Kernel patch: https://kernel.googlesource.com/pub/scm/linux/kernel/git/mszeredi/vfs/+/0be0bfd2de9dfdd2098a9c5b14bdd8f739c9165d * Issue on docker/moby: https://github.com/moby/moby/issues/34672 Steps to reproduce: * use kernel 5.2 * build a docker image * the build fails with warnings about upper/work dir The fix was apparently not yet merged in 5.2.2, applying the aforementioned patch should solve the issue until the final fix is pulled into the official kernel tree. |
This task depends upon
Closed by freswa (frederik)
Saturday, 22 February 2020, 21:21 GMT
Reason for closing: Fixed
Additional comments about closing: 5.3.1
Saturday, 22 February 2020, 21:21 GMT
Reason for closing: Fixed
Additional comments about closing: 5.3.1
Related commit in moby [2]
[1] https://github.com/docker/docker-ce/releases/tag/v19.03.2
[2] https://github.com/moby/moby/commit/477bf1e413708076f9ed8cd316102765cc5bdb11
Edit:
PKGBUILD2.diff switch to patch from git cherry-pick
Edit2:
PKGBUILD3.diff use ce5b02683e83ec9aa89927a9ce5d276787cc8823 [1]
PKGBUILD includes changes from PKGBUILD3.diff
@etix does the attached PKGBUILD resolve the issue for you?
[1] https://github.com/docker/docker-ce/commit/ce5b02683e83ec9aa89927a9ce5d276787cc8823
The issue was introduced to 4.19.Y in 4.19.56 [3] by f1c5aa5eda08710c2ba619d93126380881fa1114
[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/commit/queue-4.19/ovl-fix-regression-caused-by-overlapping-layers-detection.patch?id=259f2583de066230351a469043e1e28b2e95c361
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/commit/queue-5.3/usb-usbcore-fix-slab-out-of-bounds-bug-during-device-reset.patch?id=45277aff6c4237f8ed051e30361b020bb94fd927
[3] https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.56