shutdown in upstart builds
Abhi
abhiraj.butala at gmail.com
Wed Nov 28 11:27:03 GMT 2007
Hi,
I am using upstart for arm target on busybox. I have successfully managed to
write job files and corresponding scripts and controlling some daemon
initializations at run time.
But the busy box utilities like poweroff or halt do not work when upstart is
integrated. The strace log of poweroff gives following:
---------------------------------------------------------------------------------------------------------------
.
.
.
umask(022) = 022
socket(PF_FILE, SOCK_DGRAM, 0) = 3
getpid() = 690
bind(3, {sa_family=AF_FILE, path=@/com/ubuntu/upstart/690}, 26) = 0
setsockopt(3, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0
sendmsg(3, {msg_name(22)={sa_family=AF_FILE, path=@/com/ubuntu/upstart},
msg_iov(1)=[{"upstart\n\0\0\2\0s\0\0\0\10runlevelas\0\0\0\0010"..., 58}],
msg_controllen=0, msg_flags=0}, 0) = 58
unlink("/var/run/shutdown.pid") = -1 ENOENT (No such file or
directory)
unlink("/etc/nologin") = -1 ENOENT (No such file or
directory)
io_submit(0, 0xfdc, 0x2 <unfinished ... exit status 0>
Process 690 detached
---------------------------------------------------------------------------------------------------------------------
What does ubuntu with upstart integrated does when poweroff is run ? Have I
missed on something obvious? Can someone direct me to appropriate
documentation if its available..?
Regards,
Abhiraj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/upstart-devel/attachments/20071128/4b0ef071/attachment.htm
More information about the upstart-devel
mailing list