pkgsrc-Bugs archive

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

pkg/40092: cfengine 2.2.8 botches SIOCGIFCONF parsing on current (and 5.0)



>Number:         40092
>Category:       pkg
>Synopsis:       cfengine 2.2.8 botches SIOCGIFCONF parsing on current (and 5.0)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 03 05:50:00 +0000 2008
>Originator:     john heasley
>Release:        NetBSD 5.99
>Organization:
        
>Environment:
        
        
System: NetBSD 5.99
>Description:
cfengine has trouble finding interfaces due to the way it computes the
size of ifreq entries from SIOCGIFCONF.  It bases its method for the  
computation on "HAVE_STRUCT_SOCKADDR_SA_LEN" and "ifdef _SIZEOF_ADDR_IFREQ".
 
Comments in net/if.c suggest that the computation is simply sizeof(ifreq)
(added in rev 1.199 ~200709) and the code seems to agree.  However, alan 
barrett's recent comments indicated that wasn't true.  

Either way, its changed.  not sure what autoconf magic to use to determine
which method ...
>How-To-Repeat:
cfservd -vp
>Fix:
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index