Tetsuo Handa
from-****@I-lov*****
Mon Feb 7 07:01:11 JST 2011
Jamie Nguyen wrote: > Ok sure. Actually, I just tested the strace command above and it seems > running "ccs-editpolicy /etc/ccs" results in two processes (I noticed > because strace command above fails). Is this normal? "ccs-editpolicy" > without "/etc/ccs" option runs just a single process. I am running > with same system as before on Arch Linux x86_64. Yes. This is normal. When editing /etc/ccs/ files, ccs-editpolicy creates a child process and the child process calls ccs_editpolicy_offline_daemon() in order to emulate /proc/ccs/ interface. You can use "strace -f" to also trace children. (But tracing the child process is not helpful for debugging this issue because ccs_editpolicy_offline_daemon() uses simple array for managing policy while /proc/ccs/ uses linked list.) Regards.