Bug#806949: ifupdown: some tweaks to networking.service
Tollef Fog Heen
tfheen at err.no
Sat Dec 12 16:18:36 GMT 2015
]] Guus Sliepen
> offline() {
> ip -4 r s | grep -q ^default && return 1
> ip -6 r s | grep -q ^default && return 1
> return 0
> }
As a default, this is fine. It can't be the only way to do it, though.
(I have hosts with a full routing table and hence no default route, and
I have hosts where the default route is not in the local table, but in
the default table.
[...]
> So network-online.target is very ill-defined, and I'd rather not see
> anything depending on it, but if we have to, I'd like something that is
> as conservative as possible.
I think we should have something that's fairly conservative, yes. «As
possible» is too strict. We shouldn't try calling home by default, for
instance.
--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
More information about the Pkg-systemd-maintainers
mailing list