[maemo-developers] Init scripts after low-battery shutdown

From: Eero Tamminen eero.tamminen at nokia.com
Date: Mon Dec 29 10:08:28 EET 2008
Hi,

ext Tony Green wrote:
> On Wednesday 24 December 2008 13:59:56 you wrote:
>> Do you have symlinks in rc2.d (or one of the other relevant
>> directories) to the scripts in /etc/init.d?
> Yes, they're all there.
> 
>> There is no reason these would be stopped in a "hibernate".
> 
> After more digging, this is even odder. I've put some logging  in the MySQL init script and that doesn't even seem to be invoked when 
the tablet hibernates, but both it and Apache get killed off.
> $ cat /var/lib/mysql/error.log
> 081225 17:44:58 [Note] /usr/libexec/mysqld: Normal shutdown
> 
> 081225 17:44:59 [Note] /usr/libexec/mysqld: Shutdown complete
> 
> 081225 17:44:59  mysqld ended
> 
> 081225 17:50:01  mysqld ended
> 
> And the Apache log ends with 
> [Thu Dec 25 17:44:59 2008] [notice] caught SIGTERM, shutting down
> 
> So something's telling them to halt, but I don't know what.

If the device is powered off due to battery being too low, that
happens through normal shutdown procedure (sending sigterm to
processes etc).

Did you have charger connected when you powered the device up
again after that?


	- Eero

More information about the maemo-developers mailing list