Bug 2435344 - Review Request: net-naming-sysattrs - Mechanism to emulate older network device naming behavior
Summary: Review Request: net-naming-sysattrs - Mechanism to emulate older network devi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: José Ignacio Tornos Martínez
QA Contact: Fedora Extras Quality Assurance
URL: https://gitlab.com/mschmidt2/net-nami...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-29 18:31 UTC by Michal Schmidt
Modified: 2026-02-02 13:29 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-02-02 13:29:20 UTC
Type: ---
Embargoed:
jtornosm: fedora-review+


Attachments (Terms of Use)

Description Michal Schmidt 2026-01-29 18:31:43 UTC
Spec URL: https://people.redhat.com/mschmidt/net-naming-sysattrs/net-naming-sysattrs.spec

SRPM URL: https://download.copr.fedorainfracloud.org/results/michich/net-naming-sysattrs/fedora-rawhide-x86_64/10074763-net-naming-sysattrs/net-naming-sysattrs-263-1.fc44.src.rpm

Description:
This package provides hwdb and udev rules to filter the sysfs attributes used
by systemd-udev for network device naming.

Historically, the introduction of the "phys_port_name" attribute in newer
kernels caused interface names to change for certain drivers. While these names
can be manually reconfigured with systemd.link files or custom udev rules, this
package offers a streamlined mechanism to emulate the naming behavior of older
distribution releases (RHEL 9.0 and later).

The desired naming scheme can be specified on the kernel command line:
  net.naming-scheme=rhel-9.6
(Default: rhel-9.0)

Fedora Account System Username: michich

Comment 1 Fedora Review Service 2026-01-29 18:35:38 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10076472
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2435344-net-naming-sysattrs/fedora-rawhide-x86_64/10076472-net-naming-sysattrs/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Michal Schmidt 2026-01-29 18:48:48 UTC
I also have a config file to suppress rpmlint false positives (for rpmlint -r ...): 
https://people.redhat.com/mschmidt/net-naming-sysattrs/net-naming-sysattrs.rpmlintrc

Comment 3 José Ignacio Tornos Martínez 2026-01-30 15:47:05 UTC
Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed



===== MUST items =====

Generic:
[ ]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[ ]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "MIT License". Detailed output of licensecheck in
     /home/jtornosm/REPOS/FEDORA_PACKAGE_REVIEW/2435344-net-naming-
     sysattrs/licensecheck.txt
[ ]: Package contains no bundled libraries without FPC exception.
[ ]: Changelog in prescribed format.
[ ]: Sources contain only permissible code or content.
[ ]: Package contains desktop file if it is a GUI application.
[ ]: Development files must be in a -devel package
[ ]: Package uses nothing in %doc for runtime.
[ ]: Package consistently uses macros (instead of hard-coded directory
     names).
[ ]: Package is named according to the Package Naming Guidelines.
[ ]: Package does not generate any conflict.
[ ]: Package obeys FHS, except libexecdir and /usr/target.
[ ]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[ ]: Requires correct, justified where necessary.
[ ]: Spec file is legible and written in American English.
[ ]: Package contains systemd file(s) if in need.
[ ]: Package is not known to require an ExcludeArch tag.
[ ]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %license.
[x]: The License field must be a valid SPDX expression.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package must not depend on deprecated() packages.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 648 bytes in 1 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[ ]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[ ]: Final provides and requires are sane (see attachments).
[ ]: Package functions as described.
[ ]: Latest version is packaged.
[ ]: Package does not include license text files separate from upstream.
[ ]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[ ]: Package should compile and build into binary rpms on all supported
     architectures.
[ ]: %check is present and all tests pass.
[ ]: Packages should try to preserve timestamps of original installed
     files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[!]: Spec file according to URL is the same as in SRPM.
     Note: Spec file as given by url is not the same as in SRPM (see
     attached diff).
     See: (this test has no URL)
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).


Rpmlint
-------
Checking: net-naming-sysattrs-263-1.fc44.noarch.rpm
          net-naming-sysattrs-263-1.fc44.src.rpm
============================ rpmlint session starts ============================
rpmlint: 2.8.0
configuration:
    /usr/lib/python3.13/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmpzv0whoq6')]
checks: 32, packages: 2

net-naming-sysattrs.noarch: E: spelling-error ('hwdb', '%description -l en_US hwdb -> bawd')
net-naming-sysattrs.noarch: E: spelling-error ('sysfs', '%description -l en_US sysfs -> sysops')
net-naming-sysattrs.noarch: E: spelling-error ('systemd', '%description -l en_US systemd -> systems, system, system d')
net-naming-sysattrs.noarch: E: spelling-error ('rhel', '%description -l en_US rhel -> rel, reel, rhea')
net-naming-sysattrs.src: E: spelling-error ('hwdb', '%description -l en_US hwdb -> bawd')
net-naming-sysattrs.src: E: spelling-error ('sysfs', '%description -l en_US sysfs -> sysops')
net-naming-sysattrs.src: E: spelling-error ('systemd', '%description -l en_US systemd -> systems, system, system d')
net-naming-sysattrs.src: E: spelling-error ('rhel', '%description -l en_US rhel -> rel, reel, rhea')
net-naming-sysattrs.noarch: W: only-non-binary-in-usr-lib
 2 packages and 0 specfiles checked; 8 errors, 1 warnings, 9 filtered, 8 badness; has taken 0.1 s 




Rpmlint (installed packages)
----------------------------
============================ rpmlint session starts ============================
rpmlint: 2.8.0
configuration:
    /usr/lib/python3.14/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 32, packages: 1

net-naming-sysattrs.noarch: E: spelling-error ('hwdb', '%description -l en_US hwdb -> bawd')
net-naming-sysattrs.noarch: E: spelling-error ('sysfs', '%description -l en_US sysfs -> sysops')
net-naming-sysattrs.noarch: E: spelling-error ('systemd', '%description -l en_US systemd -> systems, system, system d')
net-naming-sysattrs.noarch: E: spelling-error ('rhel', '%description -l en_US rhel -> rel, reel, rhea')
net-naming-sysattrs.noarch: W: only-non-binary-in-usr-lib
 1 packages and 0 specfiles checked; 4 errors, 1 warnings, 3 filtered, 4 badness; has taken 0.0 s 



Source checksums
----------------
https://gitlab.com/mschmidt2/net-naming-sysattrs/-/archive/v263/net-naming-sysattrs-v263.tar.gz :
  CHECKSUM(SHA256) this package     : ba2e5f1280b3ecc182c4cb00ad464ffafd497b492fb2659f3fcd50cc478dbaae
  CHECKSUM(SHA256) upstream package : ba2e5f1280b3ecc182c4cb00ad464ffafd497b492fb2659f3fcd50cc478dbaae


Requires
--------
net-naming-sysattrs (rpmlib, GLIBC filtered):
    /usr/bin/bash
    dracut
    systemd-udev



Provides
--------
net-naming-sysattrs:
    net-naming-sysattrs
    rhel-net-naming-sysattrs



Diff spec file in url and in SRPM
---------------------------------
--- /home/jtornosm/REPOS/FEDORA_PACKAGE_REVIEW/2435344-net-naming-sysattrs/srpm/net-naming-sysattrs.spec	2026-01-30 16:35:54.002206798 +0100
+++ /home/jtornosm/REPOS/FEDORA_PACKAGE_REVIEW/2435344-net-naming-sysattrs/srpm-unpacked/net-naming-sysattrs.spec	2026-01-28 01:00:00.000000000 +0100
@@ -1,2 +1,7 @@
+## START: Set by rpmautospec
+## (rpmautospec version 0.8.3)
+## RPMAUTOSPEC: autochangelog
+## END: Set by rpmautospec
+
 %global dracutmoddir %{_prefix}/lib/dracut/modules.d
 
@@ -58,3 +63,6 @@
 
 %changelog
-%autochangelog
+## START: Generated by rpmautospec
+* Wed Jan 28 2026 John Doe <packager> - 263-1
+- Uncommitted changes
+## END: Generated by rpmautospec


Generated by fedora-review 0.10.0 (e79b66b) last change: 2023-07-24
Command line :/usr/bin/fedora-review -b 2435344
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api
Disabled plugins: Java, Haskell, R, Python, Ocaml, C/C++, fonts, Perl, PHP, SugarActivity
Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH

Comment 4 José Ignacio Tornos Martínez 2026-01-30 15:51:37 UTC
The findings are known false positives as commented by Michal Schmidt.
Differences in spec file are not important.
I will proceed with the manual checks.

Comment 5 José Ignacio Tornos Martínez 2026-01-30 17:38:36 UTC
Manual review:
[M]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[M]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "MIT License". Detailed output of licensecheck in
     /home/jtornosm/REPOS/FEDORA_PACKAGE_REVIEW/2435344-net-naming-
     sysattrs/licensecheck.txt
[M]: Package contains no bundled libraries without FPC exception.
[M]: Changelog in prescribed format.
[M]: Sources contain only permissible code or content.
[M]: Package contains desktop file if it is a GUI application.
[M]: Development files must be in a -devel package
[M]: Package uses nothing in %doc for runtime.
[M]: Package consistently uses macros (instead of hard-coded directory
     names).
[M]: Package is named according to the Package Naming Guidelines.
[M]: Package does not generate any conflict.
[M]: Package obeys FHS, except libexecdir and /usr/target.
[M]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[M]: Requires correct, justified where necessary.
[M]: Spec file is legible and written in American English.
[M]: Package contains systemd file(s) if in need.
[M]: Package is not known to require an ExcludeArch tag.
[M]: Package complies to the Packaging Guidelines

Comment 6 Fedora Admin user for bugzilla script actions 2026-02-02 12:48:26 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/net-naming-sysattrs

Comment 7 Fedora Update System 2026-02-02 13:04:55 UTC
FEDORA-2026-28b56c7e1b (net-naming-sysattrs-263-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-28b56c7e1b

Comment 8 Fedora Update System 2026-02-02 13:29:20 UTC
FEDORA-2026-28b56c7e1b (net-naming-sysattrs-263-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.


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