mirror_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
import-opts-generator.sh.in
module-setup.sh.in
mount-zfs.sh.in
parse-zfs.sh.in
zfs-env-bootfs.service.in
zfs-generator.sh.in
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
zfs-needshutdown.sh.in
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