Bug 1284065

Summary: Add ifrename.service
Product: [Fedora] Fedora Reporter: nucleo <alekcejk>
Component: wireless-toolsAssignee: Lubomir Rintel <lkundrak>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dcbw, linville, lkundrak
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-20 17:15:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description nucleo 2015-11-20 17:10:20 UTC
Description of problem:
Service for renaming interfaces according to rules stored in /etc/iftab can be useful. Here example of ifrename.service unit file


[Unit]
Description=Rename network interfaces according to /etc/iftab
Wants=network.target
Before=network.target

[Service]
Type=oneshot
ExecStart=/usr/sbin/ifrename

[Install]
WantedBy=multi-user.target



Also /etc/iftab config file with commented examples from 'man iftab' can be added.

Comment 1 Lubomir Rintel 2015-11-20 17:15:21 UTC
Please just set a NAME= attribute with an udev rule.

It provides a superset of the ifrename functionality without a need for an extra service.