/srv/irclogs.ubuntu.com/2008/11/21/#upstart.txt

arekmhi, is there anyone alive who could help me track one issue? poweroff from upstart is broadcasting message about system going  "for power off" but it's not doing actual poweroff. Nothing else happens. This is custom distro that wants to use upstart22:12
arekmI'm looking into ubuntu configs and actually I don't see where poweroff events are handled22:17
arekmstrace shows that init gets some message with "INIT_HALT=POWEROFF" but does nothing22:31
arekmNov 21 23:42:02 arm init: event_new: Pending runlevel event22:42
arekmNov 21 23:42:02 arm init: event_finished: Finished runlevel event22:42
arekmbut hm, nothing is run22:42
arekm"telinit 0" on the other hand works well23:21
arekm"shutdown -P" now also does nothing but "shutdown -P now -h' shutdowns system and powersoff23:26
arekmwhile according to manual -P implies -h23:26
arekms/manual/shutdown --help/23:26
arekmlooks like NIH_MUST (e = nih_sprintf (NULL, "INIT_HALT=%s", init_halt));23:39
arekmor any other env sent (NIH_MUST (e = nih_sprintf (NULL, "BLABLA=ZIMA"));)23:40
arekmcauses init to behave wrongly23:40

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!