Giter VIP home page Giter VIP logo

Comments (8)

illiliti avatar illiliti commented on August 16, 2024

might be related to dhcpcd starting before mdev is initialised

This. Technically, libudev-zero should signal dhcpcd about new devices via hotplugging. Ensure that you have properly working hotplugging support.

There is also a possibility of race condition between dhcpcd and mdev which can lead to impossibility to detect net devices due to permission issues. Try to run dhcpcd as root or implement proper synchronization to mdev.

from libudev-zero.

git-bruh avatar git-bruh commented on August 16, 2024

Hmm, hotplugging seems to be working fine, dhcpcd is running as root.

implement proper synchronization to mdev

How does one go about this ?

from libudev-zero.

illiliti avatar illiliti commented on August 16, 2024

How does one go about this ?

Ah, sorry I forgot about that dhcpcd should be always run as root. You don't need it. This synchronization is needed for e.g. root-less Xorg which is usually(or rarely, it depends on init implementation) fails to initialize drm devices at startup due to access rights. I'll probably add some docs about it to readme.

Does the dhcpcd working if compiled without udev support?

from libudev-zero.

git-bruh avatar git-bruh commented on August 16, 2024

Just compiled it without udev support, works great now.

from libudev-zero.

git-bruh avatar git-bruh commented on August 16, 2024

@illiliti Do you plan to tackle this in libudev-zero ? If not, I'll close the issue.

from libudev-zero.

illiliti avatar illiliti commented on August 16, 2024

Yes, I'll investigate this further later

from libudev-zero.

illiliti avatar illiliti commented on August 16, 2024

I can't reproduce this issue. Closed. Please reopen if you still experience this issue.

from libudev-zero.

git-bruh avatar git-bruh commented on August 16, 2024

Yeah it stopped happening for me, maybe it was an issue with my old config

from libudev-zero.

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.