As the title states, the firewall doesn't stay on after a reboot. I ran sudo systemctl enable --now ufw.service and get the following:
What are the syntax warnings? I'm assuming that has something to do with the problem. It does turn it on, but it doesn't survive a reboot.
BTW, this is on a fresh install of PCLinuxOS-Debian edition.
Code:
sudo systemctl enable --now ufw.service
/usr/bin/systemctl:1541: SyntaxWarning: invalid escape sequence '\w'
expanded = re.sub("[$](\w+)", lambda m: get_env1(m), cmd.replace("\\\n",""))
/usr/bin/systemctl:1543: SyntaxWarning: invalid escape sequence '\w'
new_text = re.sub("[$][{](\w+)[}]", lambda m: get_env2(m), expanded)
/usr/bin/systemctl:1628: SyntaxWarning: invalid escape sequence '\w'
cmd3 = re.sub("[$](\w+)", lambda m: get_env1(m), cmd2)
/usr/bin/systemctl:1631: SyntaxWarning: invalid escape sequence '\w'
newcmd += [ re.sub("[$][{](\w+)[}]", lambda m: get_env2(m), part)
What are the syntax warnings? I'm assuming that has something to do with the problem. It does turn it on, but it doesn't survive a reboot.
BTW, this is on a fresh install of PCLinuxOS-Debian edition.
Last edited:

