Wiping .cache makes gufw fail, cuts network access ?

Bug #1914606 reported by William Dietrich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gui-ufw (Ubuntu)
New
Undecided
Unassigned

Bug Description

I added a line to /etc/fstab to put my ~/.cache on a tmpfs:

tmpfs /home/user1/.cache tmpfs nodev,nosuid,mode=1777,size=1G,defaults 0 0

or:

tmpfs /home/user1/.cache tmpfs noatime,nodiratime,nodev,nosuid,mode=1777,size=1G,defaults 0 0

[I tried a couple of versions, and rebooted a number of times, not sure of the exact configuration, sorry.]

After reboot, the system had no network access. "ping 1.1.1.1" or similar failed. I am using wired Ethernet. Tried various fixes. I eventually fixed the problem by uninstalling gufw. I'm not 100% positive gufw was the problem. But now (with first form of fstab line) everything works.

Is gufw storing something in ~/.cache that it shouldn't be ? I should be able to wipe ~/.cache and reboot and have everything work, correct ? I had no rules set in gufw, just enabled and Incoming=Deny. System worked okay with gufw before I added that fstab line and rebooted.

I'm on Kubuntu 20.10, kernel 5.8.0-41-generic, gufw 20.10.0-0ubuntu1

ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: gufw (not installed)
ProcVersionSignature: Ubuntu 5.8.0-41.46-generic 5.8.18
Uname: Linux 5.8.0-41-generic x86_64
ApportVersion: 2.20.11-0ubuntu50.5
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: KDE
Date: Thu Feb 4 14:07:32 2021
InstallationDate: Installed on 2021-02-03 (1 days ago)
InstallationMedia: Kubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
SourcePackage: gui-ufw
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
William Dietrich (billdietrich444) wrote :
Revision history for this message
costales (costales) wrote : Re: [Bug 1914606] [NEW] Wiping .cache makes gufw fail, cuts network access ?

Hi,

No, Gufw is not using that directory. But I had several times bugs about
with Gufw enabled the PC hasn't Internet... really weird.

Best regards.

Revision history for this message
William Dietrich (billdietrich444) wrote :

Could it be something used by gufw ? Firewalld or iptables or something ?

Revision history for this message
costales (costales) wrote : Re: [Bug 1914606] Re: Wiping .cache makes gufw fail, cuts network access ?

No, it only sends commands to ufw

Revision history for this message
William Dietrich (billdietrich444) wrote :

Maybe ufw stores something important in ~/.cache ?

Revision history for this message
William Dietrich (billdietrich444) wrote :

Okay, now I'm convinced my problems have nothing to do with ~/.cache, so I'm closing this issue. But I'm still having gufw show "disabled" after a reboot. When it happens, is that just reacting to some change that ufw made to the iptables ? Such as setting the INPUT chain to empty ? I think I've found an issue I'm going to file against ufw. Thanks.

Revision history for this message
William Dietrich (billdietrich444) wrote :

I guess I can't close this issue myself, so please close it for me. Thanks.

Revision history for this message
costales (costales) wrote :

Could you run gufw on terminal and put here the dump? thanks!

Revision history for this message
William Dietrich (billdietrich444) wrote :

What I am seeing seems to be a state change that happens at boot time, so I can't capture it in gufw cli. I have filed https://bugs.launchpad.net/ubuntu/+source/ufw/+bug/1914816

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.