[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#638956: include-network bug script doesn't work in case of bonding



On Tue, 2011-08-23 at 12:15 +0200, Sandro Tosi wrote:
> Package: linux-2.6
> Version: 2.6.32-30
> Severity: minor
> File: /usr/share/bug/linux-image-2.6.32-5-amd64/include-network
> 
> include-network does a 
> 
>  for dir in /sys/class/net/*; do
>   ...
>   cat "$dir"/features >&3
> 
> but when bonding is active, there's also a file 'bonding_masters' under
> /sys/class/net/ and so the 'cat' fails. I've just replaced that line with
> 
>   [ -f "$dir"/features ] && cat "$dir"/features >&3
> 
> and it works.
[...]

We might as well remove this line; the 'features' attribute is being
removed in Linux 3.1.

Ben.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: