
https://bugzilla.novell.com/show_bug.cgi?id=206959 Summary: /sbin/getcfg fails if /sys/class/net/eth0 is a symbolic link Product: SUSE Linux 10.1 Version: Final Platform: x86-64 OS/Version: SuSE Linux 10.1 Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rjwysocki@sisk.pl QAContact: qa@suse.de If /sys/class/net/eth0 is a symbolic link, the /sbin/getcfg binary looks for a directory in /sys/block instead of just following the link. Here's a snippent from a strace log related to it: lstat64("/sys/class/net/eth0", {st_dev=makedev(0, 0), st_ino=5968, st_mode=S_IFLNK|0777, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=0, st_size=0, st_atime=2006/09/20-13:59:13, st_mtime=2006/09/20-13:58:57, st_ctime=2006/09/20-13:58:57}) = 0 lstat64("/sys/block/eth0", 0xbf9e432c) = -1 ENOENT (No such file or directory) For details, please see the Linux Kernel Mailing List message at: http://www.ussg.iu.edu/hypermail/linux/kernel/0609.2/1003.html -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.