http://bugzilla.novell.com/show_bug.cgi?id=561152 http://bugzilla.novell.com/show_bug.cgi?id=561152#c0 Summary: root cause seems to prevent dhclient from opening /proc/net/dev Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: estellnb@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (compatible; Konqueror/4.3; Linux) KHTML/4.3.1 (like Gecko) SUSE
strace dhclient 2>&1 | grep /proc/net/dev open("/proc/net/dev", O_RDONLY) = -1 EACCES (Permission denied) write(2, "/proc/net/dev: Permission denied", 32/proc/net/dev: Permission denied) = 32 ls -l /proc/net/dev -r--r--r-- 1 root root 0 5. Dez 21:00 /proc/net/dev python
x=os.open("/proc/net/dev",os.O_RDONLY) os.read(x,100) 'Inter-| Receive | Transmit\n face |bytes packets' os.close(x)
So why does it refuse dhclient to open /proc/net/dev if the same is granted to python?
uname -r 2.6.32-2.99.116.e1d7581-desktop
Reproducible: Always -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.