[Bug 1398508] Re: fails to configure because statd.service is missing
Launchpad Bug Tracker
1398508 at bugs.launchpad.net
Tue May 26 04:17:30 UTC 2015
[Expired for nfs-utils (Ubuntu Vivid) because there has been no activity
for 60 days.]
** Changed in: nfs-utils (Ubuntu Vivid)
Status: Incomplete => Expired
--
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/1398508
Title:
fails to configure because statd.service is missing
Status in nfs-utils package in Ubuntu:
Expired
Status in nfs-utils source package in Vivid:
Expired
Bug description:
I use systemd (all from Ubuntu packages), and nfs-common fails to configure. root cause is
# sh -x /var/lib/dpkg/info/nfs-common.postinst configure
+ set -e
+ ucf --three-way /usr/share/nfs-common/conffiles/idmapd.conf /etc/idmapd.conf
+ ucf --three-way /usr/share/nfs-common/conffiles/nfs-common.default /etc/default/nfs-common
+ getent passwd statd
+ dpkg --compare-versions ge 1:1.0.7-10
+ chown statd: /var/lib/nfs/sm /var/lib/nfs/sm.bak /var/lib/nfs
+ [ -f /var/lib/nfs/state ]
+ chown statd /var/lib/nfs/state
+ [ != ]
+ dpkg --compare-versions lt 1:1.1.0-14
+ dpkg-statoverride --list /sbin/mount.nfs
+ dpkg --compare-versions lt-nl 1:1.2.0-2ubuntu1
+ dpkg --compare-versions lt-nl 1:1.2.4-1ubuntu3
+ [ -f /lib/init/rw/sendsigs.omit.d/statd ]
+ [ -x /etc/init.d/statd ]
+ [ -x /etc/init.d/statd ]
+ [ -e /etc/init/statd.conf ]
+ [ -n ]
+ _dh_action=start
+ invoke-rc.d statd start
Failed to issue method call: Unit statd.service failed to load: No such file or directory.
invoke-rc.d: initscript statd, action "start" failed.
+ exit 6
I do not have /etc/init.d/statd, but i do have /etc/init/statd.conf
(which came from nfs-common itself).
I "fixed" this by changing || to && in the following line of nfs-
common.postinst:
if [ -x "/etc/init.d/statd" ] || [ -e "/etc/init/statd.conf" ]; then
Same fix twice more for gssd and idmapd
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: nfs-common 1:1.2.8-9ubuntu1.1
ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7
Uname: Linux 3.16.0-25-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue Dec 2 11:07:43 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-02-04 (1032 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: nfs-utils
UpgradeStatus: Upgraded to utopic on 2014-09-27 (66 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1398508/+subscriptions
More information about the foundations-bugs
mailing list