Skip to contentSkip to conversation

automount and upstart

DISCUSSION Marc Weber 1 participant 1 message Dec 18, 2009 Kernel automounter

lore
Share & tools
lore

Marc Weber

author
#0 lore raw

Consider this case:

a) start automount

b) cd /auto # automount can't unmount it

c) stop automount

upstart will send SIGTERM to automount.
automount replies by writing the debugging info
"Got your signal, but won't quit because I can't umount /auto"

upstart will then send SIGKILL after some time .. (Or I will)..

However when this happens nobody umounts /auto and the submounts.

Fix: umount -l /auto could be run when SIGTERM is received. This will ask the kernel to umount those remaining filesystems as soon as possible. Does this make sense?

Marc Weber