You are not logged in.

#1 2022-04-16 16:09:13

Morta
Member
Registered: 2019-07-07
Posts: 655

nftables systemctl status inactive?

sudo systemctl status nftables
○ nftables.service - Netfilter Tables
     Loaded: loaded (/etc/systemd/system/nftables.service; enabled; vendor preset: disabled)
     Active: inactive (dead) since Sat 2022-04-16 17:54:50 CEST; 12min ago
       Docs: man:nft(8)
   Main PID: 45185 (code=exited, status=0/SUCCESS)
        CPU: 5ms

Apr 16 17:54:50 lapt0p systemd[1]: Starting Netfilter Tables...
Apr 16 17:54:50 lapt0p systemd[1]: nftables.service: Deactivated successfully.
Apr 16 17:54:50 lapt0p systemd[1]: Finished Netfilter Tables.

It's normal that shows nftables inactive after a systemclt start option oneshot?

Offline

#2 2022-04-16 16:26:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,728

Re: nftables systemctl status inactive?

It is. A oneshot runs a single command and exits when that command has exited. You know it has started by the fact it has an exit status and activation information.

Last edited by V1del (2022-04-16 16:27:47)

Offline

#3 2022-04-16 16:29:54

Morta
Member
Registered: 2019-07-07
Posts: 655

Re: nftables systemctl status inactive?

Thanks for reply

I read that nftables are active even when the service stop or till I execute a flush with nftables, so I was not shure if it's correct.

Offline

Board footer

Powered by FluxBB