Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
shfs, netmount, and shutdown order
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
plizzba
n00b
n00b


Joined: 04 Jul 2004
Posts: 12
Location: chicago, il

PostPosted: Fri Jun 17, 2005 6:36 pm    Post subject: shfs, netmount, and shutdown order Reply with quote

Hi,

I'm having problems shutting down after mounting a shfs network file system. This seems to be related to the post shfs unmount problem.

If I mount a shfs file system, then shutdown, the computer will hang. This is caused by the shutdown script shutting down net.wlan0 before netmount. That is, netmount hangs when trying to unmount a shfs after the network is gone. So, I'd like the shutdown script to shutdown netmount first, but being a n00b, I can't figure out how to do this.

For various reasons, I start net.wlan0 manually. I think this might be screwing up my shutdown order.

Any Ideas?
-Pat
Back to top
View user's profile Send private message
alterself.com
Apprentice
Apprentice


Joined: 13 Nov 2003
Posts: 175
Location: Iowa

PostPosted: Fri Jun 17, 2005 6:51 pm    Post subject: Reply with quote

i have the same issue. the net.wlan0 goes down BEFORE it tries to unmount my nfs mount...duh

i wrote a script that unmounts the nfs drives, then shuts down the net.wlan0 and then the machine...its a round about way, but until i am 100% comfortable w/ messing w/ init scripts itll have to do.
Back to top
View user's profile Send private message
plizzba
n00b
n00b


Joined: 04 Jul 2004
Posts: 12
Location: chicago, il

PostPosted: Fri Jun 17, 2005 8:13 pm    Post subject: Reply with quote

I'll probably end up doing the same thing.

I'm pretty afraid to mess with the init scripts too. Ideally i'd like that after I type "net.wlan0 start", it would start netmount automatically. Then it would shutdown in the reverse order. I have netmount in my default runlevel, and it seems to go up following net.lo. That seems sort of pointless.

But now i'm only complaining about a few keystrokes-- the hanging shutdown is more serious.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum