]> git.proxmox.com Git - mirror_zfs.git/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)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 4 Dec 2017 19:53:57 +0000 (11:53 -0800)
commit9717fe052b6b7a43e497974817e392dffd8b939b
treefbd42edc5d5089de0dbd3c4bc31f5a5adbec4f89
parentea39f75f64ff72e30900a36e00632f180f5f6676
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
contrib/initramfs/hooks/zfs.in