Bug 1284065 - Add ifrename.service
Summary: Add ifrename.service
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: wireless-tools
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-20 17:10 UTC by nucleo
Modified: 2015-11-20 17:15 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-11-20 17:15:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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