[go: up one dir, main page]

|
|
Log in / Subscribe / Register

Devuan Jessie beta released

Devuan Jessie beta released

Posted May 2, 2016 21:26 UTC (Mon) by nybble41 (subscriber, #55106)
In reply to: Devuan Jessie beta released by rahvin
Parent article: Devuan Jessie beta released

> Having only recently went to systemd with Jessie the network shouldn't have called the DHCP client after you edited the interfaces file.

The original configuration was with DHCP, and the interface was up, so dhclient was already running. After editing the interfaces file the configuration was static, so at that point ifdown didn't expect dhclient to be running and consequently failed to terminate it.

The problem is modifying the configuration file while the interface is up, combined with scripts that use the *current* interfaces file for ifdown rather than the configuration which was in place when ifup was executed.

Under systemd any background processes like dhclient associated with an interface (in the corresponding cgroup) would automatically be terminated when the interface is stopped, regardless of the current configuration. This is not a perfect solution to the problem of changing configurations, but it does mitigate the specific issue of ifdown failing to stop dhclient.


to post comments

Devuan Jessie beta released

Posted May 3, 2016 19:23 UTC (Tue) by rahvin (guest, #16953) [Link]

Now I understand what happened. Thank you. These are the type of errors that make you want to tear your hair out and make me quite glad that sysv init is being replaced by a sensible program that actually monitors dependencies in daemons.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds