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

NAS-132516 / 24.10.2 / Use /usr/share/truenas/sysext-extensions/functioning-dpkg.raw to temporarily allow dpkg (by themylogin) #15001

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

bugclerk
Copy link
Contributor

With new systemd-sysext approach for nvidia drivers, we won't be able to write to /usr anymore at all. Fortunately, we only need to write there to temporarily remove /usr/local/bin/dpkg which blocks normal /usr/bin/dpkg. This issue can be resolved with new /usr/share/truenas/sysext-extensions/functioning-dpkg.raw (truenas/scale-build#756).

We still keep old behavior if the target usr dataset does not belong to the currently running system (i.e. on initramfs updates on upgrade).

Merging this will break installing nvidia drivers and might break configuring FIPS.

Original PR: #14958
Jira URL: https://ixsystems.atlassian.net/browse/NAS-132516

…mporarily allow `dpkg`

(cherry picked from commit 4382033)
@yocalebo yocalebo merged commit f22fd4c into stable/electriceel Nov 21, 2024
1 of 2 checks passed
@yocalebo yocalebo deleted the NAS-132516-24.10.2 branch November 21, 2024 13:37
@bugclerk
Copy link
Contributor Author

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Nov 21, 2024
@themylogin
Copy link
Contributor

backport

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants