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

Disable Lua posix.fork() and friends on v6 packages #3323

Open
pmatilai opened this issue Sep 23, 2024 · 0 comments
Open

Disable Lua posix.fork() and friends on v6 packages #3323

pmatilai opened this issue Sep 23, 2024 · 0 comments
Labels
API API related v6 Related to rpm v6 (readiness)
Milestone

Comments

@pmatilai
Copy link
Member

As discussed in #3270, we can't actually remove the support for posix.fork() and the associated functions even in v6, because the handful of users are actually key packages in distros, and removing the functionality would be a far, far bigger compatibility break than v6 format, and that makes no sense whatsoever.

That PR adds poor mans dynamic symbol versioning mechanism for our Lua APIs, for 6.0 we should extend that to entirely disable these symbols for v6 packages, so the behavior for using these in 6.0 would be:

  • packages built with < 4.20 install with no warnings
  • v4 packages built with >= 4.20 issue thd deprecation warnings
  • v6 packages error out when using these functions
@pmatilai pmatilai added API API related v6 Related to rpm v6 (readiness) labels Sep 23, 2024
@pmatilai pmatilai added this to the 6.0.0 alpha milestone Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API API related v6 Related to rpm v6 (readiness)
Projects
Status: Backlog
Development

No branches or pull requests

1 participant