[Bug 848823] Re: mounting of nfs shares fails and must restart nfs-kernel-server

Steve Langasek steve.langasek at canonical.com
Sun Sep 18 15:47:49 UTC 2011


Ok.  If I'm not mistaken, this is a regression introduced by the switch
of rc-sysinit.conf from starting on 'network-interface-up IFACE!=lo' to
'static-network-up'.  Previously, we had a guarantee that scripts in
runlevel 2 would not be started until at least one non-loopback
interface is up.  Now, if there are *no* interfaces configured in
ifupdown (i.e., all networking is done via NM), the 'static-network-up'
event will be emitted as soon as the loopback interface itself comes up.

That means services such as nfs-kernel-server will try to start before
there's a route to the DNS server, resulting in exactly the failure you
describe here.

We need to fix this in ifupdown for release, so that we never emit
static-network-up until at least one non-loopback interface is brought
up.  (And if none are brought up, we wait for the 'failsafe' event as
before.)

** Package changed: nfs-utils (Ubuntu) => ifupdown (Ubuntu)

** Changed in: ifupdown (Ubuntu)
   Importance: Medium => High

** Changed in: ifupdown (Ubuntu)
       Status: Incomplete => Triaged

** Changed in: ifupdown (Ubuntu)
     Assignee: (unassigned) => Clint Byrum (clint-fewbar)

** Summary changed:

- mounting of nfs shares fails and must restart nfs-kernel-server
+ if all interfaces are configured via NM, static-network-up emitted when only lo is configured

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/848823

Title:
  if all interfaces are configured via NM, static-network-up emitted
  when only lo is configured

Status in “ifupdown” package in Ubuntu:
  Triaged

Bug description:
  For the last few weeks whenever I try to mount a nfs share from
  another machine, I get an access denied message from the server.

  once I restart via 'service nfs-kernel-server restart', then it starts
  working again. This is required atleast once per day.

  nfs server is running on fully updated 11.10 onieric
  clients are on 11.04 and 10.04

  I never experienced such issues prior to 11.10

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: nfs-kernel-server 1:1.2.4-1ubuntu2
  ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
  Uname: Linux 3.0.0-10-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.22.1-0ubuntu2
  Architecture: amd64
  Date: Tue Sep 13 20:02:19 2011
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110803.1)
  SourcePackage: nfs-utils
  UpgradeStatus: Upgraded to oneiric on 2011-08-13 (31 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/848823/+subscriptions




More information about the foundations-bugs mailing list