You are not logged in.
I am noticing a funny thing since past 2 days, I have a cron script that automatically shuts down the system and eventually powering it off. But the same is not working either from cron or even from command line. below is my last pacman update log
2010-05-07 02:52] synchronizing package lists
[2010-05-07 02:53] starting full system upgrade
[2010-05-07 03:04] upgraded dbus-glib (0.82-2 -> 0.86-1)
[2010-05-07 03:04] upgraded fuse (2.8.3-1 -> 2.8.4-1)
[2010-05-07 03:04] upgraded gstreamer0.10 (0.10.28-1 -> 0.10.29-1)
[2010-05-07 03:04] upgraded gstreamer0.10-base (0.10.28-1 -> 0.10.29-1)
[2010-05-07 03:04] upgraded imlib2 (1.4.2-6 -> 1.4.4-1)
[2010-05-07 03:04] upgraded libgadu (1.8.2-4 -> 1.9.0rc3-1)
[2010-05-07 03:04] upgraded libsigc++2.0 (2.2.6-1 -> 2.2.7-1)
After thus upgrade, halt -p, halt, shutdown -p now, poweroff etc etc simply reboots the machine instead of powering it off. Does anyone know why? Is it a bug in halt script?
Last edited by chakra-user (2010-05-10 15:33:08)
Offline
If the update broke sth, the guilty package probably was 'dbus-glib'.
Can you post the script?
Offline
It is a cron command in crontab that, at a particular time, runs "shutdown -h now".
Offline
I've just did 'shutdown -h now' and it powered off, as expected.
Offline
Is it becoz I recently installed Plymouth? Ironically, if I shutdown via KDE Menu, it Powers off. But the same command of shutdown -h now, /sbin/halt etc reboots but does not halt. Is KDE using some magical options now?
Offline
Possibly. I had problems with plymouth when I used it briefly. halt still works fine for me here.
Offline
Finally solved it. The culprit was indeed plymouth. Even after removing plymouth from HOOKS and rebuilding the kernel thereby ensuring plymouth is never run, the shutdown -h now was not working. After lot of looking around it struck me why not remove it completely as during shutdown I was seeing a blank page and not shutdown steps being run. That was the nail in the coffin for plymouth and halt now powerdown correctly. Phew.
Offline