Add console shells to utmp/wtmp

Bug #1071873 reported by Ryan Finnie on 2012-10-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ryan Finnie

Bug Description

The console TTYs are not being logged to utmp/wtmp, which is normally what a getty is responsible for doing. In Finnix's case, bashlogin (a bash script itself) handles most of the getty functionality.

There doesn't appear to be a suitable scriptable utility for manipulating utmp/wtmp. runit provides a badly-named utmpset program, which is only responsible for clearing a utmp entry, not setting. The utempter utility (libutempter0 package) comes close, but only seems to deal with utmp/wtmp for new PTYs. This utility could be forked and modified to deal with arbitrary TTYs.

Ryan Finnie (fo0bar) on 2012-10-26
description: updated
Ryan Finnie (fo0bar) on 2012-10-27
Changed in finnix:
assignee: nobody → Finnix developers (finnix-dev)
status: New → Fix Committed
Ryan Finnie (fo0bar) on 2012-10-29
Changed in finnix:
assignee: Finnix developers (finnix-dev) → Ryan Finnie (fo0bar)
Ryan Finnie (fo0bar) on 2012-11-03
tags: added: finnix-scripts
Ryan Finnie (fo0bar) on 2012-12-23
Changed in finnix:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers