I have a very strange problem with my run-parts,
when cron tries to execute the /etc/cron.daily tasks: when run-parts finish
to
execute a task(in this case, alhsys_25_logs_radius), the task ends
correctly(because a I put some 'echo hello' :)) ) but the run-parts
does not capture the finish state of its son. This is the output of
"ps axef":
................................
13975 ? S
0:00 \_ /USR/SBIN/CRON PWD=/ BOOT_FILE=/vmlinuz HOSTNAME=isp1 CONSOLE=/dev/console
PREVLEVEL=N AUTOBOOT=YES runlevel=2 M
13977 ? SW 0:00
\_ [run-parts]
16850 ? Z
0:00 | \_ [alhsys_25_logs_ <defunct>]
................................
As you can the, the parent is doing, likely, wait
for its son, the task alhsys_25_logs_radius; and the son has finished,
because
it's a zombie process.
This could be a problem of run-parts, or, kernel bug with the SIGCHLD signal?.
Any ideas?
Un saludo a todos.
Javier.
-- Javier Castillo Alcíbar. castillo@alhsys.es Alhambra Systems, S.A. http://www.alhsys.es Telf: 34 - 1 - 91 304 18 00 Fax: 34 - 1 - 91 327 31 31