[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#775542: NFS exports fail due to rpcbind not starting before nfs-common and nfs-kernel-server



Control: tags 775542 -moreinfo -unreproducible


I am seeing this too. I am running wheezy with backports using systemd as PID 1.

After a reboot:
Jan 29 14:47:58 debian kernel: [   24.331523] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Jan 29 14:48:02 debian nfs-kernel-server[1384]: Exporting directories for NFS kernel daemon....
Jan 29 14:48:02 debian nfs-kernel-server[1384]: Starting NFS kernel daemon: nfsd
Jan 29 14:48:02 debian nfs-kernel-server[1384]: Not starting: portmapper is not running ... (warning).

debian:~#  /etc/init.d/nfs-kernel-server status
nfs-kernel-server.service - LSB: Kernel NFS server support
   Loaded: loaded (/etc/init.d/nfs-kernel-server)
   Active: active (exited) since Thu 2015-01-29 14:48:00 CET; 38s ago
  Process: 1384 ExecStart=/etc/init.d/nfs-kernel-server start (code=exited, status=0/SUCCESS)

debian:~#  /etc/init.d/rpcbind status 
rpcbind.service - LSB: RPC portmapper replacement
   Loaded: loaded (/etc/init.d/rpcbind)
  Drop-In: /run/systemd/generator/rpcbind.service.d
           └─50-rpcbind-$portmap.conf
   Active: inactive (dead)

Now stopping and starting nfs-kernel-server makes it works:

Jan 29 14:50:01 debian nfs-kernel-server[2729]: Stopping NFS kernel daemon: mountd nfsd.
Jan 29 14:50:01 debian nfs-kernel-server[2729]: Unexporting directories for NFS kernel daemon....
Jan 29 14:50:06 debian systemd[1]: Starting LSB: RPC portmapper replacement...
Jan 29 14:50:06 debian rpcbind[2781]: Starting rpcbind daemon....
Jan 29 14:50:06 debian systemd[1]: Started LSB: RPC portmapper replacement.
Jan 29 14:50:06 debian nfs-kernel-server[2794]: Exporting directories for NFS kernel daemon....
Jan 29 14:50:07 debian kernel: [  153.371831] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jan 29 14:50:07 debian nfs-kernel-server[2794]: Starting NFS kernel daemon: nfsd mountd.
Jan 29 14:50:07 debian rpc.mountd[2825]: Version 1.2.6 starting

What should I provide of logging? 

cheers, 
:-Dennis

On Sun, 25 Jan 2015 11:00:51 +0100 Niels Thykier <niels@thykier.net> wrote:
> Control: severity 775542 important
> 
> Hi,
> 
> I am downgrading this bug as it is tagged moreinfo and unreproducible.
> If you still experience this issue, please follow up with more
> information and remove the "moreinfo" and "unreproducible" tags[1].
> 
> For the sake of clarity - this is about "NFS exports fail due to rpcbind
> not starting before nfs-common and nfs-kernel-server".  You may be
> receiving this mail if you were involved in #622394, which got split
> into 3 different bugs:
> 
>  * #622394 - nfs-common: breaks systemd - dependency cycle in
>              require-start leads to removal of critical jobs
>    - Just got closed
>  * #775541 - NFS mounts from /etc/fstab do not work
>  * #775542 - NFS exports fail due to rpcbind not starting before
>              nfs-common and nfs-kernel-server
>    - "This bug"
> 
> Thanks,
> ~Niels
> 
> [1] This can be done by replying to this mail and then add the following
> as the *very first line* of the mail:
> 
> Control: tags 775542 -moreinfo -unreproducible
> 
> 
> 


Reply to: