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

libnss3 does not contain libsmime3.so #381

Open
tri-bao opened this issue Oct 23, 2024 · 1 comment
Open

libnss3 does not contain libsmime3.so #381

tri-bao opened this issue Oct 23, 2024 · 1 comment

Comments

@tri-bao
Copy link

tri-bao commented Oct 23, 2024

In file libnss3.yaml (both 22.04 and 24.04), the libs slice only take libnss3.so and libnssutil3.so. But the package libnss3 contains many other .so files https://ubuntu.pkgs.org/22.04/ubuntu-main-amd64/libnss3_3.68.2-0ubuntu1_amd64.deb.html

One of them is libsmime3.so which can only found in this package. We need it. How do you suggest to solve this case?

rebornplusplus added a commit to rebornplusplus/chisel-releases that referenced this issue Oct 24, 2024
This commit restructures the libnss3 slices. It renames the former
"libs" slice to "nss", to only include nss3-specific libraries. It also
adds a new slice "smime" to include S/MIME libraries.

Finally, the "libs" slice is added back, which includes all of the
slices that provide libraries. The rationale is that "libs" slices
should contain all libraries coming from the package.

Note that the ca-certificates-java slice has also been updated to
reflect this change.

Resolves canonical#381
@rebornplusplus
Copy link
Member

Hiya, thanks for raising the issue. Indeed, a package may not have a particular file in any of their slices due to the rationale of slicing -- get only what you need.

Ideally, you would add a new slice for the specified files or include them all in the libs slice. I have done both and raised #382 for 22.04. Feel free to raise a PR for 24.04! :)

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

No branches or pull requests

2 participants