GyulyVGC/sniffnet

Fails to uninstall on fedora 41

Department-stack opened this issue · 8 comments

Is there an existing issue for this?

  • I have searched the existing issues.

What's the problem?

screenshot-2024-11-25-21-33-07

How did you install the app?

Downloaded one of the provided packages

Operating System

Linux

Additional context

Distribution: Fedora KDE 41

Desktop environment: COSMIC Alpha 3

Kernel version: 6.11.8-300.fc41.x86_64

Processors: 2 × AMD A4-9120C RADEON R4, 5 COMPUTE CORES 2C+3G

Memory: 3.5 GiB of RAM

Graphics: AMD Radeon R3 Graphics

Network adapter: Qualcomm Wireless-AC 802.11a/b/g/n/ac (2x2) Wi-Fi and Bluetooth 4.2 Combo, non-vPro

Laptop model: HP Chromebook 11A G8 EE

Hey, thanks for the feedback, this was just fixed in a1f115a.

Hi, it seems like this fix didn’t work for me.
Am I missing something?

I am running v1.3.2 on Fedora.
And installed from the rpm package available here: https://sniffnet.net/download/

Image

can reproduce

Laptop model: Acer Chromebook Plus 514 (CB514-3HT-R8RB)
OS: Fedora Linux 41 (KDE Plasma) x86_64
Host: Markarth (rev3)
Kernel: Linux 6.12.9-200.fc41.x86_64
Shell: bash 5.2.32
Display (AUO9CAB): 1920x1200 @ 60 Hz in 14" [Built-in]
DE: COSMIC
CPU: AMD Ryzen 3 7320C (8) @ 2.40 GHz
GPU: AMD Mendocino [Integrated]
Network Adapter: MediaTek MT7922A22M
Memory: 7.59 GiB
Swap: 7.59 GiB

Image

Mm that's weird guys.
Could you please try to run the command setcap -r /usr/bin/sniffnet manually?

Ok so that command is not giving errors, which is the same command that I'm using in the pre-remove script. I'm wondering why it fails when run from the pre-remove instead.

Yeah, but to me it gives a different result when running with sudo.
I'm also sending the permissions of the file, not sure if it helps.

Image

Image
Image

At this point I'm just going to remove the pre-uninstall script.
We included it as part of the packaging material, but I wasn't even sure it was strictly needed.
Everything should work even without resetting capabilities before the uninstallation.