Hello,

On 28 April 2014 14:50, Christoph Mitasch <[email protected]> wrote:
> After a powerloss the wheezy Linux container was restarted automatically.
> Unfortunately the IP for the network interface was not brought up 
> automatically.

> Doing a network restart (/etc/init.d/networking restart) solved the problem.
> This behaviour does not occur with squeeze.
> Therefore I compared the two init scripts.

> "ifup -a" does not bring up the interface as long as /run/network/ifstate is 
> available. If an unclean network shutdown is done, the file is kept.
> "ifup -a --force" would do the trick.

I'm not sure it's a bug, as non-volatile /run directory isn't
supported at all by ifupdown. Previously, ifstate resided in
/etc/network/run, and there was code which performed the cleanup on
each boot. Since then ago this location has been deprecated in favour
or /run, which is brand new on every boot (and usually is on tmpfs).
If your /run isn't cleaned up, that's your problem which needs fixing,
not ifupdown.

-- 
Cheers,
  Andrew


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to