Quotes are crucial in the exec line of the .conf file. The bug is reproducible with
expect fork exec /bin/sh -c "exit"
But never happens for the following .conf
expect fork exec /bin/sh -c exit
Quotes (or $ in the original ureadahead-other.conf) force upstart to add shell wrapping. First time it leads to
lazy-daemon main process (3673) executable changed
I have no guess why during the second launch job_process_trace_fork() is called instead of job_process_trace_exec()
lazy-daemon main process (3681) became new process (3682)
I have not notice any variable within init (upstart) that may control this behavior. Perhaps it is due to libnih.
Quotes are crucial in the exec line of the .conf file.
The bug is reproducible with
expect fork
exec /bin/sh -c "exit"
But never happens for the following .conf
expect fork
exec /bin/sh -c exit
Quotes (or $ in the original ureadahead- other.conf) force
upstart to add shell wrapping. First time it leads to
lazy-daemon main process (3673) executable changed
I have no guess why during the second launch trace_fork( ) is called instead of trace_exec( )
job_process_
job_process_
lazy-daemon main process (3681) became new process (3682)
I have not notice any variable within init (upstart) that may
control this behavior. Perhaps it is due to libnih.