[SERVER-59705] Mongo 4.4.6 / 4.4.8 Enterprise shell missing libsasl.dll Created: 01/Sep/21  Updated: 29/Oct/23  Resolved: 17/Sep/21

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 4.4.8
Fix Version/s: 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Emilio Scalise Assignee: Sergey Galtsev (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2021-09-01 at 11.52.42.png     PNG File image-2021-09-17-10-45-00-044.png     PNG File image-2021-09-17-10-46-29-716.png     PNG File image-2021-09-17-10-47-41-921.png    
Issue Links:
Related
is related to SERVER-60050 investigate if it is possible to auto... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:
Sprint: Security 2021-09-20
Participants:
Case:

 Description   

If you try to download the Mongo shell zip archive for Windows, the mongo shell won't start complaining that libsasl.dll is missing:

https://downloads.mongodb.com/windows/mongodb-shell-windows-x86_64-enterprise-4.4.6.zip

https://downloads.mongodb.com/windows/mongodb-shell-windows-x86_64-enterprise-4.4.8.zip

Also it should be more clear from the download page which Vcredist package needs to be installed to use it.

The full server zip file has the library libsasl.dll in it, eg:
https://downloads.mongodb.com/windows/mongodb-windows-x86_64-enterprise-4.4.8.zip



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 21/Sep/21 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-59705 add sasl and netsnmp libs as deps
Branch: SERVER-58852
https://github.com/10gen/mongo-enterprise-modules/commit/2c018bbf056c9649476fc9dac0d1909b6140d2ba

Comment by Githook User [ 17/Sep/21 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-59705 add sasl and netsnmp libs as deps
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/2c018bbf056c9649476fc9dac0d1909b6140d2ba

Comment by Githook User [ 17/Sep/21 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-59705 add sasl and netsnmp libs as deps
Branch: SERVER-59705
https://github.com/10gen/mongo-enterprise-modules/commit/59ab0aeca590aa160e74b57b6326e687dd9d7f03

Comment by Githook User [ 17/Sep/21 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-59705 enterprise shell should have libsasl
Branch: SERVER-59705
https://github.com/10gen/mongo-enterprise-modules/commit/c3a7e44bae6b09ccc329df20bed12bc708551646

Comment by Sergey Galtsev (Inactive) [ 17/Sep/21 ]

Dependencies found:

 

mongo.exe -> libsasl.dll

mongod.exe -> libsasl.dll,netsnmp.dll

mongos.exe -> libsasl.dll

 

 

Comment by Sergey Galtsev (Inactive) [ 17/Sep/21 ]

acm is requesting following expansion of this ticket:

I asked this before:

I think we should consider what ... might be. It depends a bit on what things actually depend on this at runtime. Does mongod? mongos? The answer will vary depending.

I think we need to answer that, for both SASL and SNMP libraries. The issue is that it is legit, for instance, to build, say:

scons archive-mongod, which should get you a tarball containing mongod and all of its dependencies. Ditto for mongos. So we need to be explicit about components here, unfortunately. Having dist is good, because it will get it for our distribution tarballs.

TBH, I'd prefer that we not need to do this, and have AIB pick up the dependency automatically like it does for other runtime libraries. Then we wouldn't need to tag these libraries at all maybe. So I suggest that we:

Identify which of the 'core' binaries have runtime dependencies on SASL and SNMP and add them here explicitly (so, some subset of [shell, mongod, and mongos].
File a follow-up ticket back to SDP to investigate whether we find a way to eliminate the need to do this tagging at all, and have the usual runtime dependency drag along handle it for us, so we don't need to manually maintain the list of components.

Comment by Githook User [ 16/Sep/21 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-59705 enterprise shell should have libsasl
Branch: SERVER-59705
https://github.com/10gen/mongo-enterprise-modules/commit/f1b3e052340cdf3d840a51c90d1fffcfa0319392

Comment by Githook User [ 16/Sep/21 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-59705 enterprise shell should have libsasl
Branch: SERVER-59705
https://github.com/10gen/mongo-enterprise-modules/commit/4db4256764f903e77290a75ca93e078534d5bb24

Comment by Githook User [ 16/Sep/21 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-59705 enterprise shell should have libsasl
Branch: SERVER-59705
https://github.com/10gen/mongo-enterprise-modules/commit/2eab2da59338b4de7ff3fb1a15272a87cb03b9e5

Comment by Githook User [ 15/Sep/21 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-59705 enterprise shell should have libsasl
Branch: SERVER-59705
https://github.com/10gen/mongo-enterprise-modules/commit/71e1fb64d2f06fada06f7283d45999d0068a6628

Comment by Githook User [ 15/Sep/21 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-59705 enterprise shell should have libsasl
Branch: SERVER-59705
https://github.com/10gen/mongo-enterprise-modules/commit/f94f984f0f783e7a149db7669cea6fdd27465b49

Comment by Sergey Galtsev (Inactive) [ 09/Sep/21 ]

https://github.com/10gen/mongo-enterprise-modules/pull/78

Comment by Githook User [ 08/Sep/21 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-59705 enterprise shell should have libsasl
Branch: SERVER-59705
https://github.com/10gen/mongo-enterprise-modules/commit/f70bc7f4d43bb2024125fbffff5ac3a7d3f8aa48

Generated at Thu Feb 08 05:47:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.