The officially official Devuan Forum!

You are not logged in.

#1 2021-11-09 00:41:16

macondo123
Member
From: Panama
Registered: 2017-09-23
Posts: 26  

[SOLVED] Bug in UFW?

Just upgraded to Chimaera, installed ufw gives me this error:
root@foo:/home/bobo# ufw enable
bash: ufw: command not found

Installed gufw:
root@foo:/home/bobo# gufw
/usr/bin/gufw: line 2: [: =: unary operator expected                                                                                                                                         
ls: cannot access '/usr/lib/python*/site-packages/gufw/gufw.py': No such file or directory

thanks,

Last edited by macondo123 (2021-11-09 00:43:23)

Offline

#2 2021-11-09 08:12:14

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] Bug in UFW?

macondo123 wrote:

Just upgraded to Chimaera, installed ufw gives me this error:
root@foo:/home/bobo# ufw enable
bash: ufw: command not found

Read the release notes and use the correct command to gain a root shell. You have used the wrong command and so PATH is not set correctly.


Brianna Ghey — Rest In Power

Offline

#3 2021-11-09 14:44:38

macondo123
Member
From: Panama
Registered: 2017-09-23
Posts: 26  

Re: [SOLVED] Bug in UFW?

Read the "release notes", waste of time, had done that originally, then I remember in
Slackware in order to become root you have to su - to become root. That did it!

bobo@foo:~$ su -
Password:
root@foo:~# ufw enable
Firewall is active and enabled on system startup
root@foo:~#

Thanks Head_on_a_Stick!

Last edited by macondo123 (2021-11-09 14:55:33)

Offline

#4 2021-11-09 15:00:30

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] Bug in UFW?

macondo123 wrote:

Read the "release notes", waste of time, had done that originally, then I remember in
Slackware in order to become root you have to su - to become root.

Release Notes wrote:

  su

   The behaviour of su changed in Devuan 3 Beowulf. These changes persist
   in Devuan 4 Chimaera. Use su - to get root's path or use the full path
   to commands if you use only su. See the following for more information:
   -
   [17]https://www.debian.org/releases/buster/ … s/ch-infor
   mation.en.html#su-environment-variables -
   [18]https://wiki.debian.org/NewInBuster -
   [19]https://bugs.debian.org/905564

roll


Brianna Ghey — Rest In Power

Offline

#5 2021-11-09 15:27:39

macondo123
Member
From: Panama
Registered: 2017-09-23
Posts: 26  

Re: [SOLVED] Bug in UFW?

Sorry pal, never saw that section (su)... my bad!

Offline

Board footer