illumos#7955 broke delegated datasets when libshare is not present
The code in
lib/libzfs/common/libzfs_mount.c already basically handles the case when libshare is not installed. We just need to not fail in
I tested this in lx and things work as expected. I also tested there trying to set sharenfs and sharesmb on the delegated dataset. Neither is allowed from within a zone.
The spew of msgs from a native zone is not ZFS specific. I see the same spew simply running the share command.
Updated by Electric Monk about 2 years ago
- Status changed from New to Closed
commit 1c18e8fbd8db41a9fb39bd3ef7a18ee71ece20da Author: Jerry Jelinek <email@example.com> Date: 2017-09-21T17:14:10.000Z 8502 illumos#7955 broke delegated datasets when libshare is not present Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Reviewed by: Yuri Pankov <email@example.com> Approved by: Richard Lowe <firstname.lastname@example.org>