Bug #2199

screen segfaults if utmpx isn't present

Added by pavalos almost 3 years ago. Updated almost 3 years ago.

Status:NewStart date:11/15/2011
Priority:NormalDue 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.

History

#1 Updated by dillon almost 3 years 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

#2 Updated by alexh almost 3 years 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