haldaemon just dies, how to analyse ?

Marcel Janssen korgull at home.nl
Sun Mar 5 04:32:09 PST 2006


On Sunday 05 March 2006 12:24, Soren Hansen wrote:
> A good starting point is strace:
> strace /usr/sbin/hald --daemon=yes --verbose=yes
>
> strace shows all the system calls performed by the process.

Ok, I've tried that but the output doesn't make much sense to me.

stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1074, ...}) = 0
write(2, "13:29:16.535 [I] hald.c:507: Bec"..., 4713:29:16.535 [I] hald.c:507: 
Becoming a daemon
) = 47
pipe([3, 4])                            = 0
chdir("/")                              = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x2aaaaaae2f10) = 4974
rt_sigaction(SIGCHLD, {0x40b8ec, [CHLD], SA_RESTORER|SA_RESTART, 
0x334492f330}, {SIG_DFL}, 8) = 0
select(4, [3], NULL, [3], {25, 0})      = 0 (Timeout)
kill(4974, SIGTERM)                     = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = 0
exit_group(2)                           = ?

regards,
Marcel




More information about the hal mailing list