HomeFreeBSD

Add /usr/bin/env to COPY_EXEC_LIST initramfs hook

Description

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

Details

Provenance
JKDingwall <james@dingwall.me.uk>Authored on Dec 4 2017, 7:53 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Dec 4 2017, 7:53 PM
Parents
rGea39f75f64ff: Fix 'zpool create|add' replication level check
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG9717fe052b6b: Add /usr/bin/env to COPY_EXEC_LIST initramfs hook (authored by JKDingwall <james@dingwall.me.uk>).Dec 4 2017, 7:53 PM