You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$cd /etc/runit/runsvdir
$sudo ln -s /etc/sv/ufw ufw
This creates a symbolic link in the "/etc/runit/runsvdir" pointing to the "/etc/sf/ufw" directory where is the "run" file.
The text was updated successfully, but these errors were encountered:
After installing ufw and enabling it, it will be "active" and remain "active" after a reboot.
Is this the default behavior on other Linux distributions? Ubuntu also uses a oneshot service to start ufw on boot, but in contrast to Void they seem to auto-enable it.
$ cd /etc/runit/runsvdir
$ sudo ln -s /etc/sv/ufw ufw
Is there a reason why you are not using /var/service/ to enable services?
Maybe we should document this need in docs, but we have a clear policy of not making runtime changes to user's systems; that includes auto enabling services like firewall, same way we don't restart sshd after updates.
We can consider documenting this in void-docs or a README.voidlinux file for the package.
System
Expected behavior
After installing ufw and enabling it, it will be "active" and remain "active" after a reboot.
Actual behavior
ufw is only active until a reboot, then it is "inactive" until it is manually enabled by the user.
Steps to reproduce the behavior
Install ufw as follows:
#xbps-install ufw
#xbps-reconfigure ufw
#ufw enable
#reboot
#ufw status returns "inactive"
FIX:
$cd /etc/runit/runsvdir
$sudo ln -s /etc/sv/ufw ufw
This creates a symbolic link in the "/etc/runit/runsvdir" pointing to the "/etc/sf/ufw" directory where is the "run" file.
The text was updated successfully, but these errors were encountered: