Bug #2199

screen segfaults if utmpx isn't present

Added by pavalos over 1 year ago. Updated over 1 year ago.

Status:New Start date:11/15/2011
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

Right after boot, utmpx isn't created yet, and screen will segfault if it's not present.

I'm guessing utmpx needs to be created earlier so programs that rely on it won't segfault.


Related todos

History

Updated by dillon over 1 year ago

On utmpx, it should suffice for the early boot rc scripts to create
an empty utmpx, e.g. 'echo -n > /var/run/utmpx' at some point after
the mounts have gone RW.

-Matt

Updated by alexh over 1 year ago

No. what exactly segfaults? where? Does screen itself segfault or is it in utmpx? If screen itself segfaults, it's a screen bug. If the segfault is in the utmpx code, there are better ways of fixing it. Putting some magical file creation in probably not the right solution.

Cheers,
Alex

Also available in: Atom PDF