Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#3740 - Problem in shutdown script (initscript)

Attached to Project: Arch Linux
Opened by Roberto Braga (Bobonov) - Wednesday, 11 January 2006, 10:42 GMT
Last edited by arjan timmerman (blaasvis) - Sunday, 12 February 2006, 11:13 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Basically the system hangs on shutdown when I have manualy mounted netwrok filesystem.
The reason is that they are not unmontedbefore the network gues down.

To solve this just add
umount -a -t nfs,smbfs,codafs,cifs
to the network stop script. But this solution create another problem, it will umont all netfs when you restart the network and that can be annoying.
Better solution would be to execute the command during shutdown just before executing network script. It can be made with a if in daemon shutdown loop.
This task depends upon

Closed by  Judd Vinet (judd)
Monday, 13 February 2006, 04:51 GMT
Reason for closing:  Won't fix
Additional comments about closing:  netfs is in the default DAEMONS array for this reason.
Comment by Judd Vinet (judd) - Monday, 13 February 2006, 04:49 GMT
The easiest way to work around this is to add "netfs" after "network" in your DAEMONS list. Even if you don't have any network filesystems mounting at bootup, it won't harm anything.

Loading...