Comment 13 for bug 1760173

Revision history for this message
Colin Ian King (colin-king) wrote :

Hrm. I'm, included to have the container environment inform zfs that the timeout should be zero rather adding in more logic to zfs that tries to determine which environment it is in to determine the timeout time. The container environment just needs to set the 1 environment variable that ZFS already checks, which should be trivial to add to the container environment. I'm concerned about adding container detection to ZFS that may need to change over time and becomes an effort to support over time. It just seems more straight forward to me for the container environment to inform ZFS not to wait for 10 seconds rather than ZFS (since the mechanism is already provided for in ZFS with the environment variable) than for ZFS to intuit if its in a special lxc container.