[Bug 1449074] Re: nfs-common should depend on keyutils for nfsidmap integration
Launchpad Bug Tracker
1449074 at bugs.launchpad.net
Thu Apr 30 00:37:32 UTC 2015
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 <steve.langasek at ubuntu.com> Mon, 27 Apr 2015
17:46:03 +0200
** Changed in: nfs-utils (Ubuntu Vivid)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1449074
Title:
nfs-common should depend on keyutils for nfsidmap integration
Status in nfs-utils package in Ubuntu:
Fix Released
Status in nfs-utils source package in Vivid:
Fix Released
Status in nfs-utils source package in w-series:
New
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).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1449074/+subscriptions
More information about the foundations-bugs
mailing list