Bug 16538 - ppp: pppd exits at start because openssl no longer builds the legacy provider
Summary: ppp: pppd exits at start because openssl no longer builds the legacy provider
Status: NEW
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: connectivity (show other bugs)
Version: 6.0.4
Hardware: All Multiple
: Undecided major
Target Milestone: 0.0.0
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2026-11-29 09:40 UTC by Eli Gavril
Modified: 2026-11-29 09:40 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eli Gavril 2026-11-29 09:40:24 UTC
pppd exits with status 1 at start, whatever the options:

    Could not load legacy provider, could not load the shared library

pppd built with OpenSSL loads the legacy provider in main(), before parsing
its options, and exits if it cannot:

    https://github.com/ppp-project/ppp/blob/v2.5.5/pppd/main.c#L390

ppp's default PACKAGECONFIG includes openssl, but since a150c3580f (first in
yocto-6.0) openssl is built with no-legacy by default, so the provider
(openssl-ossl-module-legacy) is not built:

    https://git.openembedded.org/openembedded-core/commit/?id=a150c3580f7f4962152444272c0fe07cfdb72df5

Steps to reproduce: add ppp to an image, boot it, run "pppd noauth".

Master has the same PACKAGECONFIG lines.

Workaround, in a ppp bbappend:

    PACKAGECONFIG:remove = "openssl"
    EXTRA_OECONF += "--disable-eaptls --disable-peap"

Possible fix: drop openssl from ppp's default PACKAGECONFIG, or make ppp RDEPEND on
openssl-ossl-module-legacy with openssl's legacy PACKAGECONFIG enabled.

Please also backport the fix to wrynose.