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 rpm-ostree -h usroverlay segfault #4550

Merged
merged 2 commits into from
Aug 26, 2023
Merged

Conversation

cgwalters
Copy link
Member

main: Move usroverlay parsing back to C++ consistently

Otherwise, we end up segfaulting because
rpm-ostree -h usroverlay confuses things.

Unfortunately, if we expose it publicly in our help text
it needs to have a C++ trampoline.


usroverlay: Pass arguments to ostree admin unlock

So that --help works.

Closes: #4508


Otherwise, we end up segfaulting because
`rpm-ostree -h usroverlay` confuses things.

Unfortunately, if we expose it publicly in our help text
it needs to have a C++ trampoline.
Copy link
Member

@jmarrero jmarrero left a comment

Choose a reason for hiding this comment

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

lgtm

@jmarrero jmarrero merged commit 328fd6a into coreos:main Aug 26, 2023
17 checks passed
@jmarrero jmarrero mentioned this pull request Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segmentation Fault (core dumped) when any flag is used between rpm-ostree and usroverlay
2 participants