diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2025-09-12 15:56:59 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-09-16 12:09:41 +0100 |
commit | 8fecfe98c93e62532a3f8c99a00ad195aa8ffbde (patch) | |
tree | 15b5fd0880ab8ca2d384341b5a480311b1407054 /documentation | |
parent | ef5c17601a1f19389a573a749bcb11fbd02dc55a (diff) | |
download | poky-8fecfe98c93e62532a3f8c99a00ad195aa8ffbde.tar.gz |
migration-guides/migration-5.3.rst: add note on systemd pni-names change
Add a migration note on the pni-names default policy change after commit
9b34a810496f ("systemd: stop enabling non-standard "mac" policy when
using the 'pni-names' DISTRO_FEATURE") in OE-Core.
Cc: Koen Kooi <koen.kooi@oss.qualcomm.com>
Cc: Ross Burton <Ross.Burton@arm.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 237f28de0bf8d1e1be60a0d9429b3a98740778e9)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/migration-guides/migration-5.3.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/documentation/migration-guides/migration-5.3.rst b/documentation/migration-guides/migration-5.3.rst index 1b767374d5..748e51bb67 100644 --- a/documentation/migration-guides/migration-5.3.rst +++ b/documentation/migration-guides/migration-5.3.rst | |||
@@ -118,6 +118,22 @@ class. Instead, one should create a new recipe to build this FIT image, as | |||
118 | described in the :ref:`Removed Classes <migration-guides/migration-5.3:Removed | 118 | described in the :ref:`Removed Classes <migration-guides/migration-5.3:Removed |
119 | Classes>` section of the Migration notes for |yocto-ver| (|yocto-codename|). | 119 | Classes>` section of the Migration notes for |yocto-ver| (|yocto-codename|). |
120 | 120 | ||
121 | systemd Predictable Interface Names no longer MAC policy by default | ||
122 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
123 | |||
124 | The :oe_git:`systemd recipe </openembedded-core/tree/meta/recipes-core/systemd>` | ||
125 | used to forcibly set the "mac" policy by default when the ``pni-names`` | ||
126 | :term:`distro feature <DISTRO_FEATURES>` is enabled. | ||
127 | |||
128 | This is no longer the case as this was not following upstream changes. Now when | ||
129 | the ``pni-names`` :term:`distro feature <DISTRO_FEATURES>` is enabled, the | ||
130 | default policy from systemd is selected (from | ||
131 | https://github.com/systemd/systemd/blob/v257.8/network/99-default.link). | ||
132 | |||
133 | To set back the "mac" policy in systemd (version 257.8 at the time of writing | ||
134 | this note), you should set the ``NamePolicy`` and ``AlternativeNamesPolicy`` as | ||
135 | detailed in :manpage:`systemd.link(5)`. | ||
136 | |||
121 | Supported kernel versions | 137 | Supported kernel versions |
122 | ~~~~~~~~~~~~~~~~~~~~~~~~~ | 138 | ~~~~~~~~~~~~~~~~~~~~~~~~~ |
123 | 139 | ||