Project

General

Profile

Actions

Bug #8502

closed

illumos#7955 broke delegated datasets when libshare is not present

Added by Robert Mustacchi almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2017-07-18
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

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 zfs_init_libshare_impl.

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.


Related issues

Related to illumos gate - Bug #7955: libshare needs to initialize only those datasets being modified by the consumerClosedPrakash Surya2017-03-09

Actions
Actions #1

Updated by Marcel Telka almost 5 years ago

  • Related to Bug #7955: libshare needs to initialize only those datasets being modified by the consumer added
Actions #2

Updated by Electric Monk almost 5 years ago

  • Status changed from New to Closed

git commit 1c18e8fbd8db41a9fb39bd3ef7a18ee71ece20da

commit  1c18e8fbd8db41a9fb39bd3ef7a18ee71ece20da
Author: Jerry Jelinek <jerry.jelinek@joyent.com>
Date:   2017-09-21T17:14:10.000Z

    8502 illumos#7955 broke delegated datasets when libshare is not present
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF