Bug 1371188 - [anaconda ibft] Disabling ibft plugin by removing conf.d/10-ibft-plugin.conf stopped working in 7.3
Summary: [anaconda ibft] Disabling ibft plugin by removing conf.d/10-ibft-plugin.conf ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: anaconda
Version: 7.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Radek Vykydal
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-29 14:23 UTC by Radek Vykydal
Modified: 2016-11-03 23:27 UTC (History)
10 users (show)

Fixed In Version: anaconda-21.48.22.88-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-03 23:27:46 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1309661 0 unspecified CLOSED For static iBFT configuration editable ibft0 connection is exposed in Anaconda UI 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHEA-2016:2158 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2016-11-03 13:13:55 UTC

Internal Links: 1309661

Description Radek Vykydal 2016-08-29 14:23:57 UTC
In Anaconda installer we need a way to disable automatic configuration of devices from iBFT (done via NM ibft plugin since 7.2). We used to do that by removing NM's 10-ibft-plugin.conf service by our service preceding NM service (based on ip=ibft boot option). This no longer works in 7.3 (eg nightly 0824, NM 1.4.0-1)  as ibft plugin seems to be turned on by default and the config file was removed from NM package?

Comment 1 Thomas Haller 2016-08-29 14:51:13 UTC
originally, the ibft plugin was handled by ifcfg-rh plugin.


Later, we split that out to a separate plugin. The default plugins on RHEL are "ifcfg-rh,ibft,keyfile". However, the user quite possibly had an explicitly configured "plugins=ifcfg-rh" in his NetworkManager.conf. Thus, to avoid problems with the split, we added 10-ibft-plugin.conf.



Now, for NetworkManager core package, we would rather not install any configuration snippets. Thus, the previous behavior was restored, by having "ifcfg-rh" automatically loading "ibft" plugin -- unless, the user explicitly configured the "ibft" or "no-ibft" plugin.

also explained in `man NetworkManager.conf`.



Thus, to disable loading of the plugin, now you'd have to do:


cat <<EOF > /etc/NetworkManager/conf.d/80-anaconda-no-ibft.conf
[main]
plugins=no-ibft
EOF



Is that an acceptable change in behavior?

Comment 2 Thomas Haller 2016-08-29 14:52:10 UTC
typo:

 [main]
-plugins=no-ibft
+plugins+=no-ibft
 EOF

Comment 4 Radek Vykydal 2016-08-30 07:32:02 UTC
Yes it is, thank you for the explanation.

Comment 5 Radek Vykydal 2016-08-30 07:59:12 UTC
https://github.com/rhinstaller/anaconda/pull/758

Comment 8 Marek Hruscak 2016-09-16 20:03:04 UTC
Issue is fixed. If ip=ibft is not added to kernel cmdline, NIC is NOT automatically set by configuration from iBFT. This behaviour is expected.
Plugin no-ibft is now added to NetworkManager in Anaconda by default.

Comment 10 errata-xmlrpc 2016-11-03 23:27:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-2158.html


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