Comments (2)
Okay, I think this is fixed in 52c81e9 can you see if this helps you?
from erbium.
Hrm. Weird.
erbium has a subsystem called "netinfo" that caches networking information from netlink and keeps that cache up to date as new messages come from the kernel. Other parts of erbium then consult netinfo when they need to know the state of the machine.
At startup erbium's netinfo asks the kernel to dump the current state from the kernel (going through a little state machine where it asks for each different type of information one at a time), and erbium's startup blocks waiting for the dump to complete before erbium continues it's startup and opens it's listening ports.
I suspect that this is stuck there, unable to complete the initialisation for some reason, possibly because it's never receiving the "end of table" message, or it's an infinite loop somewhere trying to parse one of the messages (although I don't see any obvious infinite loops in the code).
The backtrace says netinfo is attempting to parse a "newlink" message which means a new interface is seen, or an existing interface is changing it's properties. You should be able to see what's going on by setting "RUST_LOG=trace" or "RUST_LOG=info,netinfo=trace", it should log a bunch of "Found new interface"... messages, possibly with some weird changes between them?
erbium doesn't ever change the network interface state, so this can't be a bug of the form of erbium noticing a change, then immediately doing something which causes the network inteface state to change again (and I suspect we're still during startup, so the rest of erbium isn't initialised yet).
I thought I'd fixed this yesterday, but, uh, nope. My fix means it's now sitting there waiting for an event that never comes. Urgh.
from erbium.
Related Issues (20)
- doesn't say where it's attempting to read configuration from when it fails
- Error: I/O Error in DHCP: Address already in use (os error 98) HOT 6
- Example configuration file HOT 1
- Build failed on nixos... HOT 6
- doesn't print usage information on --help or -h HOT 3
- add lldp support
- dhcp should populate the arp table
- dhcp should support dhcp relay
- dhcp should support rfc8925 (ipv6-only prefered)
- add ntp support
- add mDNS support
- dns ratelimiter needs tuning.
- dns should support dnssec
- experiment with multiarmed bandits for choosing which dns server to forward to.
- Add goals / requirements document
- Support RFC8914 (extended DNS errors) HOT 1
- exits with exit code 0 when configuration can't be parsed
- doesn't handle IPv6 domain name servers - Add support for RDNSS HOT 3
- Request: Publish as crate HOT 2
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 erbium.