[opensuse-factory] Missing package in Leap 15.0: firewall-cmd
Hi! I installed openSUSE Leap 15.0 today to set up a headless server. Since, by default, the system has a strict firewall configuration through IP tables such that an OpenSSH server won't work, I wanted to configure the firewall using YaST from the command line. When trying to open the YaST firewall module, I am greeted by an error message: ┌──────────────────────────────────────────────────────────────────────────────┐ │ Error │ │ YaST currently does not have a module for configuring firewall. Please, │ │ either use "firewall-config" to configure your firewall via a user interface │ │ or "firewall-cmd" for the command line. │ │ │ │ [OK] │ └──────────────────────────────────────────────────────────────────────────────┘ Unfortunately, the package "firewall-cmd" doesn't exist. Installing "firewall-config", on the other hand, would pull in lots of GtK dependencies which I would like to avoid. Is the missing "firewall-cmd" package intentional? If yes, the error message needs to be updated. Adrian -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
John Paul Adrian Glaubitz wrote:
Hi!
I installed openSUSE Leap 15.0 today to set up a headless server.
Unfortunately, the package "firewall-cmd" doesn't exist. Installing "firewall-config", on the other hand, would pull in lots of GtK dependencies which I would like to avoid.
At least on TW, firewall-cmd is part of the firewalld package. Have you tried 'cnf firewall-cmd'? What does it tell? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 10/11/18 6:24 PM, Peter Suetterlin wrote:
At least on TW, firewall-cmd is part of the firewalld package. Have you tried 'cnf firewall-cmd'? What does it tell?
Indeed: Program 'firewall-cmd' is present in package 'firewalld', which is installed on your system. Absolute path to 'firewall-cmd' is '/usr/bin/firewall-cmd'. Please check your $PATH variable to see whether it contains the mentioned path. I assume that I misunderstood the error message then. I thought "firewall-cmd" would allow me to configure the firewall in YaST without having to install a large number of GtK and related packages. Adrian -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 11/10/2018 18.27, John Paul Adrian Glaubitz wrote:
On 10/11/18 6:24 PM, Peter Suetterlin wrote:
At least on TW, firewall-cmd is part of the firewalld package. Have you tried 'cnf firewall-cmd'? What does it tell?
Indeed:
Program 'firewall-cmd' is present in package 'firewalld', which is installed on your system.
Absolute path to 'firewall-cmd' is '/usr/bin/firewall-cmd'. Please check your $PATH variable to see whether it contains the mentioned path.
I assume that I misunderstood the error message then. I thought "firewall-cmd" would allow me to configure the firewall in YaST without having to install a large number of GtK and related packages.
Not really. The message means: Either you are in a graphical system, e.g. gnome and call the graphical yast module or "firewall-config", which is the GUI configuration tool, or use "firewall-cmd" in a shell. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 10/11/18 7:35 PM, Oliver Kurz wrote:
I assume that I misunderstood the error message then. I thought "firewall-cmd" would allow me to configure the firewall in YaST without having to install a large number of GtK and related packages.
Not really. The message means: Either you are in a graphical system, e.g. gnome and call the graphical yast module or "firewall-config", which is the GUI configuration tool, or use "firewall-cmd" in a shell.
It puts the name of a package and the name of a command in the same sentence which is definitely confusing unless you know one of them is a package and the user is the name of a command which is part of another package called "firewalld". Adrian -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Donnerstag, 11. Oktober 2018 20:33:05 CEST John Paul Adrian Glaubitz wrote:
On 10/11/18 7:35 PM, Oliver Kurz wrote:
I assume that I misunderstood the error message then. I thought "firewall-cmd" would allow me to configure the firewall in YaST without having to install a large number of GtK and related packages.
Not really. The message means: Either you are in a graphical system, e.g. gnome and call the graphical yast module or "firewall-config", which is the GUI configuration tool, or use "firewall-cmd" in a shell.
It puts the name of a package and the name of a command in the same sentence which is definitely confusing unless you know one of them is a package and the user is the name of a command which is part of another package called "firewalld".
No. Both, firewall-config and firewall-cmd, are commands/programs. One happens to have the same names as the package its contained in. Kind regards, Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen home: +49 241 53809034 mobile: +49 151 50412019
Op donderdag 11 oktober 2018 18:12:48 CEST schreef John Paul Adrian Glaubitz:
Hi!
I installed openSUSE Leap 15.0 today to set up a headless server.
Since, by default, the system has a strict firewall configuration through IP tables such that an OpenSSH server won't work, I wanted to configure the firewall using YaST from the command line.
When trying to open the YaST firewall module, I am greeted by an error message:
┌─────────────────────────────────────────────────────────────────────────── ───┐ │ Error │ │ YaST currently does not have a module for configuring firewall. Please, │ │ either use "firewall-config" to configure your firewall via a user interface │ │ or "firewall-cmd" for the command line. │ │ │ │ [OK] │ └────────────────────────────────────────────────────────────────────────── ────┘
Unfortunately, the package "firewall-cmd" doesn't exist. Installing "firewall-config", on the other hand, would pull in lots of GtK dependencies which I would like to avoid.
Is the missing "firewall-cmd" package intentional? If yes, the error message needs to be updated.
Adrian I had exactly the same thoughts about the Gtk packages, ditto headless server, found the YaST ncurses version did not work ( as appeared to be announced ) and decided to accept the deps and installed firewall-config. And have not regretted that step one single moment. I run it over an ssh connection.
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums TeamN�����r��y隊Z)z{.���r�+�맲��r��z�^�ˬz��N�(�֜��^� ޭ隊Z)z{.���r�+��0�����Ǩ�
On 10/11/18 9:07 PM, Knurpht-openSUSE wrote:
I had exactly the same thoughts about the Gtk packages, ditto headless server, found the YaST ncurses version did not work ( as appeared to be announced ) and decided to accept the deps and installed firewall-config. And have not regretted that step one single moment. I run it over an ssh connection.
Interesting. So, just that I don't misunderstand you: You are running the X version of YaST the network using "ssh -X -C" because the ncurses version doesn't have a functional firewall module? Thanks, Adrian -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Op donderdag 11 oktober 2018 21:11:51 CEST schreef John Paul Adrian Glaubitz:
On 10/11/18 9:07 PM, Knurpht-openSUSE wrote:
I had exactly the same thoughts about the Gtk packages, ditto headless server, found the YaST ncurses version did not work ( as appeared to be announced ) and decided to accept the deps and installed firewall-config. And have not regretted that step one single moment. I run it over an ssh connection. Interesting. So, just that I don't misunderstand you: You are running the X version of YaST the network using "ssh -X -C" because the ncurses version doesn't have a functional firewall module?
Thanks, Adrian Only for the firewall module, yep. The VPS runs headless, but already had a minimal X installed for a dyslectic apprentice with ro access. Before that I used firewall-cmd, mostly the --help option :D.
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (5)
-
John Paul Adrian Glaubitz
-
Knurpht-openSUSE
-
Oliver Kurz
-
Peter Suetterlin
-
Stefan Brüns