Skip to content

device flags logic is borked #8832

Closed
Closed

Description

@poettering

Just a tracker so that we fix the fall-out from #8675 fully (see #8798 for details)

Activity

  1. added this to the v239 milestone on Apr 26, 2018
  2. keszybz commented on May 28, 2018

    @keszybz
    Member

    Copying the relevant part from #8798 (comment):

    The "DEVICE_FOUND_UDEV_DB" flag shouldn't be there.

    I am not sure I grok everything fully, but I think we might not need to serialize the flag set at all, and always use what the kernel reports, but then when we notice that the new flag set is not in sync with the unit state enum we enqueue another state change, but do that in a defer event. That means that after deserialization we'll initially be in the old state, but pretty soon on react to the new state, and thus trigger the usual deps...

  3. self-assigned this
    on Jun 4, 2018
  4. poettering commented on Jun 4, 2018

    @poettering
    MemberAuthor

    working on this now...

  5. poettering commented on Jun 5, 2018

    @poettering
    MemberAuthor

    Fix waiting in #9200 now.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions