commit | 25f35402a3a45e4499ee24c1938ad7f73290ec7f | [log] [tgz] |
---|---|---|
author | Jason Zhou <jasonzhou460@gmail.com> | Mon Jul 15 13:06:54 2024 -0400 |
committer | Benjamin Mahler <bmahler@apache.org> | Mon Jul 15 13:21:31 2024 -0400 |
tree | 6a2cf4964914363700c2d45fd7c0e90828fd57ad | |
parent | d0db6654094821cfb7520720041b30abef974d5b [diff] |
[veth] Avoid udev race condtion on systems with systemd version > 242. In systems with systemd version above 242, there is a potential data race where udev will try to update the MAC address of the device at the same time as us if the systemd's MacAddressPolicy is set to 'persistent'. To prevent udev from trying to set the veth device's MAC address by itself, we must set the device MAC address on creation so that addr_assign_type will be set to NET_ADDR_SET, which prevents udev from attempting to change the MAC address of the veth device. See: https://github.com/torvalds/linux/commit/2afb9b533423a9b97f84181e773cf9361d98fed6 See: https://lore.kernel.org/netdev/CAHXsExy8LKzocBdBzss_vjOpc_TQmyzM87KC192HpmuhMcqasg@mail.gmail.com/T/ See: https://issues.apache.org/jira/browse/MESOS-10243 Review: https://reviews.apache.org/r/75086/
Apache Mesos is a cluster manager that provides efficient resource isolation and sharing across distributed applications, or frameworks. It can run Hadoop, Jenkins, Spark, Aurora, and other frameworks on a dynamically shared pool of nodes.
Visit us at mesos.apache.org.
Documentation is available in the docs/ directory. Additionally, a rendered HTML version can be found on the Mesos website's Documentation page.
Instructions are included on the Getting Started page.
Apache Mesos is licensed under the Apache License, Version 2.0.
For additional information, see the LICENSE and NOTICE files.