You are not logged in.

#1 2011-09-06 19:38:11

jsteel
Package Maintainer (PM)
From: England
Registered: 2008-03-18
Posts: 119

Network stops before network shares are unmounted (fstab)

Hi,

I use fstab to set up my network shares. In my rc.conf I have "network" then "netfs". When shutting down, the network is stopped before the shares are unmounted so the system never shuts down; it just hangs trying to unmount them.

Is there another/better way to specify network shares or a fix for this issue?

Thanks


PGP key: F40D2072
Key fingerprint: 8742 F753 5E7B 394A 1B04  8163 332C 9C40 F40D 2072

Offline

#2 2011-09-07 13:28:21

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: Network stops before network shares are unmounted (fstab)

Hi,

I think my solution is better for mobile computers that are not always connecting to the same network: using networkmanager you can make a 'dispatcher'-script that only loads after connecting to a specified network. There are examples on the wiki.

This way, my laptop is not trying to connect to my home NFS-shares when I connect to my parents' network, which could be a security risk.

Offline

Board footer

Powered by FluxBB