Skip to contentSkip to conversation

migration-guides/{migration,release-notes}-5.2.rst: notes for systemd pni-names

PATCH Superseded Antonin Godard 2 participants 3 messages Apr 15, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 migration-guides/{migration,release-notes}-5.2.rst: notes for systemd pni-names

Add a note to the migration guide regarding the pni-names behavior change.

---
 documentation/migration-guides/migration-5.2.rst     | 7 +++++++
 documentation/migration-guides/release-notes-5.2.rst | 7 ++++---
 2 files changed, 11 insertions(+), 3 deletions(-)
documentation/migration-guides/migration-5.2.rst +7 -0
index 6b7d02d65..9df04d291 100644
@@ -104,6 +104,13 @@ systemd changes
    ``journald.conf`` to "persistent". The ``/var/log/journal`` directory is now
    used for logging instead of ``/run/log``.
 
+-  If ``pni-names`` is not in the :term:`DISTRO_FEATURES`, the `Predictable
+   Network Interface names <https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/>`__
+   systemd feature will now be disabled. Previously the feature was still
+   enabled even if ``pni-names`` was part of :term:`DISTRO_FEATURES`. Make
+   sure to add the feature to :term:`DISTRO_FEATURES` if you want to keep this
+   systemd behavior.
+
 Multiconfig changes
 ~~~~~~~~~~~~~~~~~~~
 
documentation/migration-guides/release-notes-5.2.rst +4 -3
index ac9c6319a..0ac276c1e 100644
@@ -523,9 +523,10 @@ New Features / Enhancements in |yocto-ver|
          ``${libdir}`` if the ``set-time-epoch`` :term:`PACKAGECONFIG` config is
          set.
 
-      -  really disable Predictable Network Interface names if the ``pni-names``
-         feature is not part of :term:`DISTRO_FEATURES`. Previously it was only
-         really disable for QEMU machines.
+      -  really disable `Predictable Network Interface names
+         <https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/>`__
+         if the ``pni-names`` feature is not part of :term:`DISTRO_FEATURES`.
+         Previously it was only really disabled for QEMU machines.
 
       -  split ``networkd`` into its own package named ``systemd-networkd``.
 

---
base-commit: 1ed64dbdf4a60b000305cdc2c67dc24f4bc97ef7
change-id: 20250415-systemd-migration-note-36e893cced28

Best regards,
--
Antonin Godard <[email protected]>

#1 lore raw

Hello Antonin

Quoted 15 lines · Antonin Godard via lists.yoctoproject.org

Add a note to the migration guide regarding the pni-names behavior change.

---
  documentation/migration-guides/migration-5.2.rst     | 7 +++++++
  documentation/migration-guides/release-notes-5.2.rst | 7 ++++---
  2 files changed, 11 insertions(+), 3 deletions(-)
documentation/migration-guides/migration-5.2.rst +0 -0
index 6b7d02d65..9df04d291 100644

documentation/migration-guides/migration-5.2.rst systemd changes · line 110

Quoted 7 lines
documentation/migration-guides/migration-5.2.rst +4 -0
@@ -104,6 +104,13 @@ systemd changes
     ``journald.conf`` to "persistent". The ``/var/log/journal`` directory is now
     used for logging instead of ``/run/log``.
 
+-  If ``pni-names`` is not in the :term:`DISTRO_FEATURES`, the `Predictable
+   Network Interface names <https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/>`__
+   systemd feature will now be disabled. Previously the feature was still
+   enabled even if ``pni-names`` was part of :term:`DISTRO_FEATURES`. Make

Shouldn't this be "was *not* part of"?

Quoted 35 lines
documentation/migration-guides/migration-5.2.rst +3 -0
+   sure to add the feature to :term:`DISTRO_FEATURES` if you want to keep this
+   systemd behavior.
+
  Multiconfig changes
  ~~~~~~~~~~~~~~~~~~~
 
documentation/migration-guides/release-notes-5.2.rst +4 -4
index ac9c6319a..0ac276c1e 100644
@@ -523,9 +523,10 @@ New Features / Enhancements in |yocto-ver|
           ``${libdir}`` if the ``set-time-epoch`` :term:`PACKAGECONFIG` config is
           set.
 
-      -  really disable Predictable Network Interface names if the ``pni-names``
-         feature is not part of :term:`DISTRO_FEATURES`. Previously it was only
-         really disable for QEMU machines.
+      -  really disable `Predictable Network Interface names
+         <https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/>`__
+         if the ``pni-names`` feature is not part of :term:`DISTRO_FEATURES`.
+         Previously it was only really disabled for QEMU machines.
 
        -  split ``networkd`` into its own package named ``systemd-networkd``.
 
 
---

base-commit: 1ed64dbdf4a60b000305cdc2c67dc24f4bc97ef7
change-id: 20250415-systemd-migration-note-36e893cced28

Best regards,
--
Antonin Godard <[email protected]>

Quoted 8 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6746): https://lists.yoctoproject.org/g/docs/message/6746
Mute This Topic: https://lists.yoctoproject.org/mt/112275153/3616718
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Kind regards, Daniel

#2 lore raw

Hi Daniel,

Quoted 21 lines · Daniel Ammann

Hello Antonin

Quoted 18 lines · Antonin Godard via lists.yoctoproject.org

Add a note to the migration guide regarding the pni-names behavior change.

---
  documentation/migration-guides/migration-5.2.rst     | 7 +++++++
  documentation/migration-guides/release-notes-5.2.rst | 7 ++++---
  2 files changed, 11 insertions(+), 3 deletions(-)
documentation/migration-guides/migration-5.2.rst +0 -0
index 6b7d02d65..9df04d291 100644
@@ -104,6 +104,13 @@ systemd changes
     ``journald.conf`` to "persistent". The ``/var/log/journal`` directory is now
     used for logging instead of ``/run/log``.
 
Quoted 6 lines

documentation/migration-guides/migration-5.2.rst systemd changes · line 110

Quoted 4 lines
documentation/migration-guides/migration-5.2.rst +4 -0
+-  If ``pni-names`` is not in the :term:`DISTRO_FEATURES`, the `Predictable
+   Network Interface names <https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/>`__
+   systemd feature will now be disabled. Previously the feature was still
+   enabled even if ``pni-names`` was part of :term:`DISTRO_FEATURES`. Make

Shouldn't this be "was *not* part of"?

Well spotted, thanks.

Antonin

Signature · 3 lines
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com