From 2ce0ffb97752f51199fb85f56167ecf7079a7a02 Mon Sep 17 00:00:00 2001 From: Louis Sautier Date: Sun, 10 Sep 2017 21:37:03 +0200 Subject: [PATCH 1/2] Fix Gentoo init script's shebang Use openrc-run instead of runscript. https://github.com/OpenRC/openrc/commit/5d5856c193768d24f11d5f0533e48c39526aef5c --- ChangeLog | 1 + files/gentoo-initd | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c56ca6ec..5beae7ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -35,6 +35,7 @@ ver. 0.10.1-dev-1 (2016/??/??) - development edition ----------- ### Fixes +* fix Gentoo init script's shebang to use openrc-run instead of runscript * jail "pass2allow-ftp" supply blocktype and returntype parameters to the action (gh-1884) * avoid using "ANSI_X3.4-1968" as preferred encoding (if missing environment variables 'LANGUAGE', 'LC_ALL', 'LC_CTYPE', and 'LANG', see gh-1587). diff --git a/files/gentoo-initd b/files/gentoo-initd index c4d8675c..d4e52bcb 100755 --- a/files/gentoo-initd +++ b/files/gentoo-initd @@ -1,4 +1,4 @@ -#!/sbin/runscript +#!/sbin/openrc-run # This file is part of Fail2Ban. # # Fail2Ban is free software; you can redistribute it and/or modify From 72ad904f584be4df44963c2b058a29d9f076d013 Mon Sep 17 00:00:00 2001 From: "Serg G. Brester" Date: Mon, 11 Sep 2017 12:22:43 +0200 Subject: [PATCH 2/2] Update ChangeLog --- ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5beae7ec..27be6498 100644 --- a/ChangeLog +++ b/ChangeLog @@ -35,7 +35,7 @@ ver. 0.10.1-dev-1 (2016/??/??) - development edition ----------- ### Fixes -* fix Gentoo init script's shebang to use openrc-run instead of runscript +* fix Gentoo init script's shebang to use openrc-run instead of runscript (gh-1891) * jail "pass2allow-ftp" supply blocktype and returntype parameters to the action (gh-1884) * avoid using "ANSI_X3.4-1968" as preferred encoding (if missing environment variables 'LANGUAGE', 'LC_ALL', 'LC_CTYPE', and 'LANG', see gh-1587).