re-exec init hang - more info

Bob Arendt rda at rincon.com
Thu Nov 20 22:34:15 UTC 2003


jford wrote:
> On Tuesday 18 November 2003 11:40 am, jford wrote:
>>I leave my system on all night. Since upgrading to FC1, every few days
>>when I get up, the system is frozen - screensaver is updating the
>>display but there is no response to anything short of the reset
>>switch.
>>The only thing I have found in the log files is cron entries 
>>indicating that everything went fine up until for example 4 am, then 
>>nothing, and an entry in the system log files at that time indicating   
>>        desktop init: Trying to re-exec init
> 
> 
> 
> Apparently, the last thing my system does each day is run the
> cron.daily stuff - something in there causes the problem. I have
> executed each script there manually, and they all seem to run
> fine. Last night I emptied cron.daily. This morning everything
> was fine, no hanging system.
> 
> In mail to root (from yesterday, when the system was hung up
> in the morning) I find the entries:
>   Trying to re-exec init
>   open(/dev/pts/0): No such file or directory (repeated 5 times)
> 
> Obviously my system is telling me what's wrong. Anyone out
> there able to translate?
> 
> Thanks.
> Jim Ford

The "re-exe init" is caused by /etc/cron.daily/prelink being run.
It ends by restarting init.  You can disable it by renaming
prelink -> prelink~  .  The "run-parts" script ignores files that
end in "~".  If it no longer freezes, its from the prelink script.

You can also run the script by hand to see if it induces an immediate freeze.

Hope this helps   -Bob Arendt





More information about the fedora-list mailing list