https://bugzilla.novell.com/show_bug.cgi?id=249770 Summary: autofs fails to kill processes on stop Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: paul.zirnik@novell.com QAContact: qa@suse.de On shutdown of autofs the script try to kill all processes that use files/dirs inside the via autofs mounted filesystem kill $SIG $(fuser -m $path/* | cut -d : -f 2- | sed 's#[^0-9 ]##g') but the -f 2- option for cut is wrong. the output from fuser -m $path/* | cut -d : -f 2- | sed 's#[^0-9 ]##g' is: (example) ashford:/etc/init.d # fuser -m /suse/* | cut -d : -f 2- /suse/tami: ccccccccccccccmccccccccccccccccccccc with "-f 1-" it works ashford:/etc/init.d # fuser -m /suse/* | cut -d : -f 1- /suse/tami: ccccccccccccccmccccccccccccccccccccc 4672 4811 4826 4907 4915 4919 4922 4927 4929 4934 4936 4948 4950 4955 4978 4983 4988 4990 4993 5007 16597 24557 24558 24559 24607 24912 24950 29367 30591 30620 30334 4326 4331 8309 5550 Don't ask me why ... i don't understand the output from "cut" in this case. How about to change the script to use the fuser internal kill ? --- autofs.old 2007-02-28 15:08:15.000000000 +0100 +++ autofs 2007-02-28 15:27:40.000000000 +0100 @@ -241,7 +241,7 @@ case "$mount_type" in automount*) { - kill $SIG $(fuser -m $path/* | cut -d : -f 2- | sed 's#[^0-9 ]##g') + fuser -km $SIG $path/* } > /dev/null 2>&1 ;; esac -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.