[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MirageOS-devel] Fwd: [ocaml-tuntap] can't leave the persist setting unchanged (#7)

Hi there :)

Anil, could you maybe enable PR/issues in mirage/ocaml-tuntap ?

It was forked from my own github account, and for some reason the
issues/PR are still on my github (original) fork. I'm not sure I can do
something on my side.

I'm going to have a look to his remark though.


-------- Forwarded Message --------
Subject:        [ocaml-tuntap] can't leave the persist setting unchanged (#7)
Date:   Thu, 20 Nov 2014 04:57:02 -0800
From:   Luke Dunstan <notifications@xxxxxxxxxx>
Reply-To:       vbmithr/ocaml-tuntap
To:     vbmithr/ocaml-tuntap <ocaml-tuntap@xxxxxxxxxxxxxxxxxx>

When I do the following, for example:

    $ sudo tunctl -u luked
    Set 'tap0' persistent and owned by uid 1000
    $ sudo ifconfig tap0
    $ ./nonblock_read.native tap0

then tap0 is deleted, despite the fact that I made it persistent. To
avoid this, I think that opentap should not modify the persistence of
the device if the ?persist argument is omitted. Do you agree that this
is more friendly? If so, I'll submit a pull request. I am actually using
mirage/ocaml-tuntap but that repo doesn't have issue tracking enabled.

Reply to this email directly or view it on GitHub

MirageOS-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.