Restarting NetworkManager causes duplicate rules loading

Solution Unverified - Updated -

Issue

  • Restarting NetworkManager causes duplicate rules loading

Sample configuration:

# cat /etc/sysconfig/network-scripts/ifcfg-ens8
IPADDR=172.16.1.47
PREFIX=24
DEVICE=ens8
...skip
# grep "^100" /etc/iproute2/rt_tables
100 test
# cat /etc/sysconfig/network-scripts/rule-ens8 
from 172.16.1.47 table test priority 100
# ip rule list | grep "^100:"
100:    from 172.16.1.47 lookup test 
# systemctl restart NetworkManager
# ip rule list | grep "^100:"
100:    from 172.16.1.47 lookup test 
100:    from 172.16.1.47 lookup test 

Environment

  • Red Hat Enterprise Linux 7
  • NetworkManager-dispatcher-routing-rules

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content