]> granicus.if.org Git - zfs/commit
Add /usr/bin/env to COPY_EXEC_LIST initramfs hook
authorJKDingwall <james@dingwall.me.uk>
Mon, 4 Dec 2017 19:53:57 +0000 (19:53 +0000)
committerTony Hutter <hutter2@llnl.gov>
Tue, 5 Dec 2017 01:22:36 +0000 (17:22 -0800)
commitd45702bcfa1cdc0ef22534f38c98b44cfa0734ec
treee559c989f5fc99a149bb97a6db32a31a6627d468
parentddd20dbe0bc3121247be66e4be5ea6b91253f485
Add /usr/bin/env to COPY_EXEC_LIST initramfs hook

5dc1ff29 changed the user space program to mount a zfs snapshot
from /bin/sh to /usr/bin/env.  If the executable is not present
in the initramfs then snapshots cannot be automounted.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: James Dingwall <james.dingwall@zynstra.com>
Closes #5360
Closes #6913
Conflicts:
contrib/initramfs/hooks/zfs
contrib/initramfs/hooks/zfs