Author Topic: GUFW not function  (Read 806 times)

0 Members and 1 Guest are viewing this topic.

Offline Redmarx

  • Neuling
  • *
  • Posts: 3
  • I'm new. Be nice!
  • Skill: Novice
GUFW not function
« on: 26. April 2016, 22:53:47 »
Hello,
A few days ago I installed a new computer Manjaro linux and I have a problem here:
Firewall GUFW does not work correctly.

I have in the UFW created rules and firewall is active.

Code: [Select]
[redmarx@ExPC ~]$ sudo ufw status
[sudo] password:
WARN: uid is 0 but '/usr/lib/ufw/user.rules' is owned by 1000
WARN: uid is 0 but '/usr/lib/ufw/user6.rules' is owned by 1000
Status: active

To                         Action      From
--                         ------      ----
445/tcp                    ALLOW       Anywhere
139/tcp                    ALLOW       Anywhere
...

But when I click on GUFW firewall, it is inactive and no rules are not there. When I click activate on GUFW and click it close with a cross, then on run again - GUFW is inactive. At the command prompt, I find that UFW is inactive too.

How to fix it, so GUFW worked?

(Sorry for bad English)

Offline badbodh

  • Held Mitglied
  • *****
  • Posts: 923
  • Windows assumes I'm stupid, Linux proves it.
  • Branch: Testing
  • Desktop: Xfce, i3
  • GPU Card: Intel Mobile 4 Series
  • Kernel: linux41 64-bit
  • Skill: Intermediate
Re: GUFW not function
« Reply #1 on: 26. April 2016, 23:20:18 »
did you enable ufw service ?
Code: [Select]
sudo systemctl enable ufw
You can't feel the love till it hurts a little. Go rolling, go bleeding-edge !

Offline Redmarx

  • Neuling
  • *
  • Posts: 3
  • I'm new. Be nice!
  • Skill: Novice
Re: GUFW not function
« Reply #2 on: 30. April 2016, 13:06:02 »
Yes, ufw service run, ufw active, but gufw no.

Offline viking

  • Sr. Mitglied
  • ****
  • Posts: 346
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Intel HD3000
  • GPU driver: Free
  • Kernel: Whichever is the latest
  • Skill: Intermediate
Re: GUFW not function
« Reply #3 on: 30. April 2016, 17:44:26 »
You don't say what version of ufw you are using, but if you updated it recently as I did and you look in the pacman log file you will find the following warning:

[
Code: [Select]
2016-04-27 17:11] [ALPM] upgraded ufw (0.35-1 -> 0.35-2)
[2016-04-27 17:11] [ALPM-SCRIPTLET] >>>
[2016-04-27 17:11] [ALPM-SCRIPTLET] >>> IMPORTANT UFW UPGRADE NOTICE
[2016-04-27 17:11] [ALPM-SCRIPTLET] >>> ----------------------------
[2016-04-27 17:11] [ALPM-SCRIPTLET] >>> Version 0.35 has moved several config files.
[2016-04-27 17:11] [ALPM-SCRIPTLET] >>> You may need to copy your versions of the files
[2016-04-27 17:11] [ALPM-SCRIPTLET] >>> to the new location.
[2016-04-27 17:11] [ALPM-SCRIPTLET] >>> /usr/lib/ufw/user.rules.pacsave  -> /etc/ufw/user.rules
[2016-04-27 17:11] [ALPM-SCRIPTLET] >>> /usr/lib/ufw/user6.rules.pacsave -> /etc/ufw/user6.rules
[2016-04-27 17:11] [ALPM-SCRIPTLET] >>>

Maybe something to do with that?
Fujitsu Lifebook AH532 laptop. Intel i5 processor, 16Gb ram, Intel HD3000 graphics, Intel Audio/wifi, Mint17, Ubuntu1404, Manjaro, all Xfce4.

Offline Redmarx

  • Neuling
  • *
  • Posts: 3
  • I'm new. Be nice!
  • Skill: Novice
Re: GUFW not function
« Reply #4 on: 01. May 2016, 08:17:44 »
This is it, thank you.