Skip to contentSkip to conversation

files: move example files away from /etc

PATCH Applied Jan Engelhardt 2 participants 2 messages Mar 30, 2021 – Apr 3, 2021 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 files: move example files away from /etc

As per file-hierarchy(5), /etc is for "system-specific configuration", not "vendor-supplied default configuration files".

Moreover, the comments in all-in-one.nft say it is an example, and so, not a vendor config either.

Move it out of /etc.

---
For nftables.git.

 files/nftables/Makefile.am | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
nftables/Makefile.am +1 -2
index fc8b94ea..ee88dd89 100644
@@ -1,5 +1,4 @@
-pkgsysconfdir = ${sysconfdir}/nftables
-dist_pkgsysconf_DATA =	all-in-one.nft		\
+dist_pkgdata_DATA =	all-in-one.nft		\
 			arp-filter.nft		\
 			bridge-filter.nft	\
 			inet-filter.nft		\
Signature · 1 line
2.30.2
maintainer Applied
#1 lore raw
Quoted 7 lines · Jan Engelhardt

As per file-hierarchy(5), /etc is for "system-specific configuration", not "vendor-supplied default configuration files".

Moreover, the comments in all-in-one.nft say it is an example, and so, not a vendor config either.

Move it out of /etc.

Applied, thanks.