Bug 1107328 - "PEERROUTES" can be found in "/etc/sysconfig/network-scripts/ifcfg-em1" on new system. Isn't that obsolete?
Summary: "PEERROUTES" can be found in "/etc/sysconfig/network-scripts/ifcfg-em1" on ne...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-09 22:44 UTC by David Tonhofer
Modified: 2014-06-10 09:43 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-06-10 09:43:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Tonhofer 2014-06-09 22:44:06 UTC
Description of problem:
=======================

On a new system, with ifcfg files generated by (?) anaconda:

"PEERROUTES" can be found in "/etc/sysconfig/network-scripts/ifcfg-em1"

That keyword does not seem to be relevant anymore.

In particular:

  grep -R PEERROUTES /etc 2>/dev/null

yields no hits.

The same for 

  "IPV6_PEERROUTES"

which can also be found in the ifcfg file.


Could be these things are read by some binary but I sure hope no-one went down that path.

Comment 1 David Tonhofer 2014-06-09 23:31:22 UTC
Related; "USERCTL" which is created by manually running "system-config-network" but was never implemented (see #969612)

Comment 2 Lukáš Nykrýn 2014-06-10 06:59:56 UTC
We did not have PEERROUTES in initscripts ever.

Comment 3 Radek Vykydal 2014-06-10 07:06:49 UTC
The ifcfg file (and the PEERROUTES option) is generated by NetworkManager's ifcfg-rh plugin.
What is the problem with the value being in?

Comment 4 David Tonhofer 2014-06-10 09:26:28 UTC
Hi Radek

There is no problem per se.

It just seems that if it is not used anywhere (which needs confirmation - does NM use it?), code to generate it should be removed, too.

Comment 5 Radek Vykydal 2014-06-10 09:43:33 UTC
It is used for ignore-auto-routes NM setting
https://projects-old.gnome.org/NetworkManager/developers/api/09/ref-settings.html#idp5073608


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