NAS-132516 / 24.10.2 / Use /usr/share/truenas/sysext-extensions/functioning-dpkg.raw
to temporarily allow dpkg
(by themylogin)
#15001
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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