[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ezjail] ezjail with zfs bug report

Ask Bjørn Hansen wrote:
> Hi,
> Small bug (I think):
> The zfs create commands in ezjail-admin doesn't seem to use the ezjail_jailbase configuration -- the relevant command (around like 265) is:
> 	/sbin/zfs create -p ${ezjail_jailzfs}/basejail 
> (however the basejail is still copied to $ezjail_jailbase)

It does:

264: /sbin/zfs create -p -o mountpoint=${ezjail_jaildir}
${ezjail_zfs_properties} ${ezjail_jailzfs}
265: /sbin/zfs create -p ${ezjail_jailzfs}/basejail

As ${ezjail_jailzfs}/basejail is a child-dataset of ${ezjail_jailzfs},
it will get the default mountpoint of ${ezjail_jaildir}/basejail, which
is the same as ${ezjail_jailbase}:

18: : ${ezjail_jailbase="${ezjail_jaildir}/basejail"}