From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/ebtables/files/
Date: Tue, 9 Feb 2021 15:59:27 +0000 (UTC) [thread overview]
Message-ID: <1612886284.13ebe1e91aa41530b5c241dc52b411dbae8f66c8.vapier@gentoo> (raw)
commit: 13ebe1e91aa41530b5c241dc52b411dbae8f66c8
Author: Mike Frysinger <vapier <AT> chromium <DOT> org>
AuthorDate: Tue Feb 9 15:40:13 2021 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Feb 9 15:58:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13ebe1e9
net-firewall/ebtables: make logger usage optional #514970
Use the same pattern adopted in iptables init scripts to make the
use of the logger init service optional. This avoids circular deps
if the logger service requires the network, and shouldn't be a big
deal as most people probably aren't logging packets.
Fixes: https://bugs.gentoo.org/514970
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>
net-firewall/ebtables/files/ebtables.confd-r1 | 8 ++++++++
net-firewall/ebtables/files/ebtables.initd-r1 | 3 +--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/net-firewall/ebtables/files/ebtables.confd-r1 b/net-firewall/ebtables/files/ebtables.confd-r1
index 645b26edae9..8e83c81b9f8 100644
--- a/net-firewall/ebtables/files/ebtables.confd-r1
+++ b/net-firewall/ebtables/files/ebtables.confd-r1
@@ -9,3 +9,11 @@ SAVE_RESTORE_OPTIONS=""
# Save state on stopping ebtables
SAVE_ON_STOP="yes"
+
+# If you need to log iptables messages as soon as iptables starts,
+# AND your logger does NOT depend on the network, then you may wish
+# to uncomment the next line.
+# If your logger depends on the network, and you uncomment this line
+# you will create an unresolvable circular dependency during startup.
+# After commenting or uncommenting this line, you must run 'rc-update -u'.
+#rc_use="logger"
diff --git a/net-firewall/ebtables/files/ebtables.initd-r1 b/net-firewall/ebtables/files/ebtables.initd-r1
index 6608760110b..1860187b7de 100644
--- a/net-firewall/ebtables/files/ebtables.initd-r1
+++ b/net-firewall/ebtables/files/ebtables.initd-r1
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
extra_commands="save panic"
@@ -10,7 +10,6 @@ ebtables_save=${EBTABLES_SAVE}
depend() {
before net
- use logger
}
ebtables_tables() {
next reply other threads:[~2021-02-09 15:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-09 15:59 Mike Frysinger [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-06-19 6:51 [gentoo-commits] repo/gentoo:master commit in: net-firewall/ebtables/files/ Lars Wendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1612886284.13ebe1e91aa41530b5c241dc52b411dbae8f66c8.vapier@gentoo \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox