[Bug 206959] New: /sbin/getcfg fails if /sys/class/net/eth0 is a symbolic link
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.
https://bugzilla.novell.com/show_bug.cgi?id=206959 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |zoz@novell.com |screening@forge.provo.novell| |.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=206959 zoz@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Component|Network |Network Product|SUSE Linux 10.1 |openSUSE 10.2 Version|Final |unspecified ------- Comment #1 from zoz@novell.com 2006-10-26 06:44 MST ------- Neither in 10.1 nor in 10.2 sysfs class devices are links. I know this will come soon and care about that, but this is not important for 10.1. Maybe for 10.2, to be able to upgrade the kernel. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=206959 zoz@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Network |Network Product|openSUSE 10.2 |openSUSE 10.3 ------- Comment #2 from zoz@novell.com 2006-11-20 11:40 MST ------- Not relevant for 10.1 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=206959 zoz@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Major |Normal ------- Comment #3 from zoz@novell.com 2007-02-07 07:46 MST ------- This will be relevant for 10.3. The kernel will then have links /sys/class/net/devices/* to the device directory located in the device tree /sys/devices. But since we plan to get rid of getcfg completely, it make no sense to fix that. I just leave this bug open as a reminder and close it when the decision to drop getcfg is official. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=206959#c4 Christian Zoz <zoz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #4 from Christian Zoz <zoz@novell.com> 2007-09-02 08:30:51 MST --- We don't use /sbin/getcfg anymore -- 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.
participants (1)
-
bugzilla_noreply@novell.com