settings: enable "ibft" plugin by default together with "ifcfg-rh"
authorThomas Haller <thaller@redhat.com>
Tue, 9 Jun 2015 17:27:55 +0000 (19:27 +0200)
committerThomas Haller <thaller@redhat.com>
Thu, 2 Jul 2015 14:01:20 +0000 (16:01 +0200)
commit6f0036151f464921a62d15c03cd9aa0f213e6200
tree80e3125f207f64c4dcf2af46e5191998becd7fdd
parent98dd29e4ae79e08e2f6b0e607f3cdb8af564daa1
settings: enable "ibft" plugin by default together with "ifcfg-rh"

Originally, ibft settings were handled by "ifcfg-rh" plugin. Later, we added
a separate "ibft" plugin and moved the functionality there.

The problem was that users quite possibly had a configuration like
  [main]
  plugins=ifcfg-rh
in their "NetworkManager.conf". That meant, after upgrade users would
no longer have ibft support.

We fixed that by installing "/etc/NetworkManager/conf.d/10-ibft-plugin.conf"
which was read after the main file and contained:
  [main]
  plugins+=ibft

We no longer want to install configuration snippets with our core packages to
/etc. Avoid the regression by changing the meaning of "ifcfg-rh". By enabling
"ifcfg-rh" you now implicitly enable "ibft" plugin as well. This can be
turned off via "no-ibft". And you can continue to enable "ibft" plugin
alone.
configure.ac
contrib/fedora/rpm/NetworkManager.spec
contrib/fedora/rpm/build.sh
man/NetworkManager.conf.xml.in
src/settings/nm-settings.c