setcap on wine-preloader get another error

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
VOID001
Newbie
Newbie
Posts: 2
Joined: Tue Nov 10, 2015 8:29 am

setcap on wine-preloader get another error

Post by VOID001 »

Hi , I am doing test on my implementation of wpcap.dll , and I need to run some software that use the wpcap.dll , And I want to use normal user to get access to my network interface , so I use "setcap CAP_NET_RAW=eip" on my wine-preloader , it then can access my network interface but another problem occurs, Every time I run wine I will get a messagebox said "Internal errors- Invalid parameters recieved "
And when a program running on wine crash , I cannot see the dumped debug info now , wine complains "Can't attach to process :**** Error 5"


Could anyone plz give me some hint on how to fix the problem? I am not sure whether it's a bug or not so I haven't submit a bug on bugzilla
Thx in advance
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: setcap on wine-preloader get another error

Post by dimesio »

VOID001
Newbie
Newbie
Posts: 2
Joined: Tue Nov 10, 2015 8:29 am

Re: setcap on wine-preloader get another error

Post by VOID001 »

I have solve the problem
I give my wineserver (not wine-preloader)CAP_SYS_PTRACE capability then everything seems running correctly
Locked