[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/network/interfaces in jessie and systemd?



Am 21.04.2015 um 16:20 schrieb Mihamina Rakotomandimby:
> https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1374521
> https://github.com/linuxmint/systemd/blob/master/debian/ifup@.service
> 
> If my reading and deduction is correct, systemd will call ifup that will
> read /etc/network/interface.
> 
> But what is going to detect all interfaces and give them as argument to
> each systemd ifup service call?

The ifup@.service is triggered by a udev rule and responsible to handle
allow-hotplug interfaces.

It basically works the same as in wheezy.
The difference is, that in wheezy, the udev rule [1] called ifup
directly, under systemd it calls
ifup@<interface>.service, and this service does nothing else then run
ifup <interface>.

This has the benefit, that systemd can track it properly.

Michael

[1] /lib/udev/rules.d/80-networking.rules

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


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: