On Mon, 16 Nov 2015 22:31:27 +0100 Andreas Henriksson <andr...@fatal.se> wrote:
> Control: tags -1 + patch
>
> Hello.
>
> I happened to have ebtables installed (but I'm not really using it) so I
> threw together this native service file which reuses the init script, as
> the one fedora[1] uses seems to be a bit basic (eg. possibly race window
> between network set up to filtering rules loaded, hopefully my version
> is better). This should make the ordering a bit more relaxed and
> at the same time be guaranteed to be run before network is brought up.
>
> Please see attached ebtables.service file.

> [Unit]
> Description=ebtables ruleset management
> DefaultDependencies=no
> Before=network-pre.target
> Wants=network-pre.target
> Conflicts=shutdown.target


I think this is either missing a Before=shutdown.target or has an
extra Conflicts=shutdown.target. Either we want the ebtables to be
unwound *before* shutdown, or to do nothing on shutdown. But without
the Before=shutdown.target the system will not wait for ebtables to
finish before shutting down.


Saludos

Reply via email to