Skip to content

Commit

Permalink
fix SED unlock at boot (#15360)
Browse files Browse the repository at this point in the history
  • Loading branch information
yocalebo authored Jan 9, 2025
1 parent 0de7f11 commit 643f477
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion debian/debian/ix-zfs.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,16 @@ Description=Import ZFS pools
DefaultDependencies=no
Before=network-pre.target
Before=local-fs.target
After=middlewared.service
# it's imperative that this service
# Requires AND starts AFTER ix-syncdisks.service
# because disk.sed_unlock_all uses
# our database and the syncdisks.service
# is responsible for updating the database
# with any changes that could have occurred
# between last boot and next boot
# (i.e. /dev/sda could now be /dev/sdg)
Requires=ix-syncdisks.service
After=middlewared.service ix-syncdisks.service

[Service]
Type=oneshot
Expand Down

0 comments on commit 643f477

Please sign in to comment.