Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] ufw trouble after updates (Read 989 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] ufw trouble after updates

Good day!

I think I am have having a problem with ufw. I can only narrow it down to having begun to occur in about the last 5 days.

This occurs on 3 different machines (all with openrc), one from a base install with dwm, and ones from plasma and cinnamon install isos.

Here are some outputs:

Code: [Select]
# rc-update show | grep ufw 
                  ufw |      default
# rc-service ufw status
 * status: stopped
# rc-service ufw start                                                                       
ufw               | * Starting ufw ...
ufw               | * Cannot find file /usr/share/ufw/ufw-init-functions!  [ !! ]
ufw               | * ERROR: ufw failed to start


The following command gives no output:
Code: [Select]
# pkgfile /usr/share/ufw/ufw-init-functions

However,
Code: [Select]
# locate ufw-init-functions                                                                 :(
/usr/lib/ufw/ufw-init-functions

Looked on the arch forum but didn't find anything.

I was wondering if anyone else is seeing this?

Re: ufw trouble after updates

Reply #1
As a quick and filthy test:

Code: [Select]
# ln -s /usr/lib/ufw/ufw-init /usr/share/ufw/ufw-init
# ln -s /usr/lib/ufw/ufw-init-functions /usr/share/ufw/ufw-init-functions

Now ufw starts. Looks like some of the stuff is just in the wrong place.

Re: ufw trouble after updates

Reply #2
Updated ufw-openrc to 20200621, which I believe should fix this issue.

Re: ufw trouble after updates

Reply #3
Works great. Thank you!