zfs
zfs copied to clipboard
Move zfs-mount before mountall w/sysvinit to match systemd
Matches what systemd services do, mounts zfs before fstab is processed.
Signed-off-by: Chris Zubrzycki [email protected]
Motivation and Context
With separate datasets for /var/log and others, services were not brought up because required directories were missing as they got mounted at the end of boot
Description
This just moves zfs-mount up earlier in the boot sequence
How Has This Been Tested?
Tested locally in a vm with different boot scenarios.
Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Performance enhancement (non-breaking change which improves efficiency)
- [ ] Code cleanup (non-breaking change which makes code smaller or more readable)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
- [ ] Documentation (a change to man pages or other documentation)
Checklist:
- [x] My code follows the OpenZFS code style requirements.
- [x] I have updated the documentation accordingly.
- [x] I have read the contributing document.
- [ ] I have added tests to cover my changes.
- [ ] I have run the ZFS Test Suite with this change applied.
- [x] All commit messages are properly formatted and contain
Signed-off-by
.
Can you please rebase this on the current version of the master branch.
rebased
Try using git pull --rebase openzfs master
to rebase. You will need to change that command depending on what your remote for openzfs is named.