[SERVER-45732] Filter flags from net-snmp-config invocation more aggressively Created: 23/Jan/20  Updated: 29/Oct/23  Resolved: 27/Jan/20

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 4.2.4, 4.0.16, 3.6.18, 4.3.4

Type: Task Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2, v4.0, v3.6, v3.4
Sprint: Dev Platform 2020-01-27, Dev Platform 2020-02-10
Participants:

 Description   

We invoke the net-snmp-config utility to identify the flags that we should use when linking to netnsmp. However, some of the flags that it passes back are not actually appropriate for use in our system. We should more aggressively filter or whitelist to avoid adding these flags to our builds.



 Comments   
Comment by Githook User [ 29/Jan/20 ]

Author:

{'name': 'Andrew Morrow', 'email': 'andrew.morrow@10gen.com'}

Message: SERVER-45732 Don't allow the pci library on our link line

(cherry picked from commit 229d096c88d2bf8186df53fd4edec8c5ddc42679)
(cherry picked from commit 011503dd95efc4f448bbb26cc7dc3660b7a2d3b0)
(cherry picked from commit c7b713d6dd060048737c5d5bc89888a77dbc04ed)
Branch: v3.6
https://github.com/10gen/mongo-enterprise-modules/commit/99c9b2c3e6d91bc614397a9692c4c5bafdd50997

Comment by Githook User [ 28/Jan/20 ]

Author:

{'email': 'andrew.morrow@10gen.com', 'name': 'Andrew Morrow'}

Message: SERVER-45732 Don't allow the pci library on our link line

(cherry picked from commit 229d096c88d2bf8186df53fd4edec8c5ddc42679)
(cherry picked from commit 011503dd95efc4f448bbb26cc7dc3660b7a2d3b0)
Branch: v4.0
https://github.com/10gen/mongo-enterprise-modules/commit/c7b713d6dd060048737c5d5bc89888a77dbc04ed

Comment by Githook User [ 27/Jan/20 ]

Author:

{'name': 'Andrew Morrow', 'email': 'andrew.morrow@10gen.com'}

Message: SERVER-45732 Don't allow the pci library on our link line

(cherry picked from commit 229d096c88d2bf8186df53fd4edec8c5ddc42679)
Branch: v4.2
https://github.com/10gen/mongo-enterprise-modules/commit/011503dd95efc4f448bbb26cc7dc3660b7a2d3b0

Comment by Githook User [ 24/Jan/20 ]

Author:

{'name': 'Andrew Morrow', 'email': 'andrew.morrow@10gen.com'}

Message: SERVER-45732 Don't allow the pci library on our link line
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/229d096c88d2bf8186df53fd4edec8c5ddc42679

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