Your message dated Wed, 19 Jan 2022 23:55:08 +0100
with message-id <e5c550f6389757d19dce2a4c4ff3bd1e63fcae22.ca...@decadent.org.uk>
and subject line Re: nfs-common: mount.nfs4 breaks with systemd and separate
/usr partition
has caused the Debian Bug report #622349,
regarding nfs-common: mount.nfs4 breaks with systemd and separate /usr partition
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
622349: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622349
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: nfs-common
Version: 1:1.2.3-2
Severity: normal
This bug affects either nfs-common or libgssglue1, libtirpc
When called by systemd, mount.nfs4 breaks, if /usr is a separate partition
(which is usually not mounted at that particular moment).
[...]
[ 6.128654] mount[320]: /sbin/mount.nfs4: error while loading shared
libraries: libtirpc.so.1: cannot open shared object file: No such file or
directory
[ 6.128679] mount[321]: /sbin/mount.nfs4: error while loading shared
libraries: libtirpc.so.1: cannot open shared object file: No such file or
directory
[...]
[ 6.144161] systemd[1]: home.mount mount process exited, code=exited
status=127
[ 6.180076] systemd[1]: Unit home.mount entered failed state.
[...]
IMO systemd is right here - nfs mounts shouldn't depend on /usr to be mounted
this early.
Proposed solution: Move the following libs to /lib instead of /usr/lib or link
statically.
/usr/lib/libtirpc.so.1
/usr/lib/libgssglue.so.1
Workaround: Don't use a separate partition for /usr
-- Package-specific info:
-- rpcinfo --
program vers proto port
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 37238 status
100024 1 tcp 38092 status
-- /etc/default/nfs-common --
NEED_STATD=
STATDOPTS=
NEED_IDMAPD=YES
NEED_GSSD=
-- /etc/idmapd.conf --
[General]
Verbosity = 0
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
Domain = localdomain
[Mapping]
Nobody-User = nobody
Nobody-Group = nogroup
-- /etc/fstab --
[...]
nfs-home.intern.pengutronix.de:/home /home nfs4
defaults,dev,exec,relatime,soft,_netdev,bg,intr,sec=sys,tcp 0 0
[...]
-- /proc/mounts --
[...]
nfs-home.intern.pengutronix.de:/home/ /home nfs4
rw,relatime,vers=4,rsize=524288,wsize=524288,namlen=255,soft,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=10.1.0.86,minorversion=0,local_lock=none,addr=10.1.0.4
0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0
[...]
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.38-2-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages nfs-common depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii initscripts 2.88dsf-13.1 scripts for initializing and shutt
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii libcap2 1:2.20-1 support for getting/setting POSIX.
ii libcomerr2 1.41.12-2 common error description library
ii libevent-1.4-2 1.4.13-stable-1 An asynchronous event notification
ii libgssapi-krb5-2 1.9+dfsg-1 MIT Kerberos runtime libraries - k
ii libgssglue1 0.2-2 mechanism-switch gssapi library
ii libk5crypto3 1.9+dfsg-1 MIT Kerberos runtime libraries - C
ii libkrb5-3 1.9+dfsg-1 MIT Kerberos runtime libraries
ii libnfsidmap2 0.24-1 An nfs idmapping library
ii libtirpc1 0.2.1-1 transport-independent RPC library
ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
ii netbase 4.45 Basic TCP/IP networking system
ii rpcbind 0.2.0-6 converts RPC program numbers into
ii ucf 3.0025+nmu1 Update Configuration File: preserv
Versions of packages nfs-common recommends:
ii python 2.6.6-12 interactive high-level object-orie
nfs-common suggests no packages.
-- no debconf information
-- debsums errors found:
debsums: changed file /var/lib/nfs/state (from nfs-common package)
--- End Message ---
--- Begin Message ---
This was fixed by changes elsewhere in Debian 8 (jessie). The /usr
partition is now mounted before the main init system runs.
Ben.
--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
signature.asc
Description: This is a digitally signed message part
--- End Message ---