On 18 July 2013 23:27, Eric Bénard <e...@eukrea.com> wrote:

> this problem occured here when /var/run/network/ifstate is on a RW
> persistent storage and not in a tmpfs : the interface state can exist
> when booting after a dirty reboot.
>
> A workaround is to hack
> meta/recipes-core/init-ifupdown/init-ifupdown-1.0/init and add
> ifdown -a
> just before ifup -a in the start) section
>
> Eric

I will try this hack Eric, but I suppose this opens another question -
why /var/run is held on a non-TMPFS? I would think (and this is not
based on any authority) that since /var/run is mainly for tracking
state, that after a reboot of any kind it should remain blank.

I have tested deleting /var/run/ifstate and pulling the plug, and it
returns on next reboot. I think this might be the EXT4 recovery
kicking in and putting the file back?

--
Rich Bayliss
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to