Skip to content

fix(resolved): install libssl#2460

Closed
bluca wants to merge 1 commit into
dracut-ng:mainfrom
bluca:resolved_ssl
Closed

fix(resolved): install libssl#2460
bluca wants to merge 1 commit into
dracut-ng:mainfrom
bluca:resolved_ssl

Conversation

@bluca

@bluca bluca commented May 30, 2026

Copy link
Copy Markdown
Contributor

systemd-resolved from v261 dlopens libssl, so it is not pulled in by dracut, so it fails to start in a dracut initrd:

[    2.857336] systemd-resolved[311]: Shared library 'libssl.so.3' is not available: libssl.so.3: cannot open shared object file: No such file or directory
[    2.861594] systemd-resolved[311]: Could not create manager: Operation not supported
[    2.869073] systemd[1]: systemd-resolved.service: Main process exited, code=exited, status=1/FAILURE

Pull it in from the module script.

Checklist

  • I have tested it locally
  • I have reviewed and updated any documentation if relevant
  • I am providing new code and test(s) for it

systemd-resolved from v261 dlopens libssl, so it is not pulled in by dracut,
so it fails to start in a dracut initrd:

[    2.857336] systemd-resolved[311]: Shared library 'libssl.so.3' is not available: libssl.so.3: cannot open shared object file: No such file or directory
[    2.861594] systemd-resolved[311]: Could not create manager: Operation not supported
[    2.869073] systemd[1]: systemd-resolved.service: Main process exited, code=exited, status=1/FAILURE

Pull it in from the module script.
@bluca bluca requested a review from a team as a code owner May 30, 2026 19:15
@github-actions github-actions Bot added modules Issue tracker for all modules systemd-resolved labels May 30, 2026
@Conan-Kudo Conan-Kudo enabled auto-merge (rebase) May 31, 2026 02:15
@devkontrol

Copy link
Copy Markdown
Collaborator

CC @chewi

@bluca

bluca commented May 31, 2026

Copy link
Copy Markdown
Contributor Author

actually found a better way, didn't notice that dlopen parsing was already supported: #2461

@bluca bluca closed this May 31, 2026
auto-merge was automatically disabled May 31, 2026 14:07

Pull request was closed

@bluca bluca deleted the resolved_ssl branch May 31, 2026 14:07
@chewi

chewi commented May 31, 2026

Copy link
Copy Markdown
Contributor

You can thank me later. 😉

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

Labels

modules Issue tracker for all modules systemd-resolved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants