Project

General

Profile

Actions

Bug #2199

open

screen segfaults if utmpx isn't present

Added by pavalos about 10 years ago. Updated about 10 years ago.

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

0%

Estimated time:

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.

Actions #1

Updated by dillon about 10 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
Actions #2

Updated by alexh about 10 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

Actions

Also available in: Atom PDF