https://bugs.kde.org/show_bug.cgi?id=485239

            Bug ID: 485239
           Summary: WiredConnection Editor Failed To Save "interface-name"
                    If Ethernet Device Doesn't Have Permanent MAC Address
    Classification: Plasma
           Product: plasma-nm
           Version: 5.27.11
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: editor
          Assignee: plasma-b...@kde.org
          Reporter: chang...@gmail.com
  Target Milestone: ---

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
I have a buggy ethernet device, which doesn't have a permanent MAC address.
I this case, I need to set "cloned-mac" for this device, and bond this
"cloned-mac" address to the device name,
which should be set in [connection] section, in "interface-name" property.

However, after checking plasma-nm source code, I found that if the device
doesn't have permanent MAC address, this device is actually ignored, or
miss-handled, the "interface-name" property is never saved.

STEPS TO REPRODUCE
1.  Open "WiredConnection"
2.  Input device name in "Restrict To Device"
3.  Input cloned mac
4. Press "save"

OBSERVED RESULT
the device name is never saved

EXPECTED RESULT
interface-name=DEVICE_NAME should be saved in [connection] section of the
corresponding nmconnection file

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 39
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to