Skip to content

LYD_LYB no longer works. #2443

@choppsv1

Description

@choppsv1

I recently updated to the latest libyang master and LYD_LYB format now no longer works for us.

2025/10/22 06:40:14 MGMTD: libyang: Different current LYB context modules hash compared to the one stored in the LYB file (0xe20d2077 != 0xeb21d279).

This is FRR, and so we have a suite of daemons and a central management process mgmtd. The daemons send YANG tree results back to mgmtd using LYB format for efficiency. If I had to guess based on the above message though, it seems like this has been broken by a recent libyang version.

All of the FRR daemons are compiled together against the exact same installed version of libyang. They all run on the same machine using the same libyang shared library. The expectation was that we should be able to use and benefit from libyang binary format for the increased efficiency -- we certainly use binary messaging internally for the same reason that it of course will work with these build and run restrictions.

Is there something else we need to do now to have this work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    is:enhancementRequest for adding new feature or enahncing functionality.status:completedFrom the developer perspective, the issue was solved (bug fixed, question answered,...)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions