Here are the answers to some questions you might want to ask.
Q] When did you first notice this happening?
A] I can tell you precisely, on August 27th. I came back from a weeks holiday to find that my machine had an uptime of over 7 days.
Q] Did you do anything to the machine just before you went away?
A] Yes, I installed LMDE 201108rc on the 19th August, the day before I went away. I am not saying that this is the culprit, it may be pure coincidence, but it has never happened before that date.
Q] Does it occur at a regular time or time interval?
A] It is difficult to say for sure, but I don't think so, I think it is more a random problem, it has probably occurred 4 or 5 times in 3 weeks.
Q] Do you use hibernate or suspend?
A] Never! I see no reason for these things to even exist, and I certainly don't use them deliberately. The button from which I shutdown my computer calls /sbin/halt which should do what is says and halt it. If it is putting it into some hibernate state instead then that is definitely against my wishes and a serious bug with the operating system. When it shuts down all the lights go off except for the 'power connected' light (because it remains plugged in) and moving the mouse or tapping the keyboard will not wake it. Also, when it is started up manually it performs a full boot cycle.
Q] Could it be booted by LAN?
A] Network booting is disabled in my bios.
Q] Could cron be booting it?
A] I wouldn't think that cron would be capable of doing this from a full power off situation, but I am not certain about that. My crontab has only two entries in it, both of which I put there and both of which are '@reboot' so should not occur at any other time. Root has no crontab entries. Naturally, for a linux system /etc/cron.daily has several scripts in it but they do not look much different to any other system I have:
- Code: Select all
ls /etc/cron.daily/
0anacron* bsdmainutils* exim4-base* mlocate* rkhunter*
apt* chkrootkit* logrotate* ntp* samba*
aptitude* dpkg* man-db* passwd* standard*
Q] What do your log files show?
A] Extract from /var/log/messages:
Sep 7 18:58:56 acer shutdown[5028]: shutting down for system halt
Sep 7 18:59:00 acer kernel: Kernel logging (proc) stopped.
Sep 7 18:59:00 acer rsyslogd: [origin software="rsyslogd" swVersion="5.8.3" x-pid="1739" x-info="http://www.rsyslog.com"] exiting on signal 15.
Sep 7 19:59:44 acer kernel: imklog 5.8.3, log source = /proc/kmsg started.
Extract from auth.log
Sep 7 18:17:01 acer CRON[4885]: pam_unix(cron:session): session closed for user root
Sep 7 19:59:54 acer CRON[1909]: pam_unix(cron:session): session opened for user xxxxx by (uid=0)
Sep 7 19:59:54 acer CRON[1910]: pam_unix(cron:session): session opened for user xxxxx by (uid=0)
Sep 7 19:59:54 acer CRON[1910]: pam_unix(cron:session): session closed for user xxxxx
Sep 7 19:59:54 acer CRON[1909]: pam_unix(cron:session): session closed for user xxxxx
Sep 7 19:59:58 acer gdm-session-worker[2195]: pam_unix(gdm3-autologin:session): session opened for user xxxxx by (uid=0)
Sep 7 19:59:58 acer gdm-session-worker[2195]: pam_ck_connector(gdm3-autologin:session): nox11 mode, ignoring PAM_TTY :0
The xxxxx's are just to hide my username from the rest of the world, nothing sinister.
Extract from daemon.log:
Sep 7 18:58:57 acer ntfs-3g[1353]: Unmounting /dev/sda1 (ACER)
Sep 7 18:58:59 acer modem-manager[1793]: <info> Caught signal 15, shutting down...
Sep 7 18:58:59 acer acpid: exiting
Sep 7 18:58:59 acer ntpd[2547]: ntpd exiting on signal 15
Sep 7 19:59:45 acer NetworkManager[1600]: <info> NetworkManager (version 0.8.4.0) is starting...
Sep 7 19:59:45 acer NetworkManager[1600]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
Sep 7 19:59:46 acer NetworkManager[1600]: <info> VPN: loaded org.freedesktop.NetworkManager.pptp
Sep 7 19:59:46 acer NetworkManager[1600]: <info> trying to start the modem manager...
Sep 7 19:59:46 acer dbus[1590]: [system] Activating service name='org.freedesktop.ModemManager' (using servicehelper)
Sep 7 19:59:46 acer dbus[1590]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Sep 7 19:59:46 acer modem-manager[1614]: <info> ModemManager (version 0.5) starting...
It is very clear that it was shut down at 1858 and started up again at 1959 but why and how?
Over to you all!











