System didn't boot after activating firewall

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
User avatar
Dan-cer
Level 6
Level 6
Posts: 1161
Joined: Fri Jul 29, 2022 4:56 pm
Location: Germany, Lower Saxony

System didn't boot after activating firewall

Post by Dan-cer »

Today I activated the firewall in the installed standard tool "Firewall configuration" without making any further settings, after which the system - LM 21.3 Cinnamon - no longer booted.
I then used Timeshift to restore the system with an earlier restore point. My question: How could this happen?
How you get better results when searching for yourself.
User avatar
Pjotr
Level 24
Level 24
Posts: 20142
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: System didn't boot after activating firewall

Post by Pjotr »

No idea. Does this also happen when you activate the firewall in the terminal, with:

Code: Select all

sudo ufw enable
Also, please post the output of:

Code: Select all

inxi -Fxxxpmrz
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
Dan-cer
Level 6
Level 6
Posts: 1161
Joined: Fri Jul 29, 2022 4:56 pm
Location: Germany, Lower Saxony

Re: System didn't boot after activating firewall

Post by Dan-cer »

Before trying it again with terminal command I prefer to wait for some more comments.

Code: Select all

inxi -Fxxxpmrz
System:
  Kernel: 6.5.0-25-generic x86_64 bits: 64
    compiler: N/A Desktop: Cinnamon 6.0.4
    tk: GTK 3.24.33 wm: muffin vt: 7
    dm: LightDM 1.30.0
    Distro: Linux Mint 21.3 Virginia
    base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop System: Dell product: OptiPlex 3060
    v: N/A serial: <superuser required> Chassis:
    type: 3 serial: <superuser required>
  Mobo: Dell model: 04Y8V0 v: A02
    serial: <superuser required> UEFI: Dell v: 1.18.0
    date: 03/22/2022
Memory:
  RAM: total: 31.04 GiB used: 3.59 GiB (11.6%)
  RAM Report: permissions: Unable to run
    dmidecode. Root privileges required.
CPU:
  Info: 6-core model: Intel Core i5-8400 bits: 64
    type: MCP smt: <unsupported> arch: Coffee Lake
    rev: A cache: L1: 384 KiB L2: 1.5 MiB L3: 9 MiB
  Speed (MHz): avg: 883 high: 900
    min/max: 800/4000 cores: 1: 900 2: 900 3: 900
    4: 900 5: 800 6: 900 bogomips: 33599
  Flags: avx avx2 ht lm nx pae sse sse2 sse3
    sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel CoffeeLake-S GT2 [UHD Graphics
  630]
    vendor: Dell CometLake-S driver: i915 v: kernel
    ports: active: HDMI-A-1
    empty: DP-1, DP-2, HDMI-A-2, HDMI-A-3
    bus-ID: 00:02.0 chip-ID: 8086:3e92
    class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.4 driver:
    X: loaded: modesetting unloaded: fbdev,vesa
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
    s-size: 508x285mm (20.0x11.2")
    s-diag: 582mm (22.9")
  Monitor-1: HDMI-1 mapped: HDMI-A-1
    model: AOC 27B1 serial: <filter> res: 1920x1080
    hz: 60 dpi: 82 size: 598x336mm (23.5x13.2")
    diag: 686mm (27") modes: max: 1920x1080
    min: 720x400
  OpenGL:
    renderer: Mesa Intel UHD Graphics 630 (CFL GT2)
    v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2
    direct render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Dell
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
    chip-ID: 8086:a348 class-ID: 0403
  Sound Server-1: ALSA v: k6.5.0-25-generic
    running: yes
  Sound Server-2: PulseAudio v: 15.99.1
    running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express
    Gigabit Ethernet
    vendor: Dell driver: r8169 v: kernel pcie:
    speed: 2.5 GT/s lanes: 1 port: 3000
    bus-ID: 01:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp1s0 state: down mac: <filter>
  Device-2: Qualcomm Atheros AR9271 802.11n
    type: USB driver: ath9k_htc bus-ID: 1-10:4
    chip-ID: 0cf3:9271 class-ID: ff00
    serial: <filter>
  IF: wlx14cc2013a10a state: up mac: <filter>
Drives:
  Local Storage: total: 715.41 GiB
    used: 334.95 GiB (46.8%)
  ID-1: /dev/nvme0n1 vendor: Samsung
    model: PM981 NVMe 512GB size: 476.94 GiB
    speed: 31.6 Gb/s lanes: 4 type: SSD
    serial: <filter> rev: EXA73D1Q temp: 28.9 C
    scheme: GPT
  ID-2: /dev/sda vendor: Apacer
    model: AS350 256GB size: 238.47 GiB
    speed: 6.0 Gb/s type: SSD serial: <filter>
    rev: 3PE0 scheme: GPT
Partition:
  ID-1: / size: 38.15 GiB used: 34.83 GiB (91.3%)
    fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 96 MiB
    used: 38 MiB (39.5%) fs: vfat dev: /dev/nvme0n1p1
  ID-3: /home size: 381.58 GiB
    used: 117.48 GiB (30.8%) fs: ext4
    dev: /dev/nvme0n1p3
  ID-4: /mnt/38C2D18BC2D14E2E size: 130.21 GiB
    used: 90.5 GiB (69.5%) fs: ntfs dev: /dev/sda2
  ID-5: /mnt/Backup size: 47.96 GiB
    used: 35.95 GiB (74.9%) fs: ext4
    dev: /dev/nvme0n1p4
  ID-6: /mnt/Musik size: 108.25 GiB
    used: 56.16 GiB (51.9%) fs: ntfs dev: /dev/sda3
Swap:
  ID-1: swap-1 type: file size: 1.81 GiB
    used: 0 KiB (0.0%) priority: -2 file: /swapfile
Sensors:
  System Temperatures: cpu: 27.8 C pch: 45.0 C
    mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: apt: 2671
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/megasync.list
    1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/xUbuntu_22.04/ ./
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://linux-mint.froonix.org virginia main upstream import backport
    2: deb http://ftp-stud.hs-esslingen.de/ubuntu jammy main restricted universe multiverse
    3: deb http://ftp-stud.hs-esslingen.de/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://ftp-stud.hs-esslingen.de/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/opera-stable.list
    1: deb https://deb.opera.com/opera-stable/ stable non-free
  Active apt repos in: /etc/apt/sources.list.d/vivaldi.list
    1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
Info:
  Processes: 303 Uptime: 15m wakeups: 0
  Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.4.0 alt: 11/12 Shell: Bash v: 5.1.16
  running-in: gnome-terminal inxi: 3.3.13
How you get better results when searching for yourself.
User avatar
Pjotr
Level 24
Level 24
Posts: 20142
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: System didn't boot after activating firewall

Post by Pjotr »

One problematic detail, but it's probably unrelated to your issue: your root partition / is much too full (91.3 %). No Linux partition should ever be filled above 80 %, in order to prevent file fragmentation and other space-related problems.

So whatever you do: free up space on /. This page might help to do that safely:
https://easylinuxtipsproject.blogspot.c ... -mint.html

Edit: Also, that unofficial megasync repo in your sources list looks suspicious. Might just be that it contains the kind of weird sh*tty stuff that causes problems when a firewall is activated....
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
Dan-cer
Level 6
Level 6
Posts: 1161
Joined: Fri Jul 29, 2022 4:56 pm
Location: Germany, Lower Saxony

Re: System didn't boot after activating firewall

Post by Dan-cer »

Thank you very much for telling me, Pjotr. I followed your tutorial and could reduce the used space significantly to 79,3 %-
How you get better results when searching for yourself.
User avatar
Pjotr
Level 24
Level 24
Posts: 20142
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: System didn't boot after activating firewall

Post by Pjotr »

Good! Maybe you missed what I added afterwards to my previous message, so I'll repeat it here:

Also, that unofficial megasync repo in your sources list looks suspicious. Might just be that it contains the kind of weird sh*tty stuff that causes problems when a firewall is activated....
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
Dan-cer
Level 6
Level 6
Posts: 1161
Joined: Fri Jul 29, 2022 4:56 pm
Location: Germany, Lower Saxony

Re: System didn't boot after activating firewall

Post by Dan-cer »

Is there any megasync available that is more 'official'?
How you get better results when searching for yourself.
User avatar
Pjotr
Level 24
Level 24
Posts: 20142
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: System didn't boot after activating firewall

Post by Pjotr »

Dan-cer wrote: Sun Mar 10, 2024 3:53 pm Is there any megasync available that is more 'official'?
Well, I couldn't find megasync in the official repos of my 21.3....
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
Dan-cer
Level 6
Level 6
Posts: 1161
Joined: Fri Jul 29, 2022 4:56 pm
Location: Germany, Lower Saxony

Re: System didn't boot after activating firewall

Post by Dan-cer »

I think it is the official website where I got the download from.
Edit:
I now have executed

Code: Select all

sudo ufw enable
and reboot succeeded.
How you get better results when searching for yourself.
User avatar
Pjotr
Level 24
Level 24
Posts: 20142
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: System didn't boot after activating firewall

Post by Pjotr »

Dan-cer wrote: Sun Mar 10, 2024 4:25 pm I think it is the official website where I got the download from.
Edit:
I now have executed

Code: Select all

sudo ufw enable
and reboot succeeded.
By "official" I mean the official repos of Linux Mint. :wink:

Anyway: all is well that ends well. Good = good.

As a final tip, I recommend to turn off the useless and spammy log of UFW, which sometimes creates huge space-hogging logs:

Code: Select all

sudo ufw logging off
.... und damit soll alles, hoffentlich, wieder halbwegs in Ordnung sein. :mrgreen:
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
Dan-cer
Level 6
Level 6
Posts: 1161
Joined: Fri Jul 29, 2022 4:56 pm
Location: Germany, Lower Saxony

Re: System didn't boot after activating firewall

Post by Dan-cer »

Pjotr wrote: Sun Mar 10, 2024 4:54 pm
As a final tip, I recommend to turn off the useless and spammy log of UFW, which sometimes creates huge space-hogging logs:

Code: Select all

sudo ufw logging off
I did already, it was part of your tutorial to get more space.

Thank you again and have a good night!
How you get better results when searching for yourself.
RonanMercer
Level 1
Level 1
Posts: 1
Joined: Fri Mar 08, 2024 9:36 am

Re: System didn't boot after activating firewall

Post by RonanMercer »

Pjotr wrote: Sun Mar 10, 2024 3:18 pm One problematic detail, but it's probably unrelated to your issue: your root partition / is much too full (91.3 %). No Linux partition should ever be filled above 80 %, in order to prevent file fragmentation and other space-related problems.

So whatever you do: free up space on /. This page might help to do that safely:
https://easylinuxtipsproject.blogspot.c ... -mint.html

Edit: Also, that unofficial megasync repo in your sources list looks suspicious. Might just be that it contains the kind of weird sh*tty stuff that causes problems when a firewall is activated....
Thank you sir for the link, I want to know how to clean Linux Mint. If I still face any issue, I will update you by starting my own thread.
Post Reply

Return to “Cinnamon”