Page MenuHomeFreeBSD

linux: switch off interface name translation and schedule its removal
ClosedPublic

Authored by glebius on Jun 25 2026, 9:32 PM.
Tags
None
Referenced Files
F167327690: D57852.diff
Thu, Aug 20, 10:45 PM
Unknown Object (File)
Mon, Aug 17, 2:02 AM
Unknown Object (File)
Thu, Aug 13, 12:33 AM
Unknown Object (File)
Tue, Aug 11, 11:50 PM
Unknown Object (File)
Tue, Aug 11, 11:50 PM
Unknown Object (File)
Tue, Aug 11, 11:41 PM
Unknown Object (File)
Sun, Aug 9, 12:25 PM
Unknown Object (File)
Sun, Aug 9, 6:24 AM
Subscribers

Details

Summary

Modern Linuxes don't use ethX for almost 15 years already, see [1] and
[2]. The translation logic has always been a source of bugs and PITA.
Switch default to not translate (long due!) and schedule removal of the
code for FreeBSD 17.

[1] https://systemd.io/PREDICTABLE_INTERFACE_NAMES/
[2] https://www.freedesktop.org/software/systemd/man/latest/systemd.net-naming-scheme.html

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74266
Build 71149: arc lint + arc unit

Event Timeline

The actual print looks like:

linux(4): use_real_ifnames: conversion of native interface names to ethN is not needed to emulate modern Linux. See https://systemd.io/PREDICTABLE_INTERFACE_NAMES. To be removed in FreeBSD 17
This revision is now accepted and ready to land.Jul 7 2026, 4:49 PM