Hi, I have a system that was upgraded to OpenSuSE 15.6 x64 and now firewalld is whimpering about a service called wsdd. Whenever I try to make a change with firewall-command, such as adding or removing a service to be allowed/disallowed by the firewall, and then trying to update my permanent setting from my runtime settings, I get bitched at by firewall-config and get told to run the following command -
#firewall-offline-cmd --check-config Configuration error: INVALID_SERVICE: Zone 'internal': 'wsdd' not among existing services
Any ideas why firewalld is belly-aching about "wsdd"? My Duck Duck Go searches tells me that wsdd is used to make shared files and directories visible to MS machines, which is a feature I want. Further research shows that there is no package in the repositories for wsdd for OpenSuSE 15.6, is this being dropped? If so, how do I fix this mess and retain the ability to share files with Windoz systems? As always, many thanks in advance for taking the time to help me out and guiding me back into the OpenSuSE light! Marc.. --
On 2024-10-27 20:29, Marc Chamberlin via openSUSE Users wrote:
Hi, I have a system that was upgraded to OpenSuSE 15.6 x64 and now firewalld is whimpering about a service called wsdd. Whenever I try to make a change with firewall-command, such as adding or removing a service to be allowed/disallowed by the firewall, and then trying to update my permanent setting from my runtime settings, I get bitched at by firewall-config and get told to run the following command -
#firewall-offline-cmd --check-config Configuration error: INVALID_SERVICE: Zone 'internal': 'wsdd' not among existing services
Any ideas why firewalld is belly-aching about "wsdd"? My Duck Duck Go searches tells me that wsdd is used to make shared files and directories visible to MS machines, which is a feature I want. Further research shows that there is no package in the repositories for wsdd for OpenSuSE 15.6, is this being dropped? If so, how do I fix this mess and retain the ability to share files with Windoz systems?
As always, many thanks in advance for taking the time to help me out and guiding me back into the OpenSuSE light! Marc..
I'm not sure, but try this. The main configuration file is /etc/firewalld/firewalld.conf. Run this command in a terminal as root: Telcontar:~ # grep "DefaultZone=" /etc/firewalld/firewalld.conf DefaultZone=external Telcontar:~ # In my case, my default zone is "external". Then look in the zone directory for that zone (/etc/firewalld/zones/external.xml). Search inside for the word "wsdd". If you find it, that service should be defined, normally in "/etc/services". If it is not defined, then that is your problem. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
On 10/27/24 12:51, Carlos E. R. wrote:
On 2024-10-27 20:29, Marc Chamberlin via openSUSE Users wrote:
Hi, I have a system that was upgraded to OpenSuSE 15.6 x64 and now firewalld is whimpering about a service called wsdd. Whenever I try to make a change with firewall-command, such as adding or removing a service to be allowed/disallowed by the firewall, and then trying to update my permanent setting from my runtime settings, I get bitched at by firewall-config and get told to run the following command -
#firewall-offline-cmd --check-config Configuration error: INVALID_SERVICE: Zone 'internal': 'wsdd' not among existing services
Any ideas why firewalld is belly-aching about "wsdd"? My Duck Duck Go searches tells me that wsdd is used to make shared files and directories visible to MS machines, which is a feature I want. Further research shows that there is no package in the repositories for wsdd for OpenSuSE 15.6, is this being dropped? If so, how do I fix this mess and retain the ability to share files with Windoz systems?
As always, many thanks in advance for taking the time to help me out and guiding me back into the OpenSuSE light! Marc..
I'm not sure, but try this.
The main configuration file is /etc/firewalld/firewalld.conf. Run this command in a terminal as root:
Telcontar:~ # grep "DefaultZone=" /etc/firewalld/firewalld.conf DefaultZone=external Telcontar:~ #
In my case, my default zone is "external". Then look in the zone directory for that zone (/etc/firewalld/zones/external.xml). Search inside for the word "wsdd". If you find it, that service should be defined, normally in "/etc/services". If it is not defined, then that is your problem.
Thanks again for your thoughts Carlos, I looked at the /etc/services file on 4 different OpenSuSE 15.6 and one 15.5 systems and none of them defined a service called wsdd. I find that a bit surprising especially because only one of the 15.6 systems is whining about wsdd. The 15.5 system does have wsdd listed in the list of services shown in firewall-command's gui and even though wsdd is not shown in /etc/services I am not getting any complaints from that system. Marc..
On 10/27/24 11:41 PM, Marc Chamberlin via openSUSE Users wrote:
The 15.5 system does have wsdd listed in the list of services shown in firewall-command's gui and even though wsdd is not shown in /etc/services I am not getting any complaints from that system.
Marc..
Hi, entries in /etc/services are not the same as firewalld services. You can use `firewall-cmd --get-services` to find defined firewalld services and `firewall-cmd --info-service=<name of service>` to find what's defined inside one (that is usually ports or protocols). In the background firewalld services are stored in /usr/lib/firewalld/services/ (for packaged ones) and /etc/firewalld/services/ (for ones created manually or using firewall-cmd). A firewalld service can have ports defined by names instead of numbers, in which case the relevant port numbers will be looked up from /etc/services. Just sometimes the name of a firewalld service matches name of a service in /etc/services. Georg
On 10/27/24 8:29 PM, Marc Chamberlin via openSUSE Users wrote:
Hi, I have a system that was upgraded to OpenSuSE 15.6 x64 and now firewalld is whimpering about a service called wsdd. Whenever I try to make a change with firewall-command, such as adding or removing a service to be allowed/disallowed by the firewall, and then trying to update my permanent setting from my runtime settings, I get bitched at by firewall-config and get told to run the following command -
#firewall-offline-cmd --check-config Configuration error: INVALID_SERVICE: Zone 'internal': 'wsdd' not among existing services
Any ideas why firewalld is belly-aching about "wsdd"? My Duck Duck Go searches tells me that wsdd is used to make shared files and directories visible to MS machines, which is a feature I want. Further research shows that there is no package in the repositories for wsdd for OpenSuSE 15.6, is this being dropped? If so, how do I fix this mess and retain the ability to share files with Windoz systems?
As always, many thanks in advance for taking the time to help me out and guiding me back into the OpenSuSE light! Marc..
--
Hi Marc, first try to remove the service from the "internal" zone (as indicated in the error output) using firewall-cmd: ``` firewall-cmd --zone=internal --remove-service=wsdd --permanent firewall-cmd --reload ``` Should this not be successful, then manually remove it from the configuration. Open the file /etc/firewalld/zones/internal.xml in an editor, and remove the line `<service name="wsdd"/>` (or similar). Then use `systemctl restart firewalld` (reload would normally suffice, but restart might be needed if it's already not responsive to the firewall-cmd operations). I don't know about what happened to "wsdd". Best, Georg
On 10/27/24 12:57, Georg Pfuetzenreuter via openSUSE Users wrote:
On 10/27/24 8:29 PM, Marc Chamberlin via openSUSE Users wrote:
Hi, I have a system that was upgraded to OpenSuSE 15.6 x64 and now firewalld is whimpering about a service called wsdd. Whenever I try to make a change with firewall-command, such as adding or removing a service to be allowed/disallowed by the firewall, and then trying to update my permanent setting from my runtime settings, I get bitched at by firewall-config and get told to run the following command -
#firewall-offline-cmd --check-config Configuration error: INVALID_SERVICE: Zone 'internal': 'wsdd' not among existing services
Any ideas why firewalld is belly-aching about "wsdd"? My Duck Duck Go searches tells me that wsdd is used to make shared files and directories visible to MS machines, which is a feature I want. Further research shows that there is no package in the repositories for wsdd for OpenSuSE 15.6, is this being dropped? If so, how do I fix this mess and retain the ability to share files with Windoz systems?
As always, many thanks in advance for taking the time to help me out and guiding me back into the OpenSuSE light! Marc..
--
Hi Marc,
first try to remove the service from the "internal" zone (as indicated in the error output) using firewall-cmd:
``` firewall-cmd --zone=internal --remove-service=wsdd --permanent firewall-cmd --reload ```
Should this not be successful, then manually remove it from the configuration. Open the file /etc/firewalld/zones/internal.xml in an editor, and remove the line `<service name="wsdd"/>` (or similar). Then use `systemctl restart firewalld` (reload would normally suffice, but restart might be needed if it's already not responsive to the firewall-cmd operations).
I don't know about what happened to "wsdd".
Best, Georg
Thanks Georg, you proved yourself in the class of gurus! I couldn't remove wsdd using the firewall-cmd, it just kept whining about the invalid configuration and immediately exits. But manually removing the wsdd service with an editor got firewall-cmd purring again like a kitten. I don't grok why this became an issue for me, and worry that I made need this service later on, from what I read in the descriptions about it. Oh well, its a workaround for now and will keep me going forward... Marc...
On 2024-10-27 23:50, Marc Chamberlin via openSUSE Users wrote:
On 10/27/24 12:57, Georg Pfuetzenreuter via openSUSE Users wrote:
...
Thanks Georg, you proved yourself in the class of gurus! I couldn't remove wsdd using the firewall-cmd, it just kept whining about the invalid configuration and immediately exits. But manually removing the wsdd service with an editor got firewall-cmd purring again like a kitten. I don't grok why this became an issue for me, and worry that I made need this service later on, from what I read in the descriptions about it. Oh well, its a workaround for now and will keep me going forward...
Look in the machines where zones/whatever file used the wsdd service with no complain, because that machine will have the service defined somewhere (Georg explained where firewalld keeps them). Then add that same service to the computer that is complaining. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
participants (3)
-
Carlos E. R.
-
Georg Pfuetzenreuter
-
Marc Chamberlin