IPMIView: 2.14.0 --> 2.16.0, fix iKVM console #69406
Merged
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.
Motivation for this change
This PR fixes #26650
Things done
First of all package has to be updated because the previous URL is no longer
accessible. As the bundled JRE is newer the build process needed to be adjusted too.
The main problem was that the iKVM related libraries are always loaded
from the current working directory. The bundled wrapper script makes
sure to CD to the package root folder. This is a no-go in nix as the
application writes its settings in the current working directory and the
store is read-only.
Workaround: create a directory in the users home, where the required
binaries are symlinked and is writable for the current user.
There was an additional issue that for some BMCs IPMIView relies on
the bundled
stunnel
binary to wrap the iKVM traffic in a TLS tunnel.Therefore it has to be patched to make it executable and the
killall
command is needed on the PATH because it is used to terminate the
stunnel
process upon exit.sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @domenkozar based on his work on the original issue