Skip to content
This repository was archived by the owner on Dec 8, 2023. It is now read-only.
This repository was archived by the owner on Dec 8, 2023. It is now read-only.

Need to have support for udev in k3os #151

@chtardif

Description

@chtardif

Primary use case: OpenEBS/cStor not working without proper udev support in underlying OS

Activity

jstebbins

jstebbins commented on Sep 19, 2019

@jstebbins

FYI, Rook/EdgeFS also needs this to identify devices in a way that is persistent across reboots.

Alxandr

Alxandr commented on Jan 4, 2020

@Alxandr
Contributor

Is this hard to add? Or is it just copying another package from upstream alpine (which as far as I've understood k3os is based on)?

liyimeng

liyimeng commented on Jan 23, 2020

@liyimeng
Contributor

This is very easy to add, just install it in the base images.
I don’t suggest to have it by default since it increases the initrd size. If you need it, just add it and build from source. Easy job .

added this to the v0.9.0 milestone on Jan 28, 2020
added a commit that references this issue on Jan 28, 2020
added 2 commits that reference this issue on Jan 28, 2020
dweomer

dweomer commented on Jan 31, 2020

@dweomer
Contributor

@jstebbins and/or @chtardif If you have a test setup or some guidance (that hopefully doesn't require hours of reading) on how I can assert that your udev use-case is satisfied, I would very much welcome the input. Have any links to share? Also, please try the latest v.0.9.x release candidate!

jstebbins

jstebbins commented on Jan 31, 2020

@jstebbins

Unfortunately, my use case is rather difficult to set up.

I had previously added udev myself, but I enabled the service by adding this to Dockerfile at the end

+RUN rc-update add udev sysinit
+RUN rc-update add udev-trigger sysinit
+RUN rc-update add udev-settle sysinit

It looks like you enabled the udev service in a different way, but looks like you're missing udev-trigger and udev-settle? TBH, it's been so long I can't remember exactly why I added those last 2. Might just have copied an example I saw elsewhere.

dweomer

dweomer commented on Jan 31, 2020

@dweomer
Contributor

@jstebbins for some reason i had it in my head that they were triggered so long as udev was present but that doesn't seem to be the case. i will cut another RC with this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      Participants

      @Alxandr@jstebbins@dweomer@liyimeng@chtardif

      Issue actions

        Need to have support for udev in k3os · Issue #151 · rancher/k3os