Skip to content
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

Don't use d_path() for automount mount point for chroot'd users #8966

Merged
merged 1 commit into from
Jul 2, 2019

Commits on Jun 28, 2019

  1. Don't use d_path() for automount mount point for chroot'd process

    Chroot'd process fails to automount snapshots due to realpath(3)
    failure in mount.zfs(8).
    
    Construct a mount point path from sb of the ctldir inode and dirent
    name, instead of from d_path(), so that chroot'd process doesn't get
    affected by its view of fs.
    
    Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
    kusumi committed Jun 28, 2019
    Configuration menu
    Copy the full SHA
    4cd571b View commit details
    Browse the repository at this point in the history