RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1409950 - [RFE][exportfs] add new export option "security_label" to enable labeled nfs on server
Summary: [RFE][exportfs] add new export option "security_label" to enable labeled nfs ...
Keywords:
Status: CLOSED DUPLICATE of bug 1435899
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: nfs-utils
Version: 7.4
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: Yongcheng Yang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-04 01:35 UTC by JianHong Yin
Modified: 2017-03-27 03:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-22 09:03:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1406885 0 urgent CLOSED server supports labeled NFS by default 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1435899 0 unspecified CLOSED exportfs: support "security_label" export option 2021-02-22 00:41:40 UTC

Internal Links: 1406885 1435899

Description JianHong Yin 2017-01-04 01:35:25 UTC
Description of problem:

according https://bugzilla.redhat.com/show_bug.cgi?id=1406885#c18
'''
nfsd: opt in to labeled nfs per export

I believe the attached is all we need for the (upstream) kernel, but it will also need an nfs-utils patch and some testing.  Changelog:

    nfsd: opt in to labeled nfs per export
    
    Currently turning on NFSv4.2 results in 4.2 clients suddenly seeing the
    individual file labels as they're set on the server.  This is not what
    they've previously seen, and not appropriate in may cases.  (In
    particular, if clients have heterogenous security policies then one
    client's labels may not even make sense to another.)  Labeled NFS should
    be opted in only in those cases when the administrator knows it makes
    sense.
    
    It's helpful to be able to turn 4.2 on by default, and otherwise the
    protocol upgrade seems free of regressions.  So, default labeled NFS to
    off and provide an export flag to reenable it.
    
    Users wanting labeled NFS support on an export will henceforth need to:
    
            - make sure 4.2 support is enabled on client and server (as
              before), and
            - upgrade the server nfs-utils to a version supporting the new
              "security_label" export flag.
            - set that "security_label" flag on the export.
    
    This is commit may be seen as a regression to anyone currently depending
    on security labels.  We believe those cases are currently rare.
'''

Version-Release number of selected component (if applicable):
RHEL-7.4

How reproducible:
1


Actual results:
no security_label option

Expected results:
add security_label option

Additional info:
  see https://bugzilla.redhat.com/show_bug.cgi?id=1406885

Comment 1 JianHong Yin 2017-02-22 09:03:30 UTC
Because the solution has not yet determined, close this bug.

Comment 2 Yongcheng Yang 2017-03-27 03:23:54 UTC

*** This bug has been marked as a duplicate of bug 1435899 ***


Note You need to log in before you can comment on or make changes to this bug.