RE: [PATCH] Hyperv: Trigger DHCP renew after host hibernation

Yue Zhang (OSTC DEV)
2014-07-21T08:44:51Z

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1404 bytes --]

> From: Richard Weinberger [mailto:richard@nod.at]
> Sent: Monday, July 21, 2014 4:18 PM
>
> Yue,
>
> Am 21.07.2014 10:05, schrieb Yue Zhang (OSTC DEV):
> > The problem of systemd implementation is that in different distros, the ways
> > to restart service are different. Propagating the event to userspace also doesn't
> > help for this issue.
>
> This way each distro can provide their own restart script.
> Same as every distro has custom start scripts, etc...
>
> > The advantage of current solution is that it simulates a cable plugging
> > in/out event. IMHO, in all the distros, this simulated event has already been well
> > handled. It is a dup effect to implement new hooks.
>
> Iff the current solution works for _all_ networking implementations.
>
> Thanks,
> //richard

Hi, Richard

IMHO, all networking implementations should handle the cable offline event. Consider
this situation. I unplugged the network cable and connect it to a new network switch
after 10 seconds. If the DHCP renew is not triggered, the network will break. I think in
normal cases, it should already been handled properly. Unless there is a strong
justification for not doing this. In that case, we shouldn't renew DHCP anyway.

Thanks
----
Yue
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éÝ¶\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dÊ‡Ú™ë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥