Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 508182

Summary: net-firewall/nftables - add init script
Product: Gentoo Linux Reporter: nvinson234
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: alexxy, bertrand, gef.kornflakes
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 511460    
Attachments: nftables openrc init script
nftables openrc config script

Description nvinson234 2014-04-19 19:26:36 UTC
When I installed net-firewall/nftables-0.099 I did not see any nft or nftables scripts added to /etc/init.d/openrc.  Please add one for openrc users.  To help facilitate this request, I will attach the script I wrote for nftables.

Reproducible: Always
Comment 1 nvinson234 2014-04-19 19:28:14 UTC
Created attachment 375326 [details]
nftables openrc init script

The init script I wrote for nftables.  I based it off of the iptables initscript.
Comment 2 nvinson234 2014-04-19 19:28:58 UTC
Created attachment 375328 [details]
nftables openrc config script

This is the companion configuration script.
Comment 3 Alexey Shvetsov archtester gentoo-dev 2014-05-10 17:40:39 UTC
Seems works for me =D
Comment 4 Manuel Rüger (RETIRED) gentoo-dev 2014-08-25 19:31:05 UTC
*nftables-0.3 (25 Aug 2014)

  25 Aug 2014; Manuel Rüger <mrueg@gentoo.org> +files/nftables.confd,
  +files/nftables.init, +nftables-0.3.ebuild:
  NMU: Version bump. See bug #511460. Generate manpage on buildtime. Add init
  script based on iptables scripts by Nicholas Vinson. See bug #508182.