nfs-common should depend on keyutils for nfsidmap integration
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/
(see related bug #1428961)