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

Michael Biebl biebl at debian.org
Mon Dec 21 16:57:39 GMT 2015


Am 20.12.2015 um 22:37 schrieb Michael Biebl:
> Am 20.12.2015 um 22:23 schrieb Guus Sliepen:
>> On Sun, Dec 20, 2015 at 08:48:07PM +0100, Michael Biebl wrote:
>>
>>> Guus already suggested to simply add
>>>  WantedBy=network-online.target
>>>
>>> This would be a partial solution and better then nothing, I guess.
>>
>> Since noone is against this, I'll go for this option. If I understand
>> systemd correctly, I can just add a ifupdown-network-online.service
>> later that also has a WantedBy=network-online.target, and only when both
>> that one and networking.service has started will network-online.target
>> be considered reached.

In addition to
[Install]
WantedBy=network-online.target

you also need
[Unit]
Before=network-online.target

The second bit is missing in your upload.

It also looks like the
/etc/systemd/system/network-online.target.wants/networking.service
was not created here when I upgraded from 0.8.2

This looks like a bug in init-system-helpers.

Guus, can you please verify that and file a bug against
init-systemd-helpers if so.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20151221/f04d79c1/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list