Bug 6995 - VSM Agent only runs "sysctl -w net.ipv4.ip_local_port_range" on Python "linux2" platforms
Summary: VSM Agent only runs "sysctl -w net.ipv4.ip_local_port_range" on Python "linux...
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Agent (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.9.0
Assignee: Karl Mikaelsson
Keywords: hean01_tester, prosaic
Depends on:
Reported: 2017-06-20 11:14 CEST by Peter Åstrand
Modified: 2017-08-21 12:38 CEST (History)
2 users (show)

See Also:
Acceptance Criteria:


Description Peter Åstrand cendio 2017-06-20 11:14:45 CEST
In some versions of Python (including the one in cenbuild), sys.platform is "linux3". See https://docs.python.org/2.7/library/sys.html . However, we currently have this code:

if "linux2" == sys.platform:
Comment 1 Pierre Ossman cendio 2017-06-20 13:14:15 CEST
Fix now since it is causing issues for our automatic tests.
Comment 3 Henrik Andersson cendio 2017-08-21 12:37:19 CEST
Fix looks good and it seems to work as expected.

Note You need to log in before you can comment on or make changes to this bug.