X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-wr0-f182.google.com (mail-wr0-f182.google.com [209.85.128.182]) by lists.alpinelinux.org (Postfix) with ESMTP id 676BA5C4F83 for ; Wed, 18 Apr 2018 21:33:08 +0000 (GMT) Received: by mail-wr0-f182.google.com with SMTP id u11-v6so8541767wri.12 for ; Wed, 18 Apr 2018 14:33:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mongodb.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rJdu4WqcjHtBKJHMHoFvjn0MDDpNZ6K17DXK0oMLhLw=; b=hYR5WWZotHuqzRdvIBWuIUf7xKzBcf3uwxtc5gTm/pyquHeMfr+9h70izAYWfcmrDu 1xj3FELo6Xw5oK5oijG+ErcdcXqW1wtkU3pB51Z75OxsyPYguM8LEn+16nOaS/CB8/VW 8BxSeRgz5zziHoaRWJsIMWCrck3F2W0AUYGhM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=rJdu4WqcjHtBKJHMHoFvjn0MDDpNZ6K17DXK0oMLhLw=; b=gO4m6E43hGrR3d+psPuOdSOn+L2cLST+yQ5SviaqOAyOvKskj13HuBlHMzDmBqg0Ll WeJ+5NcLAe59hIVEHsZsBFMUwAoQM8DscYR+C5YKdiJCoLg8o9nt2PUrefLVE0myFBwZ 8BALgmc3EIACXHFw4hJCnv1jM8jysgPcMzB5tIXhE4Vtpwi6AnIT1B4MkWD4D5HvyHNE 28mF9ONmpeO0ISUaxeAqHZd6Ry6uKPqOmQn8GGKfBi2smujECAEI6e7PCaQf0MwUQviu ra461aKFK23oLsb2ZI9w1E+2UZhD18JBsBdEFMRqAP2dMvNcdEvlbKc4ewE8ul+iTkFf jb/w== X-Gm-Message-State: ALQs6tBFTMElayeQp05CvFf9eQAbt4wNOpZMZLDsAyM6sRhluIRAEsSP A5cWS3ZydCw0DS86PHmQJWWj6fVH6HWis548uhOVBA== X-Google-Smtp-Source: AIpwx4+FLihpKoLM/QQfx7qAldsGUaw+2ynR5TYh78nKLTa6M+OF2hDhXr8w61Tczzogo8Mk2IP921afQgZtEve6WRk= X-Received: by 10.80.215.138 with SMTP id w10mr5344951edi.10.1524087183403; Wed, 18 Apr 2018 14:33:03 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.80.152.196 with HTTP; Wed, 18 Apr 2018 14:33:02 -0700 (PDT) In-Reply-To: <3B237E01-4A49-49E0-B23A-92A5CF8AE9B9@free.fr> References: <3B237E01-4A49-49E0-B23A-92A5CF8AE9B9@free.fr> From: Ramon Fernandez Date: Wed, 18 Apr 2018 17:33:02 -0400 Message-ID: Subject: [alpine-devel] Re: Dangerous build configuration in Alpine Linux port of MongoDB To: Marc Vertes Cc: filipp.andronov@gmail.com, alpine-devel@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="f403045dbbec411c25056a2633a8" --f403045dbbec411c25056a2633a8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for the prompt response Marc, and for forwarding this to the right place! Feel free to reach out if there are any further questions about this issue. Cheers, Ram=C3=B3n. On Wed, Apr 18, 2018 at 4:42 PM, Marc Vertes wrote: > 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, bu= t > 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 : > > > > Hi Filipp, Marc, > > > > my name is Ram=C3=B3n, and I work at MongoDB. Recently a user of the Al= pine > 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. > > > > Building MongoDB with a WiredTiger library other than the one included > in the MongoDB source tree is not only unsupported, but extremely dangero= us > =E2=80=94 each patch version of MongoDB is tailored to a specific WiredTi= ger 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 p= ublicly > before with a RedHat maintainer. > > > > 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 v= ersion > mismatch can lead to much worse outcomes. > > > > 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. > > > > Regards, > > Ram=C3=B3n. > > > > --f403045dbbec411c25056a2633a8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for the prompt response Marc, and for forwarding= this to the right place! Feel free to reach out if there are any further q= uestions about this issue.

Cheers,
Ram=C3=B3n.=

On We= d, Apr 18, 2018 at 4:42 PM, Marc Vertes <mvertes@free.fr> wrot= e:
Hi Ramon,

Thanks for reaching this issue. For your information, I've already subm= itted a patch yesterday to alpine maintainers to fix the "cache_cursor= s" 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 rele= ase.

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 m= aintainers be aware of the situation,

Thanks again

Regards,
Marc

> Le 18 avr. 2018 =C3=A0 21:46, Ramon Fernandez <ramon@mongodb.com> a =C3=A9crit :
>
> Hi Filipp, Marc,
>
> my name is Ram=C3=B3n, and I work at MongoDB. Recently a user of the A= lpine 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 "--u= se-system-wiredtiger=E2=80=9D build option.
>
> Building MongoDB with a WiredTiger library other than the one included= in the MongoDB source tree is not only unsupported, but extremely dangerou= s =E2=80=94 each patch version of MongoDB is tailored to a specific WiredTi= ger tree. Any other configuration is untested and can lead to undefined beh= avior, which for a database is a dangerous thing. We=E2=80=99ve discussed t= his publicly before with a RedHat maintainer.
>
> The issue we=E2=80=99ve seen is that MongoDB 3.6.4 introduces a new co= nfiguration 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 M= ongoDB 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.
>
> 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.
>
> Regards,
> Ram=C3=B3n.
>


--f403045dbbec411c25056a2633a8-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---