| Summary: |
ppp: pppd exits at start because openssl no longer builds the legacy provider |
| Product: |
[Build System, Metadata & Runtime] OE-Core
|
Reporter: |
Eli Gavril <eli.gavril> |
| Component: |
connectivity | Assignee: |
Unassigned <unassigned> |
| Status: |
NEW
---
|
QA Contact: |
|
| Severity: |
major
|
|
|
| Priority: |
Undecided
|
CC: |
eli.gavril, meta.mr.watcher, meta.watcher
|
| Version: |
6.0.4 | |
|
| Target Milestone: |
0.0.0 | |
|
| Hardware: |
All | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
Don't know
|
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.