Release Engineering

This project is intented for all release related issues (isos, installer, etc), under the umbrella of the ArchLinux Release Engineers
Tasklist

FS#11152 - Log messages don't have carriage returns

Attached to Project: Release Engineering
Opened by Sergey Samokhin (Myav) - Friday, 08 August 2008, 21:17 GMT
Last edited by Gerhard Brauer (GerBra) - Tuesday, 27 January 2009, 12:34 GMT
Task Type Bug Report
Category archlinux-installer (deprecate
Status Closed
Assigned To Simo Leone (neotuli)
Aaron Griffin (phrakture)
Gerhard Brauer (GerBra)
Dieter Plaetinck (Dieter_be)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version 2009.02
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

All log messages, written to /dev/tty5 by quickinst/setup looks like they don't have carriage return symbols at the end (This only appears if there is no user logged into /dev/tty5).

To fix this you can use the following:

LOG=/dev/tty5
TTYPREFS=$(stty -F "$LOG" -g) # Backup settings

stty -F "$LOG" opost onlcr # after this all log messages will be fine formatted

# <INSTALLATION STEPS>

stty -F "$LOG" $TTYPREFS # Restore setting
This task depends upon

Closed by  Gerhard Brauer (GerBra)
Tuesday, 27 January 2009, 12:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in current archlinux-installer
Comment by Simo Leone (neotuli) - Wednesday, 22 October 2008, 09:00 GMT
How about if we try logging to tty8 instead? No gettys or anything like that in the way.
Comment by Dieter Plaetinck (Dieter_be) - Monday, 26 January 2009, 19:53 GMT
both aif and archlinux-installer log to tty7 now (see http://bugs.archlinux.org/task/11515?project=6&status[0]= )
this should fix this issue, right?

Loading...