-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snapshot automount fails under chroot #3778
Comments
@lazy404 as of 0.6.5 we have another way to tackle this. We could use |
@lazy404 are you still observing this with recent 0.6.5.x releases? |
It failed with some earlier 0.6.5.x releases but it was gracefull, |
This issue was resolved in the 0.7 series. |
Sep 14 18:31:36 www kernel: WARNING: Unable to automount /.zfs/snapshot/test/wwwpool/lazydev_zfstest@test: 512
wwwpool is mounted under /home/www, the process is chrooted at /home/www/lazydev_zfstest
full_path should be /home/www/lazydev_zfstest/.zfs/snapshot/test but is /.zfs/snapshot/test
https://github.com/zfsonlinux/zfs/blob/master/module/zfs/zfs_ctldir.c#L691
called by
https://github.com/zfsonlinux/zfs/blob/master/module/zfs/zfs_ctldir.c#L1069
using d_absolute_path() fixed the issue but it isn't normally exported
The text was updated successfully, but these errors were encountered: