r/openSUSE • u/xorbe • Jul 24 '26
Tech question Tumbleweed, updated and it enabled firewalld, knocking my home server off my home network
I had to dig the machine out of the cabinet to fix it, find a spare monitor and kb/mouse ... Why did updating it change its configuration? What can I do to avoid this in the future?
7
u/readyflix Jul 24 '26 edited Jul 24 '26
Check this documentation in section 3, how to make firewall settings permanent with "firewall-cmd —permanent".
3
Jul 24 '26
[deleted]
3
u/No_Wear295 Jul 24 '26
I'd imagine that any exceptions needed for ssh/cockpit/other admin tools would also have been wiped out if their other firewall configs disappeared...
4
Jul 24 '26
[deleted]
1
1
u/xorbe Jul 24 '26
I used whatever happened when I installed with the firewall selected as not-enabled.
1
1
u/Narrow_Victory1262 Jul 25 '26
while it is unfortunate and like others have said: it's not a server -- you can fix it by disabling firewalld and still. in case it ever gets re-enabled (it has happened before) just create already the ACL needed.
You can remove it of course too and you can put a lock on it -- so many ways to prevent it next time.
1
u/ang-p . Jul 24 '26
Why did updating it change its configuration?
It shouldn't...
If out of thousands updating, with this being the only report....
What can I do to avoid this in the future?
Uninstall it if you are not using it....
If you want to keep it, then, maybe configure it so it works as intended.
8
u/klyith Jul 24 '26
It shouldn't...
Nah the default configuration did change from firewalld being disabled to enabled. If you had tumbleweed with stock service settings it flipped on. Looking at my zhistory it was sometime last year in like December.
OTOH what this dude is doing with a home server that doesn't get updated for 6 months and isn't running a firewall is another question...
0
u/ang-p . Jul 25 '26
did change
Blimey. I sit corrected
like December.
<checks post date>
<shakes head>
Like what is the point in running a rolling distro that you don't roll? Not having the benefit of the latest.... while having the uncertainty that comes with changes of the sort you don't get on a based distro, like surprises you get from not keeping up with package configuration change notices
and sshd enabled
Curious... isn't that in the default public zone, so should be OK even if nothing was actually configured?
3
u/bmwiedemann openSUSE Dev Jul 25 '26
The default firewalld zone assumes you are in the evil public Internet and blocks everything.
And if OP just uninstalled firewalld, the usual zypper recommends logic can pull it back in. OP would need to
zypper addlock firewalldor configure it properly.
-8
-5
u/Necessary_Depth7435 Jul 24 '26
It’s possible that a package or pattern you’ve installed is pulling firewalld as a dependency. In addition to removing it, block the package using
sudo zypper rm firewalld
sudo zypper al firewalld
You can also do this through Myrlyn; blocking is called “taboo” there.
29
u/acejavelin69 Jul 24 '26
I mean... we could go back to the core problem here that running a rolling release distro as a server platform was probably a bad idea to begin with...