Bug 134180

Summary: get_myaddress: getifaddrs: Inappropriate ioctl for device
Product: [Fedora] Fedora Reporter: Daniel Reed <djr>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: drepper.fsp
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-11 17:58:42 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On:    
Bug Blocks: 130887    
Attachments:
Description Flags
strace -f -v -s 60 -o amd.strace amd -F /etc/amd.conf
none
strace
none
valgrind memcheck
none
gdb none

Description Daniel Reed 2004-09-29 20:34:35 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040928
Firefox/0.10

Description of problem:
[root@localhost root]# service amd restart
Stopping amd:
Starting amd: Sep 29 20:35:37 localhost amd[5087]/info:  using
configuration file /etc/amd.conf
get_myaddress: getifaddrs: Inappropriate ioctl for device
                                                           [FAILED]
[root@localhost root]#

Version-Release number of selected component (if applicable):
am-utils-6.0.9-9 kernel-2.6.8-1.590 glibc-2.3.3-59

How reproducible:
Always
Comment 1 Daniel Reed 2004-09-29 20:36:02 EDT
Created attachment 104557 [details]
strace -f -v -s 60 -o amd.strace amd -F /etc/amd.conf
Comment 2 Daniel Reed 2004-09-29 21:10:50 EDT
Identical behavior when I reboot back into kernel-2.6.8-1.541 (still
glibc-2.3.3-59).

In kernel-2.6.8-1.541 with glibc-2.3.3-60, strace reports amd seg
faults (without printing an error to the screen).
Comment 3 Daniel Reed 2004-09-29 21:13:41 EDT
Created attachment 104558 [details]
strace
Comment 4 Daniel Reed 2004-09-29 21:14:07 EDT
Created attachment 104559 [details]
valgrind memcheck
Comment 5 Daniel Reed 2004-09-29 21:14:25 EDT
Created attachment 104560 [details]
gdb
Comment 6 Daniel Reed 2004-09-29 21:30:19 EDT
Attachment 104557 [details] (amd.strace) is using kernel-2.6.8-1.590 and
glibc-2.3.3-59

Attachments 104558-104560 (amd3.strace, amd3.valgrind, and amd3.gdb)
are using kernel-2.6.8-1.541 and glibc-2.3.3-60
Comment 7 Ulrich Drepper 2004-10-11 17:57:38 EDT
glibc issue.
Comment 8 Ulrich Drepper 2004-10-11 17:58:42 EDT
This should long be resolved.  Use a current glibc (2.3.3-66 and up).
 Reopen if you still see a problem.