Comments (5)
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.
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.
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.
(the strace was not taken on an occasion when the error actually occurred).
from novm.
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)
- Lack of CONTRIBUTING.md HOT 1
- Fedora 21: novm rpm install path conflict with filesystem package HOT 2
- error mount_tag in novm's guest HOT 1
- novm {create, run} can not work with go 1.3 and 1.4 HOT 3
- Will Vagrant file welcome for PR ? HOT 4
- vcpu0 unhandled rdmsr HOT 1
- Kernel crash (in ext4?) HOT 3
- novm command error HOT 7
- error: 'KVM_SIGNAL_MSI' undeclared here (not in a function) when install HOT 1
- Request: support for existing tap devices HOT 1
- novm on archlinux HOT 1
- --read "/home=>/tmp/home" leads to fail boot
- Poor docs about how to use novm with docker.
- Links in modules directory cause mkkernel to fail
- Socket buffering uses different options in python3
- What's going on with this project? HOT 7
- Unable to run command
- Can't build on Ubuntu 20.04 x86_64 (with gollvm) HOT 2
- Wrong usage of break statement
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from novm.