On Mon, Jan 15, 2018 at 12:12:30PM +0100, Vincent Bernat wrote: > ❦ 15 janvier 2018 11:28 +0100, Vincent Bernat <[email protected]> : > > > 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.
Just a question, how this problem is handled by daemons in similar position, like hostapd or wpasupplicant? -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: [email protected]) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."

