-
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
zfs inherit for exec property - different behavior #1908
Comments
compression is transparent to the os (affects only new writes), thus can be toggled anytime. devices, setuid, nbmand property behave similar, see man zfs: Temporary Mount Point Properties |
@GregorKopka tanks for explanation, now I understand it better but I still got some doubts. It's because I haven't showed all context of my datasets when I explained my problem to simplify it. In full context it looks the following way:
Sorry that I haven't included whole outputs but I thought it isn't necessary. My next question about above outputs is if exec applies on remount then why this property is set without remount for child datasets that I have? Those datasets are mounted when I run all commands showed above. Shouldn't child datasets get source set to temporary and change in exec property be applied after remount? |
related: #985 |
There's certainly an issue here which needs to be investigated and at a minimum explained. Fully implementing temporary mount point properties is part of the story, but I suspect there's something else going on here as well. |
@behlendorf tanks for clarifying that described behavior isn't something intended. At the beginning I wasn't sure if I doing something wrong or doesn't understand it. |
This should now by resolved by temporary mount options which were implemented in 0282c41 |
I have observed different behavior for zfs inherit command for exec property of dataset. First I will explain what it works for me in case of other properties, for example compression property:
What I have showed for compression property and inherit command is that it works as I expected. But when I try the same thing with exec property it works the following way:
exec property after inherit doesn't reverted to on and source is set to temporary. This is different from what happens with for example compression property. Now when I unmount and mount again dataset exec property will switch back to on and source will be shown as default. My question is why behavior of zfs inherit command with exec property is different from other properties? Why dataset need to be remounted in case of exec property to inherit command take effect? I just add that I have also tried -r and -S switches but in case of exec property there were no difference.
The text was updated successfully, but these errors were encountered: