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!
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!
FS#22597 - [autofs] deamon doesn't stop correctly
Attached to Project:
Community Packages
Opened by Thijs Vermeir (lovebug356) - Tuesday, 25 January 2011, 09:16 GMT
Last edited by Lukas Fleischer (lfleischer) - Sunday, 27 March 2011, 19:48 GMT
Opened by Thijs Vermeir (lovebug356) - Tuesday, 25 January 2011, 09:16 GMT
Last edited by Lukas Fleischer (lfleischer) - Sunday, 27 March 2011, 19:48 GMT
|
DetailsWhen I stop the autofs package the automount deamon is not stopped correctly. Because of this the deamon is also not able to restart (because it's detected as already running)
reprocude: /etc/rc.d/autofs stop |
This task depends upon
Closed by Lukas Fleischer (lfleischer)
Sunday, 27 March 2011, 19:48 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 5.0.5-5.
Sunday, 27 March 2011, 19:48 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 5.0.5-5.
1) use "kill -9"
2) rm /var/run/autofs-running
don't know if this is the valid solution
stop)
stat_busy "Stopping $daemon_name daemon"
[ ! -z "$PID" ] && kill -9 $PID &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm /var/run/autofs-running
rm_daemon $daemon_name
stat_done
fi
;;
[1] https://wiki.archlinux.org/index.php/Autofs#Optional_parameters
----------------------------
$cat /etc/autofs/auto.master
# Sample auto.master file
# Format of this file:
# mountpoint map options
# For details of the format look at autofs(5).
#/media /etc/autofs/auto.media
/media/ssh /etc/autofs/auto.ssh --timeout=60 --ghost
---------------------------
$cat /etc/autofs/auto.ssh
sheeva -fstype=fuse,rw,allow_other :sshfs\#sheeva\:/media/usb
plug -fstype=fuse,rw,allow_other :sshfs\#plug\:/media
tvmgs -fstype=fuse,rw,allow_other :sshfs\#tvmgs\:
----------------------------
I will also test the autofs stop multiple times
When I try without accessing ssh connection, the program stops immediately.