On Jan 3, 2008 12:27 AM, Russ Allbery <[EMAIL PROTECTED]> wrote: > Christopher Allen Wing <[EMAIL PROTECTED]> writes: > > On Wed, 2 Jan 2008, Jim Rees wrote: > > >> What does the policy say exactly? No network traffic during shutdown, > >> or that the traffic is being generated in the wrong context? > > > The umount binary runs in a security context called 'mount_t'. My > > understanding is that the mount_t context is being restricted from doing > > network I/O, or from doing certain types of network I/O. > > The Debian init script first calls afsd -shutdown and then calls umount. > I see that the Red Hat init script in the packaging directory doesn't do > this. I wonder if it would help. >
Actually, the correct order is umount /afs afsd -shutdown rmmod any other order may not work, and may in fact explicitly not work as the module tries to make it not work. likewise, on some platforms you may not need afsd -shutdown; if you don't, calling it again is harmless.