Bug 1440583 - Unable to modify network settings
Summary: Unable to modify network settings
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: plasma-nm
Version: 25
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: KDE SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-10 03:08 UTC by Ed Greshko
Modified: 2017-04-20 16:48 UTC (History)
2 users (show)

Fixed In Version: plasma-nm-5.9.4-2.fc26 plasma-nm-5.9.4-2.fc25
Clone Of:
Environment:
Last Closed: 2017-04-16 20:23:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Network Manager display before making a change (84.91 KB, image/jpeg)
2017-04-10 03:08 UTC, Ed Greshko
no flags Details
Network Manager display after making a change (90.92 KB, image/jpeg)
2017-04-10 03:09 UTC, Ed Greshko
no flags Details

Description Ed Greshko 2017-04-10 03:08:08 UTC
Created attachment 1270358 [details]
Network Manager display before making a change

Description of problem: When a change is made to a setting in Network Manager the "Apply" button remains grayed out.


Version-Release number of selected component (if applicable):plasma-nm-5.9.4-1.fc25.x86_64


How reproducible:


Steps to Reproduce:
1. Bring up the "Configure Network Connections" gui
2. Try making a change to a setting
3.

Actual results: The "Apply" Button remains grayed out


Expected results: Apply should become accessible.


Additional info:

Comment 1 Ed Greshko 2017-04-10 03:09:44 UTC
Created attachment 1270360 [details]
Network Manager display after making a change

I changed the Method from Ignored to Automatic and "Apply" remains grayed out.

Comment 2 Jan Grulich 2017-04-10 06:22:56 UTC
Should be fixed with plasma-nm-5.9.4-2.fc5. As a workaround for now you need to check "Allow autonegotiation" in wired tab.

Comment 3 Fedora Update System 2017-04-10 08:00:44 UTC
bluedevil-5.9.4-1.fc25 breeze-gtk-5.9.4-1.fc25 grub2-breeze-theme-5.9.4-1.fc25 kactivitymanagerd-5.9.4-1.fc25 kde-cli-tools-5.9.4-1.fc25 kde-gtk-config-5.9.4-1.fc25 kdecoration-5.9.4-1.fc25 kdeplasma-addons-5.9.4-1.fc25 kf5-kirigami2-2.0.0-2.fc25 kgamma-5.9.4-1.fc25 khotkeys-5.9.4-1.fc25 kinfocenter-5.9.4-1.fc25 kmenuedit-5.9.4-1.fc25 kscreen-5.9.4-1.fc25 kscreenlocker-5.9.4-1.fc25 ksshaskpass-5.9.4-1.fc25 ksysguard-5.9.4-1.fc25 kwayland-integration-5.9.4-1.fc25 kwin-5.9.4-1.fc25 kwrited-5.9.4-1.fc25 libkscreen-qt5-5.9.4-1.fc25 libksysguard-5.9.4-1.fc25 pam-kwallet-5.9.4-1.fc25 plasma-breeze-5.9.4-1.fc25 plasma-desktop-5.9.4-1.fc25 plasma-discover-5.9.4-1.fc25 plasma-integration-5.9.4-1.fc25 plasma-milou-5.9.4-1.fc25 plasma-nm-5.9.4-2.fc25 plasma-oxygen-5.9.4-1.fc25 plasma-pa-5.9.4-1.fc25 plasma-sdk-5.9.4-1.fc25 plasma-systemsettings-5.9.4-1.fc25 plasma-user-manager-5.9.4-1.fc25 plasma-workspace-5.9.4-1.fc25 plasma-workspace-wallpapers-5.9.4-1.fc25 plymouth-theme-breeze-5.9.4-1.fc25 polkit-kde-5.9.4-1.fc25 powerdevil-5.9.4-1.fc25 sddm-kcm-5.9.4-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3f38641f48

Comment 4 Fedora Update System 2017-04-10 08:01:00 UTC
bluedevil-5.9.4-1.fc25 breeze-gtk-5.9.4-1.fc25 grub2-breeze-theme-5.9.4-1.fc25 kactivitymanagerd-5.9.4-1.fc25 kde-cli-tools-5.9.4-1.fc25 kde-gtk-config-5.9.4-1.fc25 kdecoration-5.9.4-1.fc25 kdeplasma-addons-5.9.4-1.fc25 kf5-kirigami2-2.0.0-2.fc25 kgamma-5.9.4-1.fc25 khotkeys-5.9.4-1.fc25 kinfocenter-5.9.4-1.fc25 kmenuedit-5.9.4-1.fc25 kscreen-5.9.4-1.fc25 kscreenlocker-5.9.4-1.fc25 ksshaskpass-5.9.4-1.fc25 ksysguard-5.9.4-1.fc25 kwayland-integration-5.9.4-1.fc25 kwin-5.9.4-1.fc25 kwrited-5.9.4-1.fc25 libkscreen-qt5-5.9.4-1.fc25 libksysguard-5.9.4-1.fc25 pam-kwallet-5.9.4-1.fc25 plasma-breeze-5.9.4-1.fc25 plasma-desktop-5.9.4-1.fc25 plasma-discover-5.9.4-1.fc25 plasma-integration-5.9.4-1.fc25 plasma-milou-5.9.4-1.fc25 plasma-nm-5.9.4-2.fc25 plasma-oxygen-5.9.4-1.fc25 plasma-pa-5.9.4-1.fc25 plasma-sdk-5.9.4-1.fc25 plasma-systemsettings-5.9.4-1.fc25 plasma-user-manager-5.9.4-1.fc25 plasma-workspace-5.9.4-1.fc25 plasma-workspace-wallpapers-5.9.4-1.fc25 plymouth-theme-breeze-5.9.4-1.fc25 polkit-kde-5.9.4-1.fc25 powerdevil-5.9.4-1.fc25 sddm-kcm-5.9.4-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3f38641f48

Comment 5 Fedora Update System 2017-04-10 08:03:46 UTC
plasma-nm-5.9.4-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-78e233ee56

Comment 6 Ed Greshko 2017-04-10 14:19:15 UTC
I don't quite see how plasma-nm-5.9.4-2.fc26 is a fix.  According to the changelog:

Set auto-negotiate to true for new wired connections
  Resolves: bz#1440583

So, this seems to turn on auto-negotiate for when a wired connection is first created.  Presumably at install time, most of the time.  So, it seems it only implements the "workaround" for new wired connections.

If this version is installed and the user turns off auto negotiate then "Apply" becomes unavailable again.  That doesn't seem to me to be the way it should be.  Why should turning off the ability to auto-negotiate port speed and duplex mode disable "Apply"?

Comment 7 Fedora Update System 2017-04-10 22:56:16 UTC
bluedevil-5.9.4-1.fc25, breeze-gtk-5.9.4-1.fc25, grub2-breeze-theme-5.9.4-1.fc25, kactivitymanagerd-5.9.4-1.fc25, kde-cli-tools-5.9.4-1.fc25, kde-gtk-config-5.9.4-1.fc25, kdecoration-5.9.4-1.fc25, kdeplasma-addons-5.9.4-1.fc25, kf5-kirigami2-2.0.0-2.fc25, kgamma-5.9.4-1.fc25, khotkeys-5.9.4-1.fc25, kinfocenter-5.9.4-1.fc25, kmenuedit-5.9.4-1.fc25, kscreen-5.9.4-1.fc25, kscreenlocker-5.9.4-1.fc25, ksshaskpass-5.9.4-1.fc25, ksysguard-5.9.4-1.fc25, kwayland-integration-5.9.4-1.fc25, kwin-5.9.4-1.fc25, kwrited-5.9.4-1.fc25, libkscreen-qt5-5.9.4-1.fc25, libksysguard-5.9.4-1.fc25, pam-kwallet-5.9.4-1.fc25, plasma-breeze-5.9.4-1.fc25, plasma-desktop-5.9.4-1.fc25, plasma-discover-5.9.4-1.fc25, plasma-integration-5.9.4-1.fc25, plasma-milou-5.9.4-1.fc25, plasma-nm-5.9.4-2.fc25, plasma-oxygen-5.9.4-1.fc25, plasma-pa-5.9.4-1.fc25, plasma-sdk-5.9.4-1.fc25, plasma-systemsettings-5.9.4-1.fc25, plasma-user-manager-5.9.4-1.fc25, plasma-workspace-5.9.4-1.fc25, plasma-workspace-wallpapers-5.9.4-1.fc25, plymouth-theme-breeze-5.9.4-1.fc25, polkit-kde-5.9.4-1.fc25, powerdevil-5.9.4-1.fc25, sddm-kcm-5.9.4-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3f38641f48

Comment 8 Fedora Update System 2017-04-11 00:26:09 UTC
plasma-nm-5.9.4-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-78e233ee56

Comment 9 Jan Grulich 2017-04-11 05:06:41 UTC
When users turn off auto-negotiate then they are supposed to set speed and duplex mode, this is now required by NetworkManager and there is nothing I can do about it. Setting speed is mandatory and that's why you are unable to hit the apply button.

Comment 10 Ed Greshko 2017-04-11 05:40:29 UTC
I see.  I have the following comment then....

When one unchecks the "Allow auto-negotiation" box you get:

Speed:   Automatic
Duplex:  Full

Which is, apparently, an invalid configuration thus making the "Apply" button gray.  IMO a GUI shouldn't present you as a choice an invalid configuration.  


Aside from that, everything seems to be working just fine on F26.

However, on my F25 (which as been upgraded from previous versions) and with 

plasma-nm-pptp-5.9.4-2.fc25.x86_64
plasma-nm-openvpn-5.9.4-2.fc25.x86_64
plasma-nm-vpnc-5.9.4-2.fc25.x86_64
plasma-nm-ssh-5.9.4-2.fc25.x86_64
plasma-nm-5.9.4-2.fc25.x86_64
plasma-nm-l2tp-5.9.4-2.fc25.x86_64

installed I cannot get "Allow auto-negotiation" to stick.  I can check it, hit Apply but when I close and then re-open the settings it is unchecked

Comment 11 Jan Grulich 2017-04-11 05:50:30 UTC
Speed: Automatic is there from historic reasons, where when you set this it set auto-negotiation to true (if I remember correctly). We should maybe remove the automatic as default value and set 0 instead. I would also like to add some visual indication about what values are missing or wrong, will bring this up to our VDG group for ideas.

Comment 12 Ed Greshko 2017-04-11 06:42:46 UTC
OK...  Then my only open issue is with "Allow auto-negotiation" not sticking on F25.

On F26 in the network-script file contains

Box Checked      ETHTOOL_OPTS="autoneg on"
Box Un-Checked   ETHTOOL_OPTS="autoneg off speed 1000 duplex full"

On F25 ETHTOOL_OPTS never appears no matter the setting.

Comment 13 Jan Grulich 2017-04-11 07:12:06 UTC
Hmm, tested with NM from F25 I couldn't set "Allow auto-negotiation", while with NM from F26 it works fine. I couldn't even set it using nmcli. 

There is probably bug on NM side when it works with one and not with the other.

I forgot to test a newly created connection after switching NM versions. Could you verify that "Allow auto-negotiation" is set when you create a new one and save it?

Comment 14 Ed Greshko 2017-04-11 07:39:48 UTC
On F25 when you create a new wired connection the dialog box for setting up has the "Allow auto-negotiation" set.  However, when you save it it is no longer checked.

This would seem to be in line with the issue being on the NM side.

Would you like me to BZ that, or?

Comment 15 Jan Grulich 2017-04-11 08:29:24 UTC
One more thing to verify, create a new connection with nm-connection-editor and then check what's there.

Use "nmcli connection show connection_name" and there is 802-3-ethernet.auto-negotiate property.

Comment 16 Ed Greshko 2017-04-11 10:22:17 UTC
OK.  I created a wired connection using nm-connection-editor and it shows...

[egreshko@acer network-scripts]$ nmcli connection show eth0        
connection.id:                          eth0
connection.uuid:                        a3141683-ddde-42b6-bac8-561fb46fdea0
connection.stable-id:                   --
connection.interface-name:              enp8s0
connection.type:                        802-3-ethernet
connection.autoconnect:                 yes
connection.autoconnect-priority:        0
connection.timestamp:                   0
connection.read-only:                   no
connection.permissions:                 
connection.zone:                        --
connection.master:                      --
connection.slave-type:                  --
connection.autoconnect-slaves:          -1 (default)
connection.secondaries:                 
connection.gateway-ping-timeout:        0
connection.metered:                     unknown
connection.lldp:                        -1 (default)
802-3-ethernet.port:                    --
802-3-ethernet.speed:                   0
802-3-ethernet.duplex:                  full
802-3-ethernet.auto-negotiate:          yes
802-3-ethernet.mac-address:             00:1B:24:C8:59:83
802-3-ethernet.cloned-mac-address:      --
802-3-ethernet.generate-mac-address-mask:--
802-3-ethernet.mac-address-blacklist:   
802-3-ethernet.mtu:                     auto
802-3-ethernet.s390-subchannels:        
802-3-ethernet.s390-nettype:            --
802-3-ethernet.s390-options:            
802-3-ethernet.wake-on-lan:             1 (default)
802-3-ethernet.wake-on-lan-password:    --
ipv4.method:                            auto
ipv4.dns:                               
ipv4.dns-search:                        
ipv4.dns-options:                       (default)
ipv4.dns-priority:                      0
ipv4.addresses:                         
ipv4.gateway:                           --
ipv4.routes:                            
ipv4.route-metric:                      -1
ipv4.ignore-auto-routes:                no
ipv4.ignore-auto-dns:                   no
ipv4.dhcp-client-id:                    --
ipv4.dhcp-timeout:                      0
ipv4.dhcp-send-hostname:                yes
ipv4.dhcp-hostname:                     --
ipv4.dhcp-fqdn:                         --
ipv4.never-default:                     no
ipv4.may-fail:                          yes
ipv4.dad-timeout:                       -1 (default)
ipv6.method:                            auto
ipv6.dns:                               
ipv6.dns-search:                        
ipv6.dns-options:                       (default)
ipv6.dns-priority:                      0
ipv6.addresses:                         
ipv6.gateway:                           --
ipv6.routes:                            
ipv6.route-metric:                      -1
ipv6.ignore-auto-routes:                no
ipv6.ignore-auto-dns:                   no
ipv6.never-default:                     no
ipv6.may-fail:                          yes
ipv6.ip6-privacy:                       0 (disabled)
ipv6.addr-gen-mode:                     stable-privacy
ipv6.dhcp-send-hostname:                yes
ipv6.dhcp-hostname:                     --
ipv6.token: 

The "Allow auto-negotiation" is unchecked in plasma-nm and there is no ETHTOOL_OPTS parameter in the ifcfg-eth0 as there is on F26.

Comment 17 Jan Grulich 2017-04-12 12:10:39 UTC
Found where is the problem, should be fixed with kf5-networkmanager-qt-5.33.0-2.fc25.

Comment 18 Fedora Update System 2017-04-12 12:42:38 UTC
kf5-networkmanager-qt-5.33.0-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b4a6c8e114

Comment 19 Fedora Update System 2017-04-12 12:42:47 UTC
kf5-networkmanager-qt-5.33.0-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f1b43b783e

Comment 20 Fedora Update System 2017-04-12 12:42:53 UTC
kf5-networkmanager-qt-5.33.0-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f659318757

Comment 21 Fedora Update System 2017-04-12 21:23:50 UTC
kf5-networkmanager-qt-5.33.0-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-f1b43b783e

Comment 22 Fedora Update System 2017-04-12 21:54:58 UTC
kf5-networkmanager-qt-5.33.0-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-b4a6c8e114

Comment 23 Fedora Update System 2017-04-12 23:23:29 UTC
kf5-networkmanager-qt-5.33.0-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-f659318757

Comment 24 Fedora Update System 2017-04-16 20:23:53 UTC
kf5-networkmanager-qt-5.33.0-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 25 Fedora Update System 2017-04-18 19:58:10 UTC
plasma-nm-5.9.4-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 26 Fedora Update System 2017-04-18 19:58:58 UTC
kf5-networkmanager-qt-5.33.0-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 27 Fedora Update System 2017-04-19 09:22:56 UTC
bluedevil-5.9.4-1.fc25, breeze-gtk-5.9.4-1.fc25, grub2-breeze-theme-5.9.4-1.fc25, kactivitymanagerd-5.9.4-1.fc25, kde-cli-tools-5.9.4-1.fc25, kde-gtk-config-5.9.4-1.fc25, kdecoration-5.9.4-1.fc25, kdeplasma-addons-5.9.4-1.fc25, kf5-kirigami2-2.0.0-2.fc25, kgamma-5.9.4-1.fc25, khotkeys-5.9.4-1.fc25, kinfocenter-5.9.4-1.fc25, kmenuedit-5.9.4-1.fc25, kscreen-5.9.4-1.fc25, kscreenlocker-5.9.4-1.fc25, ksshaskpass-5.9.4-1.fc25, ksysguard-5.9.4-1.fc25, kwayland-integration-5.9.4-1.fc25, kwin-5.9.4-1.fc25, kwrited-5.9.4-1.fc25, libkscreen-qt5-5.9.4-1.fc25, libksysguard-5.9.4-1.fc25, pam-kwallet-5.9.4-1.fc25, plasma-breeze-5.9.4-1.fc25, plasma-desktop-5.9.4-1.fc25, plasma-discover-5.9.4-1.fc25, plasma-integration-5.9.4-1.fc25, plasma-milou-5.9.4-1.fc25, plasma-nm-5.9.4-2.fc25, plasma-oxygen-5.9.4-1.fc25, plasma-pa-5.9.4-1.fc25, plasma-sdk-5.9.4-1.fc25, plasma-systemsettings-5.9.4-1.fc25, plasma-user-manager-5.9.4-1.fc25, plasma-workspace-5.9.4-1.fc25, plasma-workspace-wallpapers-5.9.4-1.fc25, plymouth-theme-breeze-5.9.4-1.fc25, polkit-kde-5.9.4-1.fc25, powerdevil-5.9.4-1.fc25, sddm-kcm-5.9.4-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 28 Fedora Update System 2017-04-20 16:48:30 UTC
kf5-networkmanager-qt-5.33.0-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


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