Project

General

Profile

Actions

Bug #9918

open

libzfs blowing up on pool with no features enabled

Added by Andrew Stormont over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2018-10-23
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

This is a strange one. It seems that check_status in usr/src/lib/libzfs/common/libzfs_status.c uses fnvlist_lookup_nvlist to get the "enabled_feat" list which is not always present. This causes anything using libzfs to core dump.

Interestingly ZoL made a change to this part of the code when MMP was introduced that makes this property optional: https://github.com/zfsonlinux/zfs/blob/master/lib/libzfs/libzfs_status.c#L385

No data to display

Actions

Also available in: Atom PDF