Network mounts don't get unmounted on ifdown

Bug #66308 reported by disabled.user
0
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: initscripts

This is for Ubuntu 6.06.1.

When a network interface comes up, network mounts from fstab get mounted via /etc/network/if-up.d/mountnfs. But if the (single present) network interface gets shut down via ifdown, the network mounts don't get unmounted beforehand, resulting for example in timeouts when listing the directory where the network mount is (or should be) mounted.

Now there's the problem if more than one network interface is present, so that network mounts can't simply be automatically unmounted on every ifdown via a script in /etc/network/if-down.d/.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Has always been the case that NFS mounts don't get unmounted on ifdown, even before we moved mounting to ifup

We can fix this with upstart

Changed in sysvinit:
importance: Undecided → Low
status: Unconfirmed → Confirmed
Revision history for this message
disabled.user (disabled.user-deactivatedaccount) wrote :

There is also the issue that after system startup, cifs mounts from fstab don't make it into mtab, but they are definitely mounted. When bringing up the network manually, cifs mounts get mounted by /etc/network/if-up.d/mountnfs and show up in mtab (see also Bug#44874 and Bug#62607).

But I can't really tell if this issue is with smbfs or with initscripts.

Revision history for this message
dino99 (9d9) wrote :

is that issue still met ?

Changed in sysvinit (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for sysvinit (Ubuntu) because there has been no activity for 60 days.]

Changed in sysvinit (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.