X-Original-To: alpine-devel@lists.alpinelinux.org Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by lists.alpinelinux.org (Postfix) with ESMTP id CF51B5C4F63 for ; Wed, 18 Apr 2018 20:42:31 +0000 (GMT) X-Originating-IP: 90.63.241.33 Received: from [192.168.1.13] (LMontsouris-657-1-6-33.w90-63.abo.wanadoo.fr [90.63.241.33]) (Authenticated sender: mvertes@luca-sas.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id F1E70240009; Wed, 18 Apr 2018 22:42:30 +0200 (CEST) Content-Type: text/plain; charset=utf-8 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: [alpine-devel] Re: Dangerous build configuration in Alpine Linux port of MongoDB From: Marc Vertes In-Reply-To: Date: Wed, 18 Apr 2018 22:42:49 +0200 Cc: filipp.andronov@gmail.com, alpine-devel@lists.alpinelinux.org Content-Transfer-Encoding: quoted-printable Message-Id: <3B237E01-4A49-49E0-B23A-92A5CF8AE9B9@free.fr> References: To: Ramon Fernandez X-Mailer: Apple Mail (2.3445.6.18) Hi Ramon, Thanks for reaching this issue. For your information, I've already = submitted a patch yesterday to alpine maintainers to fix the = "cache_cursors" issue, and at least fix the starting problem of 3.6.4, = but I agree with you it may be lucky case and offers no strong warranty = for future release. I will follow your advice, and propose a change of the APK to build = against the wiredtiger tree provided by mongodb source. I'm forwarding to alpine dev mailing list as well to let other alpine = maintainers be aware of the situation, Thanks again Regards, Marc > Le 18 avr. 2018 =C3=A0 21:46, Ramon Fernandez a = =C3=A9crit : >=20 > Hi Filipp, Marc, >=20 > my name is Ram=C3=B3n, and I work at MongoDB. Recently a user of the = Alpine port of MongoDB run into a problem using the 3.6.4 version, and = after inspecting the APKBUILD file we=E2=80=99ve seen that it uses the = "--use-system-wiredtiger=E2=80=9D build option. >=20 > Building MongoDB with a WiredTiger library other than the one included = in the MongoDB source tree is not only unsupported, but extremely = dangerous =E2=80=94 each patch version of MongoDB is tailored to a = specific WiredTiger tree. Any other configuration is untested and can = lead to undefined behavior, which for a database is a dangerous thing. = We=E2=80=99ve discussed this publicly before with a RedHat maintainer. >=20 > The issue we=E2=80=99ve seen is that MongoDB 3.6.4 introduces a new = configuration options, =E2=80=9Ccache_cursors=E2=80=9D, which is not = part of any existing WiredTiger release. This will cause the Alpine = Linux port of MongoDB 3.6.4 to fail with an error at startup. This is = the lucky case =E2=80=94 this version mismatch can lead to much worse = outcomes. >=20 > I=E2=80=99d strongly encourage you to address this issue promptly. = I=E2=80=99ll be happy to open a bug report if necessary, but I figured = I=E2=80=99d contact you first directly to see if you have any questions = on the matter. >=20 > Regards, > Ram=C3=B3n. >=20 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---