zfs/contrib/dracut/90zfs
gregory-lee-bartholomew 979fd5a434 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:31:51 -07:00
..
.gitignore dracut: 90zfs: respect zfs_force=1 on systemd systems 2021-06-10 10:50:16 -07:00
Makefile.am dracut: 90zfs: respect zfs_force=1 on systemd systems 2021-06-10 10:50:16 -07:00
export-zfs.sh.in contrib/dracut: zfs-lib: export_all: replace with inline zpool export -a 2022-05-06 12:01:48 -07:00
import-opts-generator.sh.in dracut: 90zfs: respect zfs_force=1 on systemd systems 2021-06-10 10:50:16 -07:00
module-setup.sh.in Remove install of zfs-load-module.service for dracut 2022-06-21 10:53:46 -07:00
mount-zfs.sh.in contrib: dracut: don't require essentials to be under the same encroot 2022-05-06 12:01:48 -07:00
parse-zfs.sh.in contrib; dracut: centralise root= parsing, actually support root=s 2022-05-06 12:01:48 -07:00
zfs-env-bootfs.service.in contrib; dracut: flatten zfs-load-key, simplify zfs-env-bootfs 2022-05-06 12:01:48 -07:00
zfs-generator.sh.in contrib; dracut: centralise root= parsing, actually support root=s 2022-05-06 12:01:48 -07:00
zfs-lib.sh.in contrib: dracut: remove getargbool polyfill 2022-05-06 12:01:48 -07:00
zfs-load-key.sh.in contrib: dracut: don't require essentials to be under the same encroot 2022-05-06 12:01:48 -07:00
zfs-needshutdown.sh.in contrib: dracut: zfs-needshutdown: don't list 2022-05-06 12:01:48 -07:00
zfs-rollback-bootfs.service.in contrib: dracut: zfs-{rollback,snapshot}-bootfs: order after key loading 2022-05-06 12:01:48 -07:00
zfs-snapshot-bootfs.service.in contrib: dracut: zfs-snapshot-bootfs: exit status fix 2022-08-12 14:31:51 -07:00