You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zfs --version nomore works in zfs-2.3.0rc1. Instead, it errors out with:
Invalid option '-'
usage: zfs command args ...
where 'command' is one of the following:\
version [-j]
create [-Pnpuv] [-o property=value] ... filesystem
I understand that zfs version has been added, but keep in mind that the zfs --version CLI command has worked fine going all the way back to at least zfs-0.8.3 until and including zfs-2.2.6. Existing programs and scripts rely on this feature for runtime checks and will now break. Please make available again the old behavior to retain compatibility.
The -j option added a round of getopt, which didn't know the magic
version flags. So just bypass the whole thing and go straight to the
human output function for the special case.
Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Umer Saleem <usaleem@ixsystems.com>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closesopenzfs#16615Closesopenzfs#16617
System information
Describe the problem you're observing
zfs --version
nomore works in zfs-2.3.0rc1. Instead, it errors out with:as shown in detail in the log here: https://github.com/whoschek/bzfs/actions/runs/11204871144/job/31143773762
Here is how exactly the job is being run: https://github.com/whoschek/bzfs/blob/main/.github/workflows/python-app.yml#L151-L155
I understand that
zfs version
has been added, but keep in mind that thezfs --version
CLI command has worked fine going all the way back to at least zfs-0.8.3 until and including zfs-2.2.6. Existing programs and scripts rely on this feature for runtime checks and will now break. Please make available again the old behavior to retain compatibility.@usaleem-ix @amotin I'm not sure, but maybe this JSON related change caused the regression: aa15b60#diff-cf9364a9cff2478f377b7c4f69664b4140102fa2642e79d12d9d35f8b525a3bdR2189
Describe how to reproduce the problem
Include any warning/errors/backtraces from the system logs
The text was updated successfully, but these errors were encountered: