idmapd not started when booting under systemd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nfs-utils (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
Sorry for not getting a chance to test this before upload, but now that nfs-utils has support for systemd in the archive, I've rebooted and tested it on a system that uses nfs.
I find that the idmapd service is not being started on boot when booting with systemd.
$ pidof rpc.idmapd
$ systemctl status nfs-idmapd -l
● nfs-idmapd.service - NFSv4 ID-name mapping service
Loaded: loaded (/lib/systemd/
Active: inactive (dead)
Mar 05 22:31:24 virgil systemd[1]: Starting NFSv4 ID-name mapping service...
Mar 05 22:31:24 virgil systemd[1]: Started NFSv4 ID-name mapping service.
Mar 05 22:31:24 virgil systemd[1]: Unit nfs-idmapd.service is bound to inactive unit. Stopping, too.
Mar 05 22:31:24 virgil systemd[1]: Stopping NFSv4 ID-name mapping service...
Mar 05 22:31:24 virgil systemd[1]: Stopped NFSv4 ID-name mapping service.
$
Under upstart, it is started unconditionally, which is correct. idmapd is used on both clients and servers, and should be started whenever the nfs-common package is installed.
I'm not sure where the bug lies; I don't completely understand the contents of /lib/systemd/
gssd is client-side only; idmapd and statd are used on both client and server and should be started unconditionally in nfs-common, AIUI.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: nfs-common 1:1.2.8-9ubuntu4
ProcVersionSign
Uname: Linux 3.19.0-7-generic x86_64
ApportVersion: 2.16.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Mar 5 22:36:57 2015
InstallationDate: Installed on 2010-09-24 (1624 days ago)
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
SourcePackage: nfs-utils
UpgradeStatus: Upgraded to vivid on 2014-12-06 (90 days ago)
Related branches
Changed in nfs-utils (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in nfs-utils (Ubuntu): | |
status: | In Progress → Fix Committed |
Patch sent to upstream ML, I'll send the link here once http:// www.spinics. net/lists/ linux-nfs/ has it.