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

libmount: introduce LIBMOUNT_FORCE_MOUNT2={always,never,auto} #2297

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

karelzak
Copy link
Collaborator

@karelzak karelzak commented Jun 5, 2023

Let's introduce a stable workaround for use cases where new kernel API is not ready to use.

The patch does not use "goto enosys" to exit as nothing in the hookset is initialized yet.

Addresses: #1992
Addresses: #2283

@Andrei-Pozolotin
Copy link

@karelzak : RE:

Let's introduce a stable workaround

your patch is confirmed to work on archlinux:
https://bugs.archlinux.org/task/78702#comment218544

thank you

Let's introduce a stable workaround for use cases where new kernel API
is not ready to use.

The patch does not use "goto enosys" to exit as nothing in the hookset
is initialized yet.

Addresses: util-linux#1992
Addresses: util-linux#2283
Signed-off-by: Karel Zak <kzak@redhat.com>
@karelzak karelzak changed the title libmount: introduce LIBMOUNT_FORCE_MOUNT2=yes libmount: introduce LIBMOUNT_FORCE_MOUNT2={always,never,auto} Jun 7, 2023
@karelzak karelzak merged commit 3903264 into util-linux:master Jun 9, 2023
30 checks passed
@eworm-de
Copy link
Contributor

eworm-de commented Jun 9, 2023

Another one for stable/v2.39, please...

@Andrei-Pozolotin
Copy link

@eworm-de RE:

Another one for stable/v2.39

I confirm this final commit works for v 2.39-6.1
https://bugs.archlinux.org/task/78702#comment218711

@eworm-de
Copy link
Contributor

It is in 2.39-8 as well... Can you confirm that works?

@Andrei-Pozolotin
Copy link

@eworm-de RE:

It is in 2.39-8 as well... Can you confirm that works?

I am not setup for proper isolated build;
please upload stand-alone v 2.39-8 artifacts as was done previously for v 2.39-6: *.pkg.tar.zst

@eworm-de
Copy link
Contributor

@Andrei-Pozolotin
Copy link

@eworm-de RE:

You can download from official testing

I confirm that v 2.39-8 also resolves this issue, thank you.
https://bugs.archlinux.org/task/78702#comment218719

@eworm-de
Copy link
Contributor

Thanks a lot! 👍

@karelzak
Copy link
Collaborator Author

Another one for stable/v2.39, please...

Good point, cherry-pick(ed) to the stable/v2.39 branch.

@karelzak karelzak deleted the PR/libmount-force-mount2 branch August 16, 2023 10:28
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.

None yet

3 participants