run on newer Linux kernels - #280
Conversation
error message is: MongoDB cannot start: Linux kernel versions 6.19 and newer has a known incompatibility with this version of MongoDB. See https://jira.mongodb.org/browse/SERVER-121912 for more information. according to OpenCode, 8.0.4 is working in all cases. I can confirm that for 7.1.5-arch1-2
|
Hi @MarDiehl , As far as I know containers would use the host linux kernel so changing the image version here wouldn't result in the containers "run on newer Linux kernels" I have been personally using this workaround for dev (#245 (comment)) but I'm not sure if this is suitable for non-testing env, as MongoDB 8.0 prior to 8.0.5 has CVEs:
The this TCMalloc incompatibility guard was added in 8.0.21: Previous way to patch was to disable glibc RSEQ for this container with a potential performance loss, i.e.: mongo:
environment:
GLIBC_TUNABLES: glibc.pthread.rseq=1And upon a second look this incompatiblity has been solved from the Linux kernel side:
And your kernel ( |
|
There's another reason why were not able to bump this version yet. We upgraded from mongo 5 -> mongo 8 earlier this year. For the automatic upgrade to work, we needed to have the final version set to 8.0. |
error message is:
MongoDB cannot start: Linux kernel versions 6.19 and newer has a known incompatibility with this version of MongoDB. See https://jira.mongodb.org/browse/SERVER-121912 for more information.
according to OpenCode, 8.0.4 is working in all cases. I can confirm that for 7.1.5-arch1-2