zfs icon indicating copy to clipboard operation
zfs copied to clipboard

Move zfs-mount before mountall w/sysvinit to match systemd

Open beren12 opened this issue 2 years ago • 3 comments

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.

beren12 avatar Sep 15 '22 01:09 beren12

Can you please rebase this on the current version of the master branch.

behlendorf avatar Sep 16 '22 21:09 behlendorf

rebased

beren12 avatar Sep 19 '22 02:09 beren12

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.

ryao avatar Sep 19 '22 07:09 ryao