ifupdown open for no purpose

Glenn L. McGrath bug1 at ihug.co.nz
Sun Feb 26 00:25:30 UTC 2006


On Sun, 26 Feb 2006 12:54:29 +1300
"Glenn L. McGrath" <bug1 at ihug.co.nz> wrote:

> When in no action mode ifupdown was opening the state file for
> apparently no reason at all.
> 
> It didnt no anything with it, bypasses the error checking code... it
> looks like it was there from the begining. 

The attahced patch also cleans up writing to the state file, any reason
why it would be opening in a+ and then truncating to 0 ?


Glenn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ifupdown_statefile.diff
Type: text/x-patch
Size: 1327 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060226/76606b0b/attachment.bin 


More information about the busybox mailing list