mirror_zfs/etc/systemd/system
kotauskas 2284a61129 Remount datasets on soft-reboot
The one-shot zfs-mount.service is incorrectly deemed active by 
Systemd after a systemctl soft-reboot. As such, soft-rebooting
prevents zfs mount -a from being ran automatically.

This commit makes it so that zfs-mount.service is marked as being 
undone by the time umount.target is reached, so that zfs.target then 
pulls it in again and gets it restarted after a soft reboot.

Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: kotauskas <v.toncharov@gmail.com>
Closes #16845
2024-12-16 10:26:35 -08:00
..
.gitignore autoconf: use include directives instead of recursing down etc 2022-05-10 10:19:58 -07:00
50-zfs.preset autoconf: use include directives instead of recursing down etc 2022-05-10 10:19:58 -07:00
zfs-import-cache.service.in Revert "systemd: Use non-absolute paths in Exec* lines" 2023-06-07 11:14:05 -07:00
zfs-import-scan.service.in Revert "systemd: Use non-absolute paths in Exec* lines" 2023-06-07 11:14:05 -07:00
zfs-import.target.in Cleanup systemd dependencies 2017-11-08 09:39:15 -08:00
zfs-mount.service.in Remount datasets on soft-reboot 2024-12-16 10:26:35 -08:00
zfs-scrub-monthly@.timer.in systemd: add weekly and monthly scrub timers 2021-12-16 11:47:22 -08:00
zfs-scrub-weekly@.timer.in systemd: add weekly and monthly scrub timers 2021-12-16 11:47:22 -08:00
zfs-scrub@.service.in Revert "systemd: Use non-absolute paths in Exec* lines" 2023-06-07 11:14:05 -07:00
zfs-share.service.in Revert "systemd: Use non-absolute paths in Exec* lines" 2023-06-07 11:14:05 -07:00
zfs-trim-monthly@.timer.in Add weekly and monthly systemd timers for trimming 2022-06-10 18:22:14 -07:00
zfs-trim-weekly@.timer.in Add weekly and monthly systemd timers for trimming 2022-06-10 18:22:14 -07:00
zfs-trim@.service.in Revert "systemd: Use non-absolute paths in Exec* lines" 2023-06-07 11:14:05 -07:00
zfs-volume-wait.service.in Revert "systemd: Use non-absolute paths in Exec* lines" 2023-06-07 11:14:05 -07:00
zfs-volumes.target.in New service that waits on zvol links to be created 2019-07-17 15:33:05 -07:00
zfs-zed.service.in Revert "systemd: Use non-absolute paths in Exec* lines" 2023-06-07 11:14:05 -07:00
zfs.target.in Systemd configuration fixes 2016-05-27 11:54:29 -07:00