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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1760173

Title:
  zfs, zpool commands hangs for 10 seconds without a /dev/zfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1760173/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to