-
Notifications
You must be signed in to change notification settings - Fork 95
Add support to discover and assume a hostid, as well as fix arguments passed to a BE #147
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
Merged
Merged
Changes from 26 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
ee62c17
Start of a hostid alignment helper
zdykstra 4d1f43a
Fix read-only errors
zdykstra 8002c0a
Only operate on a single BE at a time
zdykstra cfca80e
Rewrite org.zfsbootmenu:commandline
zdykstra abaad18
Silence shellcheck error
zdykstra 99aaa67
Only write temporary commandline if needed
zdykstra 5ebec9c
/etc/hostid is read on demand
zdykstra 6e00c2c
Add match_hostid chameleon function
zdykstra 7d50d65
prefer pool set on kcl
zdykstra baa858d
Fail to shell if we changing our hostid fails
zdykstra 96285eb
Return imported pool, throw error
zdykstra 1323da8
Support busybox grep
zdykstra 5facb64
Prohibit r/w on matched hostid pool imports
zdykstra 0e47704
Huge hack to rewrite spl_hostid on KCL of bootfs
zdykstra 84c4f61
Integrate kcl supressor, import_policy with force_import, automatic s…
zdykstra 3f76096
document match_hostid, allow r/w ops on pool imported via matched hostid
zdykstra ad185b5
Check for empty hostid when scraping a pool import
zdykstra 8b0cf23
Fix whitespacing
zdykstra 73b678d
Fix whitespacing
zdykstra 6c0c547
Attempt to import everything again after cloning a discovered hostid
zdykstra 3f6cde1
dracut log functions use the daemon facility
zdykstra 5efdeb5
Rearrange import loop
ahesford c862e84
Always import readonly and disable mounts when scrping hostid
ahesford 7d7408b
Make sure $spl_hostid and /etc/hostid match on startup
zdykstra df17d75
Default to legacy import behavior, suppress spl_hostid, rewrite spl.s…
zdykstra adf20f7
Purge this branches namesake
zdykstra b9cfb72
Fix typo in log message
ahesford e63bcd8
Fall back to matched hostid in kcl rewrite when spl_hostid is not in …
ahesford 3006bc7
Rename import_policy=legacy to strict
zdykstra c4e996b
Try harder to get the right hostid when forcing the KCL
ahesford 347d372
Improve logging with get_spl_hostid
ahesford 8fb2860
Make hostid writes aware of endianness
ahesford cbc0bc3
Move hostid writes to zfsbootmenu-countdown where zfsbootmenu-lib is …
ahesford 2c309ef
Determine LE/BE at creation time, load at startup
zdykstra 187c64b
Make every attempt to import boot_pool first, then anything else we can
zdykstra e69fead
Make every attempt to import boot_pool first, then anything else we can
zdykstra ba4b564
WIP: import loop restructure
ahesford aabd349
Fix check_for_pools, shellcheck
zdykstra 446ad84
Add zbm.prefer=<pool> shorthand
zdykstra b6601e6
Fall back to writing spl_hostid when spl.spl_hostid=0 would be used
ahesford d95b264
First pass at updating zfsbootmenu documentation
zdykstra 07b8fcb
Second pass at zfsbootmenu.7.pod
ahesford 2f3ad9d
Add warning flag, set min log level to warn, warn on hostid matched i…
zdykstra 2711843
Pass 3 on zfsbootmenu.7.pod
ahesford fbc1e91
Move to a new line to clarify the scope of 'this option'
zdykstra c66e2ee
Change log hotkey text to be more generic
zdykstra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Uh oh!
There was an error while loading. Please reload this page.