diff mbox series

files: move example files away from /etc

Message ID 20210330144653.25119-1-jengelh@inai.de
State Accepted
Delegated to: Pablo Neira
Headers show
Series files: move example files away from /etc | expand

Commit Message

Jan Engelhardt March 30, 2021, 2:46 p.m. UTC
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.

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
---
For nftables.git.

 files/nftables/Makefile.am | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Pablo Neira Ayuso April 3, 2021, 6:03 p.m. UTC | #1
On Tue, Mar 30, 2021 at 04:46:53PM +0200, Jan Engelhardt wrote:
> 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.
diff mbox series

Patch

diff --git files/nftables/Makefile.am files/nftables/Makefile.am
index fc8b94ea..ee88dd89 100644
--- files/nftables/Makefile.am
+++ files/nftables/Makefile.am
@@ -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		\