nfs-common should depend on keyutils for nfsidmap integration

Bug #1449074 reported by Steve Langasek
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nfs-utils (Ubuntu)
Fix Released
Undecided
Unassigned
Vivid
Fix Released
Undecided
Unassigned
Wily
Fix Released
Undecided
Unassigned

Bug Description

[Impact]
The idmapd service is no longer started by default as of Ubuntu 15.04, because it's been superseded upstream by nfsidmap, which integrates with the kernel request-key interface. However the keyutils package which provides request-key is not installed by default. The nfs-common package needs to add a dependency on keyutils to correct this regression from Ubuntu 14.10.

[Test Case]
1. Install nfs-common 1:1.2.8-9ubuntu8 from vivid.
2. mount an NFS share from an NFS4 server, which requires the idmap service.
3. ls -l the mount point to see that the file ownership has all been mapped to -1.
4. install nfs-common 1:1.2.8-9ubuntu8.1 from vivid-proposed.
5. verify that the keyutils package has been installed.
6. unmount the NFS share and remount it.
7. verify that the ls -l output now shows normal uid mapping.

[Regression potential]
Minimal. The keyutils package is in main and is optional priority, just like nfs-common is, and is only on the order of 150KB unpacked. Its installation will cause other kernel upcalls to be handled which are currently going ignored, but that's really the desired behavior (/sbin/key.dns_resolver).

Revision history for this message
Steve Langasek (vorlon) wrote :

(see related bug #1428961)

Steve Langasek (vorlon)
description: updated
Steve Langasek (vorlon)
description: updated
Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Steve, or anyone else affected,

Accepted nfs-utils into vivid-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nfs-utils/1:1.2.8-9ubuntu8.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in nfs-utils (Ubuntu Vivid):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Steve Langasek (vorlon) wrote :

I've confirmed that this works as expected in the test case.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nfs-utils - 1:1.2.8-9ubuntu8.1

---------------
nfs-utils (1:1.2.8-9ubuntu8.1) vivid; urgency=medium

  * Add a dependency on keyutils to nfs-common, so that idmapping will work
    under systemd. LP: #1449074.

 -- Steve Langasek <email address hidden> Mon, 27 Apr 2015 17:46:03 +0200

Changed in nfs-utils (Ubuntu Vivid):
status: Fix Committed → Fix Released
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of the Stable Release Update for nfs-utils has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nfs-utils - 1:1.2.8-9ubuntu8.1

---------------
nfs-utils (1:1.2.8-9ubuntu8.1) vivid; urgency=medium

  * Add a dependency on keyutils to nfs-common, so that idmapping will work
    under systemd. LP: #1449074.

 -- Steve Langasek <email address hidden> Mon, 27 Apr 2015 17:46:03 +0200

Changed in nfs-utils (Ubuntu Wily):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.