Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(systemd): explicitly install some libs that will not be statically included #2643

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aafeijoo-suse
Copy link
Member

Some required libraries that used to be statically included are in the process to be opened via dlopen().

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

Closes #2642

@github-actions github-actions bot added systemd Issues related to the systemd module modules Issue tracker for all modules systemd-journald labels Apr 1, 2024
@aafeijoo-suse aafeijoo-suse changed the title fix(systemd): explictly install some libs that will not be statically included fix(systemd): explicitly install some libs that will not be statically included Apr 1, 2024
Copy link
Contributor

@ddiss ddiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it'd help to have some of the corresponding systemd commit ids present in the commit message (once merged there).
Anyhow, this looks good to me. I assume you're waiting for the systemd changes to go through before dropping the Draft flag?

{"tls/$_arch/",tls/,"$_arch/",}"libzstd.so.*" \
{"tls/$_arch/",tls/,"$_arch/",}"liblzma.so.*"
{"tls/$_arch/",tls/,"$_arch/",}"liblzma.so.*" \
{"tls/$_arch/",tls/,"$_arch/",}"libzstd.so.*"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could $hostonly images selectively drop some of these modules, depending on systemd-journal configuration?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know the default compression is configured at build time, but it can also be set via SYSTEMD_JOURNAL_COMPRESS env var... I'll take a look

@aafeijoo-suse
Copy link
Member Author

I think it'd help to have some of the corresponding systemd commit ids present in the commit message (once merged there). Anyhow, this looks good to me. I assume you're waiting for the systemd changes to go through before dropping the Draft flag?

Thanks, that's what I was thinking. I'll remove the draft mark and amend the commit message including those external references if they are merged.

…y included

Some required libraries that used to be statically included are in the process
to be opened via `dlopen()`.

References:
- systemd/systemd#31131
- systemd/systemd#31550
- systemd/systemd#32019

Closes dracutdevs#2642
@pvalena
Copy link
Contributor

pvalena commented Apr 5, 2024

LGTM.

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 Issues related to the systemd module systemd-coredump systemd-journald
Projects
None yet
Development

Successfully merging this pull request may close these issues.

systemd will dlopen libraries that used to be statically included
3 participants