|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] Mirage OS 2.4 errors on install and mirage-skeleton build
On 04/29/2015 11:58 AM, Justin Cormack wrote: On 14.04.2, I need to run with sudo even if the device is owned by my user, I've made it with tunctl -u me, and the mode is u+rwx, otherwise strace showsOn 29 April 2015 at 10:35, Thomas Gazagnaire <thomas@xxxxxxxxxxxxxx> wrote:
open("/dev/net/tun", O_RDWR) = 4
ioctl(4, TUNSETIFF, 0x7fffb7dd0a20) = 0
ioctl(4, TUNSETPERSIST, 0) = 0
fcntl(4, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5
ioctl(5, SIOCGIFFLAGS, {ifr_name="tap0",
ifr_flags=IFF_BROADCAST|IFF_MULTICAST}) = 0
ioctl(5, SIOCSIFFLAGS, {ifr_name="tap0", ???}) = -1 EPERM (Operation not
permitted)
So you may need to run it with elevated privileges even if it seems like you should be able to get away with running it as yourself. (Thanks for the bug report; attempting to reproduce it got me to actually use the tap interface for the first time.) -Mindy _______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |