Bug 1107328

Summary: "PEERROUTES" can be found in "/etc/sysconfig/network-scripts/ifcfg-em1" on new system. Isn't that obsolete?
Product: [Fedora] Fedora Reporter: David Tonhofer <bughunt>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: anaconda-maint-list, bughunt, g.kaviyarasu, jonathan, lnykryn, rvykydal, vanmeeuwen+fedora, vpavlin
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: 2014-06-10 09:43:33 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 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