[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] /etc/init.d/xencommons start hangs
On Wed, 2018-02-14 at 15:02 -0700, ls00722 wrote: > /strace /etc/init.d/xencommons start > execve("/etc/init.d/xencommons", ["/etc/init.d/xencommons", "start"], > [/* 19 > vars */]) = 0 > brk(0) = 0x11c9b000 > ... Mmm.. Actually, I was suggesting to manually run, and maybe strace, either xen-init-dom0 or xenstored directly. > write(1, "Setting domain 0 name, domid and"..., 48Setting domain 0 > name, > domid and JSON config... > ) = 48 > rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 > clone(child_stack=0, > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, > child_tidptr=0x7f7f6ba0d0) = 2036 > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 > rt_sigaction(SIGINT, {0x43f938, [], 0}, {SIG_DFL, [], 0}, 8) = 0 > wait4(-1,/ > > *So, it hangs right after wait4...* > According to the script: > > echo Setting domain 0 name, domid and JSON config... > ${LIBEXEC_BIN}/xen-init-dom0 > > I don't see the xen-init-dom0 is being called? yet it hangs after > printing > out "setting domain 0 name, domid and JSON config". > Well, I don't have a xencommons script handy right now, but xen-init-dom0 being "called" might very well be the clone above. And then the script waits for xen-init-dom0 to finish, but that, according to your previous email, never happens, which explains why the script itself is stuck in the wait(). But it's the reason why xen-init-dom0 never completes that we're after! Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Software Engineer @ SUSE https://www.suse.com/ Attachment:
signature.asc _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |