http://bugs.winehq.org/show_bug.cgi?id=15363 Summary: ICMP ping failed with non-root privileges Product: Wine Version: 1.0.0 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winsock AssignedTo: wine-bugs(a)winehq.org ReportedBy: sysrq(a)web.de Created an attachment (id=16206) --> (http://bugs.winehq.org/attachment.cgi?id=16206) trace with failed ICMP ping attempts I am running a program which executes an ICMP ping to check lag to other clients. The program uses ping very often. Everytime the program tries to execute a ICMP ping, the following error eccours: WARNING: Trying to use ICMP (network ping) will fail unless running as root I dont want to run wine with root privileges. It just makes no sense to give wine full root privileges just to run a ICMP ping. I run the program with WINEDEBUG=+winsock wine Program.exe > trace.txt 2>&1 to create a trace.txt which contains some debuging information. I attached it to this bug report. I am not sure, but I guess that wine tries to execute a sendto() to the kernel to open a PF_INET socket. But to open a PF_INET socket root privileges are neccesary, I guess. There must be another way to allow wine to execute an ICMP ping. One solution would be that wine uses /bin/ping. But I dont know if this is the best solution. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.