Git Product home page Git Product logo

Comments (5)

pwaller avatar pwaller commented on May 7, 2024

Apologies, the original post missed out some details. I've edited it to add the command run and a description of the bug.

from novm.

pwaller avatar pwaller commented on May 7, 2024

More details that I neglected to mention.

I was trying to run novm as a user. I now think this error is likely happening because dnsmasq is failing and its stdin/stdout/stderr are set to PIPEs which are never used:

https://github.com/google/novm/blob/master/novm/net.py#L188-L190

It may be desirable to see if dnsmasq exits, and if so, show some sort of warning/error.

from novm.

pwaller avatar pwaller commented on May 7, 2024

Hm, I take it back. It happens even if I'm not using dnsmasq.

It always seems to be fd number 9 when it happens. Here's a strace -e open |& grep 9 without -f.

open("/usr/lib/python2.7/_weakrefset.pyc", O_RDONLY) = 9
open("/usr/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 9
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 9
open("/usr/lib/x86_64-linux-gnu/libffi.so.6", O_RDONLY|O_CLOEXEC) = 9
open("/usr/lib/python2.7/ctypes/_endian.pyc", O_RDONLY) = 9
open("/usr/lib/python2.7/base64.pyc", O_RDONLY) = 9
open("/usr/lib/python2.7/httplib.pyc", O_RDONLY) = 9
open("/usr/lib/python2.7/socket.py", O_RDONLY) = 9
open("/usr/lib/python2.7/urlparse.py", O_RDONLY) = 9
open("/usr/lib/python2.7/mimetools.py", O_RDONLY) = 9
open("/usr/lib/python2.7/ssl.py", O_RDONLY) = 9
open("/usr/lib/python2.7/bisect.pyc", O_RDONLY) = 9
open("/usr/lib/python2.7/urllib.pyc", O_RDONLY) = 9
open("./novm/device.pyc", O_RDONLY)     = 9
open("/usr/lib/python2.7/uuid.py", O_RDONLY) = 9
open("./novm/state.py", O_RDONLY)       = 9
open("/dev/urandom", O_RDONLY|O_CLOEXEC) = 9
open("/home/pwaller/.novm/instances/2797.json", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 9
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 9
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 9
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 9
open("/proc/sys/net/core/somaxconn", O_RDONLY|O_CLOEXEC) = 9
open("/dev/kvm", O_RDWR|O_CLOEXEC)      = 9
open("/home/pwaller/.novm/kernels/01d04baaba3797b15c4cfc90e1afee0ec7f472c4/setup", O_RDONLY|O_CLOEXEC) = 9
open("/home/pwaller/.novm/kernels/01d04baaba3797b15c4cfc90e1afee0ec7f472c4/vmlinux", O_RDONLY|O_CLOEXEC) = 9
open("/home/pwaller/.novm/kernels/01d04baaba3797b15c4cfc90e1afee0ec7f472c4/initrd", O_RDONLY|O_CLOEXEC) = 9
open("/home/pwaller/.novm/kernels/01d04baaba3797b15c4cfc90e1afee0ec7f472c4/sysmap", O_RDONLY|O_CLOEXEC) = 9

from novm.

pwaller avatar pwaller commented on May 7, 2024

(the strace was not taken on an occasion when the error actually occurred).

from novm.

pwaller avatar pwaller commented on May 7, 2024

Tidying up my personal issues list, so closing this. Please create a new issue if you're still interested in tracking it.

from novm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.