When some service started from /etc/init.d crashes or is killed, it's impossible to start it again using /etc/init.d script. Script thinks, that service is already running and doesn't start it, neither it can be stopped Reproducible: Always Steps to Reproduce: 1. kill some started process (I use MySQL) 2. try to start/restart/stop this service - it fails 3. remove /mnt/.init.d/started/(service) 4. now it can be started Actual Results: axa root # killall mysqld axa root # ps ax | grep mysql 26032 pts/1 R 0:00 grep mysql axa root # /etc/init.d/mysql status * status: started axa root # /etc/init.d/mysql restart * Stopping mysqld... [ !! ] axa root # /etc/init.d/mysql start * WARNING: "mysql" has already been started. axa root # rm /mnt/.init.d/started/mysql axa root # /etc/init.d/mysql start * Starting mysqld... [ ok ] Expected Results: Service should start/stop
`/etc/init.d/mysql zap`