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

prod_image_util: extract gcc libs to /usr/lib64 #391

Merged
merged 1 commit into from
Jul 27, 2022
Merged

Conversation

jepio
Copy link
Member

@jepio jepio commented Jul 25, 2022

prod_image_util: extract gcc libs to /usr/lib64

This made no difference back when lib was a symlink to lib64, but now that they are separate,
libs belongs in /usr/lib64. This mostly doesn't show up because ldconfig configures the ld.so cache
to include both locations, but when updating from an older release ld.so.cache is out of date.
Unfortunately ld.so.cache does not get updated until after multipathd, which causes
multipathd to dump core. This may also affect other packages that need access to
libgcc early.

See also: flatcar/Flatcar#809

How to use

[ describe what reviewers need to do in order to validate this PR ]

Testing done

[Describe the testing you have done before submitting this PR. Please include both the commands you issued as well as the output you got.]

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)

This made no difference back when lib was a symlink to lib64, but now that they are separate,
libs belongs in /usr/lib64. This  mostly doesn't show up because ldconfig configures the ld.so cache
to include both locations, but when updating from an older release ld.so.cache is out of date.
Unfortunately ld.so.cache does not get updated until after multipathd, which causes
multipathd to dump core. This may also affect other packages that need access to
libgcc early.

See also: flatcar/Flatcar#809
@jepio jepio requested a review from a team July 25, 2022 15:34
@dongsupark
Copy link
Member

maybe run CI tests?

@jepio
Copy link
Member Author

jepio commented Jul 27, 2022

maybe run CI tests?

CI ran successfully here: http://jenkins.infra.kinvolk.io:8080/job/os/job/manifest/6159/cldsv/

@jepio jepio merged commit 1388987 into main Jul 27, 2022
jepio added a commit that referenced this pull request Jul 27, 2022
prod_image_util: extract gcc libs to /usr/lib64
jepio added a commit that referenced this pull request Jul 27, 2022
prod_image_util: extract gcc libs to /usr/lib64
jepio added a commit that referenced this pull request Jul 27, 2022
prod_image_util: extract gcc libs to /usr/lib64
@jepio jepio deleted the jepio/libgcc-fix branch July 27, 2022 09:28
t-lo pushed a commit that referenced this pull request Apr 17, 2023
.github: Specify a commit message for monthly GLSA updates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants