Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #875391

Bug#887345: BIRD should be part of "network.target"

From Vincent Bernat <bernat@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#887345: BIRD should be part of "network.target"
Date 2018-01-15 12:20 +0100
Message-ID <v8aY1-Me-11@gated-at.bofh.it> (permalink)
References <v8alj-eV-3@gated-at.bofh.it> <v8alj-eV-3@gated-at.bofh.it>
Organization Debian

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

 ❦ 15 janvier 2018 11:28 +0100, Vincent Bernat <bernat@debian.org> :

> On shutdown, BIRD is stopped early due to "After=network.target". This
> is troublesome when other services need the network to correctly
> stop. I am unsure of the right fix. Maybe:
[...]

A better solution (for me) would be:

[Unit]
Description=BIRD Internet Routing Daemon (IPv4)
After=network-pre.target systemd-sysctl.service systemd-udevd.service
Before=network.target multi-user.target shutdown.target
Conflicts=shutdown.target
Wants=network.target
DefaultDependencies=no

However, it should be noted that makes BIRD start really early (IP may
not even have been configured, which is troublesome for implicit router
ID). Also, we may miss other dependencies (syslog, /var). After
discussing it on #debian-devel, this kind of configuration doesn't get
many votes.
-- 
All generalizations are false, including this one.
		-- Mark Twain

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#887345: BIRD should be part of "network.target" Vincent Bernat <bernat@debian.org> - 2018-01-15 11:40 +0100
  Bug#887345: BIRD should be part of "network.target" Vincent Bernat <bernat@debian.org> - 2018-01-15 12:20 +0100
    Bug#887345: BIRD should be part of "network.target" Vincent Bernat <bernat@debian.org> - 2018-01-15 17:00 +0100
    Bug#887345: BIRD should be part of "network.target" Ondrej Zajicek <santiago@crfreenet.org> - 2018-01-15 17:20 +0100
      Bug#887345: BIRD should be part of "network.target" Vincent Bernat <bernat@debian.org> - 2018-01-15 17:30 +0100

csiph-web