After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 769862 - NetworkManager.service ignores commented 'ONBOOT=no # comment' lines in ifcfg
NetworkManager.service ignores commented 'ONBOOT=no # comment' lines in ifcfg
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: general
1.0.x
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-08-13 21:23 UTC by Petr Horacek
Modified: 2016-11-09 11:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Petr Horacek 2016-08-13 21:23:11 UTC
NetworkManager.service ignores ifcfg lines which contains comments (key=value  # comment) while network.service handles them as well.

DEVICE=ens7
BOOTPROTO=dhcp
ONBOOT=no  # foo

This config keeps the NIC down when network.service in enabled. When NetworkManager.service is enabled, it turns it up on boot.

NetworkManager 1.0.12
Fedora 23