Bug#622349: nfs-common: mount.nfs4 breaks with systemd and separate /usr partition

2012-01-14 Thread Raoul Bhatia [IPAX]

hi!

is there any progresss on this issue?
i'm also seeing this on an up2date debian squeeze.

thanks,
raoul
--

DI (FH) Raoul Bhatia M.Sc.  email.  r.bha...@ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OG  web.  http://www.ipax.at
Barawitzkagasse 10/2/2/11   email.off...@ipax.at
1190 Wien   tel.   +43 1 3670030
FN 277995t HG Wien  fax.+43 1 3670030 15




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#622349: nfs-common: mount.nfs4 breaks with systemd and separate /usr partition

2011-04-12 Thread Bjoern Buerger
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
104   tcp111  portmapper
103   tcp111  portmapper
102   tcp111  portmapper
104   udp111  portmapper
103   udp111  portmapper
102   udp111  portmapper
1000241   udp  37238  status
1000241   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.1scripts for initializing and shutt
ii  libc62.11.2-11   Embedded GNU C Library: Shared lib
ii  libcap2  1:2.20-1support 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-31.9+dfsg-1  MIT Kerberos runtime libraries
ii  libnfsidmap2 0.24-1  An nfs idmapping library
ii  libtirpc10.2.1-1 transport-independent RPC library
ii  libwrap0 7.6.q-19Wietse Venema's TCP wrappers libra
ii  lsb-base 3.2-27  Linux Standard Base 3.2 init scrip
ii  netbase  4.45Basic 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  python2.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)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org