Debian Bug report logs - #508289
[nfs-common] mount nfs at boot fails when insserv with shell or startpar concurrency is enabled

Package: wicd; Maintainer for wicd is David Paleino <dapal@debian.org>; Source for wicd is src:wicd.

Reported by: "C. Dominik Bodi" <dominik.bodi@gmx.de>

Date: Tue, 9 Dec 2008 17:12:02 UTC

Severity: important

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#508289; Package nfs-common. (Tue, 09 Dec 2008 17:12:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "C. Dominik Bodi" <dominik.bodi@gmx.de>:
New Bug report received and forwarded. Copy sent to Anibal Monsalve Salazar <anibal@debian.org>. (Tue, 09 Dec 2008 17:12:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: "C. Dominik Bodi" <dominik.bodi@gmx.de>
To: submit@bugs.debian.org
Subject: [nfs-common] mount nfs at boot fails when insserv with shell or startpar concurrency is enabled
Date: Tue, 9 Dec 2008 18:09:18 +0100
Package: nfs-common
Version: 1:1.1.4-1
Severity: normal
User: initscripts-ng-devel@lists.alioth.debian.org
Usertags: runtime-problem

--- Please enter the report below this line. ---
On two of my systems I mount an nfs share with an entry in /etc/init.d/fstab like this:

192.168.x.y:/home/username/network_share /mnt/nfs nfs rw,noatime,nogroup,nodev,noexec,nosuid 0 0

On both systems i've installed insserv and enabled dependency based booting by doing
dpkg-reconfigure insserv. Everything kept working fine so far.

However, once I changed /etc/default/rcS to have
CONCURRENCY=shell
or
CONCURRENCY=startpar
the nfs share did not get mounted anymore.
With CONCURRENCY=none, mounting the nfs fs works normally.
Both systems get their ip-address by dhcp.
One has got network-manager installed, the other one hasn't. That doesn't seem to make a difference, though.

Regards,
C. Dominik Bódi

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.27.8-hirsch-1

Debian Release: 5.0

--- Package information. ---
Depends                    (Version) | Installed
====================================-+-===================
portmap                              | 6.0-9
 OR rpcbind                          | 
adduser                              | 3.110
ucf                                  | 3.0011
lsb-base           (>= 1.3-9ubuntu3) | 3.2-20
netbase                    (>= 4.24) | 4.34
initscripts       (>= 2.86.ds1-38.1) | 2.86.ds1-61
libc6                     (>= 2.7-1) | 2.7-16
libcomerr2                 (>= 1.01) | 1.41.3-1
libevent1                  (>= 1.3e) | 1.3e-3
libgssglue1                          | 0.1-2
libkrb53             (>= 1.6.dfsg.2) | 1.6.dfsg.4~beta1-4
libnfsidmap2                         | 0.21-2
librpcsecgss3                        | 0.18-1
libwrap0                 (>= 7.6-4~) | 7.6.q-16






Information forwarded to debian-bugs-dist@lists.debian.org, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#508289; Package nfs-common. (Wed, 01 Jul 2009 12:06:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to Anibal Monsalve Salazar <anibal@debian.org>. (Wed, 01 Jul 2009 12:06:06 GMT) Full text and rfc822 format available.

Message #10 received at 508289@bugs.debian.org (full text, mbox):

From: Petter Reinholdtsen <pere@hungry.com>
To: 508289@bugs.debian.org, "C. Dominik Bodi" <dominik.bodi@gmx.de>
Subject: Re: [nfs-common] mount nfs at boot fails when insserv with shell or startpar concurrency is enabled
Date: Wed, 1 Jul 2009 14:03:48 +0200
Can you please provide the output of 'ls /etc/rc*.d' with insserv
enabled?  Also, please provide the output from
'/usr/share/insserv/check-initd-order -g' to make it easier to review
your dependencies using dotty.

Could this be a race condition, where the network is not available
early enough because of slow ethernet handshaking?

Happy hacking,
-- 
Petter Reinholdtsen




Information forwarded to debian-bugs-dist@lists.debian.org, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#508289; Package nfs-common. (Wed, 08 Jul 2009 17:31:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dominik Bodi <dominik.bodi@gmx.de>:
Extra info received and forwarded to list. Copy sent to Anibal Monsalve Salazar <anibal@debian.org>. (Wed, 08 Jul 2009 17:31:01 GMT) Full text and rfc822 format available.

Message #15 received at 508289@bugs.debian.org (full text, mbox):

From: Dominik Bodi <dominik.bodi@gmx.de>
To: 508289@bugs.debian.org
Cc: Petter Reinholdtsen <pere@hungry.com>
Subject: [nfs-common] mount nfs at boot fails when insserv with shell or startpar concurrency is enabled
Date: Wed, 8 Jul 2009 19:25:42 +0200
[Message part 1 (text/plain, inline)]
I've repeated the experiment having deinstalled wicd on my laptop. As of now 
(unstable 2009-07-09 ca 15:00 UTC), automatic nfs mount seems to work again 
with startpar concurrency. I haven't tried makefile concurrency yet.

However, automatic nfs mount stops working as soon as wicd is installed. I 
haven't tried network-manager as unstable has got kde4 now, which hasn't a 
working network-manager front-end yet.

I've attached the files you wanted, once with wicd installed, once without 
wicd.

Regards,
Dominik

[init_order.no_wicd.txt (text/plain, attachment)]
[init_order.with_wicd.txt (text/plain, attachment)]
[rc_d.no_wicd.txt (text/plain, attachment)]
[rc_d.with_wicd.txt (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#508289; Package nfs-common. (Mon, 13 Jul 2009 08:39:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to Anibal Monsalve Salazar <anibal@debian.org>. (Mon, 13 Jul 2009 08:39:10 GMT) Full text and rfc822 format available.

Message #20 received at 508289@bugs.debian.org (full text, mbox):

From: Petter Reinholdtsen <pere@hungry.com>
To: Dominik Bodi <dominik.bodi@gmx.de>, 508289@bugs.debian.org
Subject: Re: [nfs-common] mount nfs at boot fails when insserv with shell or startpar concurrency is enabled
Date: Mon, 13 Jul 2009 10:32:51 +0200
[Dominik Bodi]
> However, automatic nfs mount stops working as soon as wicd is
> installed. I haven't tried network-manager as unstable has got kde4
> now, which hasn't a working network-manager front-end yet.
> 
> I've attached the files you wanted, once with wicd installed, once
> without wicd.

Thank you.

I've looked at the dependency graph and the boot script ordering, and
all of it seem to be correct.  The ordering of nfs related scripts are
not affected by the wicd scripts.  Because of this, I do not believe
your problem is boot order related.

In newer Debian versions, the automatic NFS mounting is event based,
meaning that the NFS mounting is tried when the network is up, and not
at a given sequence in the boot.  This behaviour is controled by the
scripts /etc/network/if-up.d/mountnfs and /etc/init.d/mountnfs.sh.
Could it be that wicd change the way the network is handled, and thus
confuses these scripts?  Or, could it be that the boot is quicker when
concurrent booting is enabled, and thus the network is not enabled
when it need to be enabled for NFS mounting to work?

Happy hacking,
-- 
Petter Reinholdtsen




Information forwarded to debian-bugs-dist@lists.debian.org, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#508289; Package nfs-common. (Fri, 07 Aug 2009 16:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to Anibal Monsalve Salazar <anibal@debian.org>. (Fri, 07 Aug 2009 16:57:02 GMT) Full text and rfc822 format available.

Message #25 received at 508289@bugs.debian.org (full text, mbox):

From: Petter Reinholdtsen <pere@hungry.com>
To: David Paleino <d.paleino@gmail.com>
Cc: 508289@bugs.debian.org
Subject: NFS problem with wicd and concurrent booting
Date: Fri, 7 Aug 2009 18:50:59 +0200
Hi.  You get this email because you are listed as the wicd package in
Debian.  Can you have a look at <URL:http://bugs.debian.org/508289>?
Any idea what is wrong?

Happy hacking,
-- 
Petter Reinholdtsen




Information forwarded to debian-bugs-dist@lists.debian.org, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#508289; Package nfs-common. (Mon, 22 Mar 2010 18:30:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to Anibal Monsalve Salazar <anibal@debian.org>. (Mon, 22 Mar 2010 18:30:03 GMT) Full text and rfc822 format available.

Message #30 received at 508289@bugs.debian.org (full text, mbox):

From: Petter Reinholdtsen <pere@hungry.com>
To: David Paleino <d.paleino@gmail.com>
Cc: 508289@bugs.debian.org
Subject: Re: NFS problem with wicd and concurrent booting
Date: Mon, 22 Mar 2010 19:28:35 +0100
Hi, David.  Did you get this email?  I have not seen any reply.

[Petter Reinholdtsen 2009-08-07]
> Hi.  You get this email because you are listed as the wicd package in
> Debian.  Can you have a look at <URL:http://bugs.debian.org/508289>?
> Any idea what is wrong?

Happy hacking,
-- 
Petter Reinholdtsen




Information forwarded to debian-bugs-dist@lists.debian.org, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#508289; Package nfs-common. (Mon, 22 Mar 2010 19:09:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Paleino <dapal@debian.org>:
Extra info received and forwarded to list. Copy sent to Anibal Monsalve Salazar <anibal@debian.org>. (Mon, 22 Mar 2010 19:09:06 GMT) Full text and rfc822 format available.

Message #35 received at 508289@bugs.debian.org (full text, mbox):

From: David Paleino <dapal@debian.org>
To: Petter Reinholdtsen <pere@hungry.com>
Cc: 508289@bugs.debian.org, 508289-submitter@bugs.debian.org
Subject: Re: NFS problem with wicd and concurrent booting
Date: Mon, 22 Mar 2010 20:05:37 +0100
[Message part 1 (text/plain, inline)]
On Monday 22 March 2010 19:28:35, Petter Reinholdtsen wrote:
> Hi, David.

Hello, Petter.

> Did you get this email?  I have not seen any reply.
> 
> [Petter Reinholdtsen 2009-08-07]
> 
> > Hi.  You get this email because you are listed as the wicd package in
> > Debian.  Can you have a look at <URL:http://bugs.debian.org/508289>?
> > Any idea what is wrong?

Uhm, no, I don't have it in my mailbox.
Must've been somehow caught by GMail's spam filter.

Regarding the bug: I can't really tell what's going wrong. I compared the 
initscripts of both wicd and network-manager, and they're quite similar in 
their header.

The only thing I can think of is wicd failing to set up a proper connection 
when starting. Maybe insserv can't catch an initscript failing, and it 
supposes network is available when it really isn't?

Dominik: can you boot with NFS failing to mount? If yes, do you have a 
connection on login? Can you enable debugging mode (from wicd-gtk or wicd-
curses), and attach /var/log/wicd/wicd.log ?

Thank you,
(and sorry for the big delay)
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|----
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[signature.asc (application/pgp-signature, inline)]

Message sent on to "C. Dominik Bodi" <dominik.bodi@gmx.de>:
Bug#508289. (Mon, 22 Mar 2010 19:09:08 GMT) Full text and rfc822 format available.

Severity set to 'important' from 'normal' Request was from Petter Reinholdtsen <pere@hungry.com> to control@bugs.debian.org. (Sun, 16 May 2010 16:45:02 GMT) Full text and rfc822 format available.

Bug reassigned from package 'nfs-common' to 'wicd'. Request was from Ben Hutchings <ben@decadent.org.uk> to control@bugs.debian.org. (Sat, 22 May 2010 01:51:08 GMT) Full text and rfc822 format available.

Bug No longer marked as found in versions nfs-utils/1:1.1.4-1. Request was from Ben Hutchings <ben@decadent.org.uk> to control@bugs.debian.org. (Sat, 22 May 2010 01:51:08 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, David Paleino <dapal@debian.org>:
Bug#508289; Package wicd. (Mon, 24 May 2010 14:30:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to dapal@debian.org:
Extra info received and forwarded to list. Copy sent to David Paleino <dapal@debian.org>. (Mon, 24 May 2010 14:30:03 GMT) Full text and rfc822 format available.

Message #49 received at 508289@bugs.debian.org (full text, mbox):

From: David Paleino <dapal@debian.org>
To: Petter Reinholdtsen <pere@hungry.com>
Cc: Dominik Bodi <dominik.bodi@gmx.de>, 508289@bugs.debian.org
Subject: Re: [nfs-common] mount nfs at boot fails when insserv with shell or startpar concurrency is enabled
Date: Mon, 24 May 2010 16:26:13 +0200
[Message part 1 (text/plain, inline)]
On Mon, 13 Jul 2009 10:32:51 +0200, Petter Reinholdtsen wrote:

> [Dominik Bodi]
> > However, automatic nfs mount stops working as soon as wicd is
> > installed. I haven't tried network-manager as unstable has got kde4
> > now, which hasn't a working network-manager front-end yet.
> > 
> > I've attached the files you wanted, once with wicd installed, once
> > without wicd.
> 
> Thank you.
> 
> I've looked at the dependency graph and the boot script ordering, and
> all of it seem to be correct.  The ordering of nfs related scripts are
> not affected by the wicd scripts.  Because of this, I do not believe
> your problem is boot order related.
> 
> In newer Debian versions, the automatic NFS mounting is event based,
> meaning that the NFS mounting is tried when the network is up, and not
> at a given sequence in the boot.  This behaviour is controled by the
> scripts /etc/network/if-up.d/mountnfs and /etc/init.d/mountnfs.sh.
> Could it be that wicd change the way the network is handled, and thus
> confuses these scripts?

Execution of /etc/network/*.d/ scripts is going to be supported in wicd
1.7.0+ds1-3 (I'm patching it, as it's not supported upstream) -- see #579497.

Maybe it's "just" this? We'll see as soon as I upload it (I expect to do it
RSN).

Sorry for the big delay,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, David Paleino <dapal@debian.org>:
Bug#508289; Package wicd. (Fri, 28 May 2010 06:03:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to dapal@debian.org:
Extra info received and forwarded to list. Copy sent to David Paleino <dapal@debian.org>. (Fri, 28 May 2010 06:03:03 GMT) Full text and rfc822 format available.

Message #54 received at 508289@bugs.debian.org (full text, mbox):

From: David Paleino <dapal@debian.org>
To: dapal@debian.org
Cc: Petter Reinholdtsen <pere@hungry.com>, Dominik Bodi <dominik.bodi@gmx.de>, 508289@bugs.debian.org
Subject: Re: [nfs-common] mount nfs at boot fails when insserv with shell or startpar concurrency is enabled
Date: Fri, 28 May 2010 08:00:03 +0200
[Message part 1 (text/plain, inline)]
On Mon, 24 May 2010 16:26:13 +0200, David Paleino wrote:

> On Mon, 13 Jul 2009 10:32:51 +0200, Petter Reinholdtsen wrote:
> 
> > I've looked at the dependency graph and the boot script ordering, and
> > all of it seem to be correct.  The ordering of nfs related scripts are
> > not affected by the wicd scripts.  Because of this, I do not believe
> > your problem is boot order related.
> > 
> > In newer Debian versions, the automatic NFS mounting is event based,
> > meaning that the NFS mounting is tried when the network is up, and not
> > at a given sequence in the boot.  This behaviour is controled by the
> > scripts /etc/network/if-up.d/mountnfs and /etc/init.d/mountnfs.sh.
> > Could it be that wicd change the way the network is handled, and thus
> > confuses these scripts?
> 
> Execution of /etc/network/*.d/ scripts is going to be supported in wicd
> 1.7.0+ds1-3 (I'm patching it, as it's not supported upstream) -- see #579497.
> 
> Maybe it's "just" this? We'll see as soon as I upload it (I expect to do it
> RSN).

This is now in sid, could you please test whether it works now?

Thank you,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 14:31:55 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.