Bug 1295799

Summary: Mobile Broadband modem device not in any firewalld zone.
Product: [Fedora] Fedora Reporter: colin.caine <colin.caine>
Component: firewalldAssignee: Thomas Woerner <twoerner>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: colin.caine, jpopelka, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-15 15:56:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description colin.caine@manchester.ac.uk 2016-01-05 13:45:47 UTC
Description of problem:


Version-Release number of selected component (if applicable):
NM: 1.0.6 8-fc23
ModemManager:
Version     : 1.4.10
Release     : 2.fc23

firewalld-0.3.14.2-4.fc23.noarch

How reproducible:
Always

Steps to Reproduce:
1. Attempt to connect to mobile broadband from gnome (probably also from any other nm interface).
2. Check journalctl

Actual results:
Jan 05 13:28:12 scamper.lan /firewalld[781]: 2016-01-05 13:28:12 ERROR: UNKNOWN_INTERFACE: 'cdc-wdm0' is not in any zone

Expected results:
mobile broadband device should be assigned a zone automatically on installation of ModemManager or added by networkmanager or modemmanager when it tried to use it.
Additional info:
I've no idea what zone it should be in. Wireless device seems to go in FedoraWorkstation zone and I think it's added dynamically.

Comment 1 Thomas Woerner 2016-01-05 14:17:18 UTC
The message is there, because a tool (maybe NetworkManager?) is calling the removeZone D-Bus method of firewalld with the interface name as argument. If the interface has not been bound to a zone before, the error is reported.

Please check if the interface is not bound to a zone with

  firewall-cmd --get-zone-of-interface=cdc-wdm0

when it was created and activated.

Comment 2 colin.caine@manchester.ac.uk 2016-02-01 14:54:49 UTC
interface is not bound before connection is made or after an attempt at
a connection is made.

Cannot get modem to connect properly, so cannot test to see if it is
correctly assigned a zone after connection.

Happy for bug to be closed.

(Previously emailed this, but didn't seem to work.)

Comment 3 Thomas Woerner 2016-07-15 15:56:03 UTC
Closing as of comment 2.