Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sorry, i am confused again
I want to check if my ufw is up or down, because kdeconnect is not working right.
When checked with systemctl, it said active
when checked with ufw status, it said inactive !!
what wrong ?!
which should i believe ?
Code:
$ systemctl status ufw
● ufw.service - CLI Netfilter Manager
Loaded: loaded (/usr/lib/systemd/system/ufw.service; enabled; vendor preset: disabled)
Active: active (exited) since Sun 2022-02-27 19:18:31 CET; 4 days ago
Process: 404 ExecStart=/usr/lib/ufw/ufw-init start (code=exited, status=0/SUCCESS)
Main PID: 404 (code=exited, status=0/SUCCESS)
CPU: 9ms
Feb 27 19:18:31 user1-pc systemd[1]: Starting CLI Netfilter Manager...
Feb 27 19:18:31 user1-pc ufw-init[410]: Skip starting firewall: ufw (not enabled)
Feb 27 19:18:31 user1-pc systemd[1]: Finished CLI Netfilter Manager.
$ sudo ufw status verbose
Status: inactive
[/CODE]
Sorry, i am confused again
I want to check if my ufw is up or down, because kdeconnect is not working right.
When checked with systemctl, it said active
when checked with ufw status, it said inactive !!
what wrong ?!
which should i believe ?
Code:
$ systemctl status ufw
● ufw.service - CLI Netfilter Manager
Loaded: loaded (/usr/lib/systemd/system/ufw.service; enabled; vendor preset: disabled)
Active: active (exited) since Sun 2022-02-27 19:18:31 CET; 4 days ago
Process: 404 ExecStart=/usr/lib/ufw/ufw-init start (code=exited, status=0/SUCCESS)
Main PID: 404 (code=exited, status=0/SUCCESS)
CPU: 9ms
Feb 27 19:18:31 user1-pc systemd[1]: Starting CLI Netfilter Manager...
Feb 27 19:18:31 user1-pc ufw-init[410]: Skip starting firewall: ufw (not enabled)
Feb 27 19:18:31 user1-pc systemd[1]: Finished CLI Netfilter Manager.
$ sudo ufw status verbose
Status: inactive
[/CODE]
The systemctl status is reporting that ufw didn’t start, and why.
Looks to be what happened at boot, yes?
Basically RemainAfterExit=yes will keep the service active even when all its processes exited. The ufw-init is a SySV style script that if ufw is enabled will load the saved firewall rules.
Sorry, i am confused again
I want to check if my ufw is up or down, because kdeconnect is not working right.
When checked with systemctl, it said active
when checked with ufw status, it said inactive !!
Make it so that both are active and stop obsessing about it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.