zfs/contrib/dracut/90zfs
gregory-lee-bartholomew d22dd77c4d
contrib: dracut: zfs-snapshot-bootfs: exit status fix
When the zfs-snapshot-bootfs service attempts to create a snapshot 
that already exists, the exit status of the command is non-zero and 
the service reports failed to the systemd service manager. This is a 
common occurrence if bootfs.snapshot is left set on the kernel command 
line and it should not be considered a failure. 
 
This service was originally set to ignore this error by prefixing 
the command with - on the ExecStart line, but the leading - appears 
to have been dropped in #13359.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com>
Closes #13769
2022-08-12 14:28:15 -07:00
..
export-zfs.sh.in contrib/dracut: zfs-lib: export_all: replace with inline zpool export -a 2022-03-03 10:45:24 -08:00
import-opts-generator.sh.in Pass `--enable=all` to shellcheck within contrib/ 2021-11-30 10:23:10 -08:00
module-setup.sh.in Remove install of zfs-load-module.service for dracut 2022-06-21 10:37:20 -07:00
mount-zfs.sh.in dracut: fix typo in mount-zfs.sh.in 2022-06-29 15:33:38 -07:00
parse-zfs.sh.in contrib; dracut: centralise root= parsing, actually support root=s 2022-04-20 16:44:47 -07:00
zfs-env-bootfs.service.in contrib; dracut: flatten zfs-load-key, simplify zfs-env-bootfs 2022-04-20 16:44:55 -07:00
zfs-generator.sh.in contrib; dracut: centralise root= parsing, actually support root=s 2022-04-20 16:44:47 -07:00
zfs-lib.sh.in dracut: fix boot on non-zfs-root systems 2022-06-30 10:47:58 -07:00
zfs-load-key.sh.in contrib: dracut: don't require essentials to be under the same encroot 2022-04-20 16:45:25 -07:00
zfs-needshutdown.sh.in contrib: dracut: zfs-needshutdown: don't list 2022-04-20 16:45:39 -07:00
zfs-rollback-bootfs.service.in contrib: dracut: zfs-{rollback,snapshot}-bootfs: explicit snapname fix 2022-06-29 16:56:04 -07:00
zfs-snapshot-bootfs.service.in contrib: dracut: zfs-snapshot-bootfs: exit status fix 2022-08-12 14:28:15 -07:00