Bug#806949: ifupdown: some tweaks to networking.service

Guus Sliepen guus at debian.org
Sun Dec 13 22:19:09 GMT 2015


On Sat, Dec 12, 2015 at 05:18:36PM +0100, Tollef Fog Heen wrote:

> > 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.

I agree with that. Attached is a script that can wait in a few different
ways:

- Wait for a route to be added (not necessarily a default route)
- Wait for an address to respond to ping packets
- Do nothing

Maybe I could add an option to wait for a specific interface to get a
(non-link-local) address assigned. But let me know if you have comments.

-- 
Met vriendelijke groet / with kind regards,
      Guus Sliepen <guus at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wait-online.sh
Type: application/x-sh
Size: 481 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20151213/f0ecc077/attachment-0002.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20151213/f0ecc077/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list