GNS3 / iouyap

Bridge IOU to UDP, TAP and Ethernet.
GNU General Public License v3.0
24 stars 12 forks source link

Capabilities appear not set during install #13

Open mssterri opened 9 years ago

mssterri commented 9 years ago

Last command in the installation script is: sudo make install

This results in the execution of: chmod +x iouyap sudo cp iouyap /usr/local/bin sudo setcap cap_net_admin,cap_net_raw=ep iouyap

Executing '/sbin/getcap $(which iouyap)' to verify capabilities yields nothing.

I believe that the command: 'sudo setcap cap_net_admin,cap_net_raw=ep iouyap' needs to be run on the iouyap in /usr/local/bin ala perhaps: 'sudo setcap cap_net_admin,cap_net_raw=ep $(which iouyap)' After I did that, my capabilities were set.

Thanks for all of your hard work, developers!

ak2766 commented 9 years ago

Hi mssterri.

I raised this a while ago ( see closed issue #5 ) and although the issue was closed, the 'fix' did not address the issue. I did not catch it as I had already created a wrapper update script that set the capabilities on the appropriate iouyap file in /usr/local/bin.

I hope it is fixed once and for all this time around!

Cheers, ak.