Artix Linux Forum

Init systems => runit => Topic started by: Bnn87 on 03 October 2021, 01:31:52

Title: ufw setup & operation failure | Artix, runit with plasma
Post by: Bnn87 on 03 October 2021, 01:31:52
Having a bit of an issue trying to figure out how to properly setup ufw | ufw-runit to automatically run at start-up & reboots. I just reinstalled this afternoon to go with a clean slate. The system is up to date and I am running plasma as my desktop environment. Additionally I am fairly green with linux in general usually I try and succeed with figuring these kinda things out but this has me at a loss.

Appreciate your time

Title: Re: ufw setup & operation failure | Artix, runit with plasma
Post by: ndowens on 03 October 2021, 01:43:56
https://wiki.artixlinux.org/Main/Runit is an article on runit
Title: Re: ufw setup & operation failure | Artix, runit with plasma
Post by: dxrobertson on 03 October 2021, 13:17:31
I always run ufw with the enable option an initial time (as root):

Code: [Select]
ufw enable



Title: Re: ufw setup & operation failure | Artix, runit with plasma
Post by: matt_ on 15 December 2021, 06:53:06
I got this sorted by first installing these two packages:

Code: [Select]
pacman -S ufw ufw-runit

Then you have to manually enable the ufw service:

Code: [Select]
ln -s /etc/runit/sv/ufw /run/runit/service

I am not sure why the ufw-runit package does not automatically create that symbolic link, but you have to create it manually before ufw will start automatically at boot.
Title: Re: ufw setup & operation failure | Artix, runit with plasma
Post by: strajder on 15 December 2021, 09:34:23
I am not sure why the ufw-runit package does not automatically create that symbolic link,
It makes sense when you consider that services in general have to be configured before activation. Not every service works (or works in a desired manner) "out of the box". For the sake of consistency, all service packages are made the same with regards to activation.