[arch-projects] [netctl][PATCH] Support dynamically appearing interfaces

Ivan Shapovalov intelfx100 at gmail.com
Fri Feb 15 10:31:48 EST 2013


On 15 February 2013 10:40:52 Thomas Bächler wrote:
> Am 14.02.2013 21:45, schrieb Jouke Witteveen:
> > On Tue, Feb 12, 2013 at 1:40 PM, Ivan Shapovalov <intelfx100 at gmail.com> 
wrote:
> >> If a profile is WantedBy=multi-user.target, it breaks init sequence
> >> if its interface is not immediately available at runtime
> >> (e. g. a cell-phone or USB modem).
> > 
> > Does this work? Is there a reason not to make the device the default
> > trigger?
> That's an interesting question. You can always add a profile as a
> dependency to
>  /etc/systemd/system/sys-subsystem-net-devices-FOO.device.wants/
> and add
>  BindsTo=sys-subsystem-net-devices-FOO.device
> so it goes down when the devices vanishes. This is actually pretty nice
> if you think about it.
> 
> But do we really want that? Some people may say that they only want
> their devices going up when they launch multi-user.target, but not when
> they launch rescue.target. It's a matter you should consider carefully.

Yes, I also thought about that. Maybe adding RequisiteOverridable=multi-
user.target will suffice?


More information about the arch-projects mailing list