FS#11290 - Problems with nano and config files with long lines in the 'configure' step of the installer.

Attached to Project: Arch Linux
Opened by Øyvind Heggstad (Mr.Elendig) - Saturday, 23 August 2008, 01:23 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 25 August 2008, 12:40 GMT
Task Type Bug Report
Category Installation
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Problem:

During the installer, if you select to use nano and unwary open and saves a config file with a long line, nano's wounderful linewrap might mess up the layout/syntax.

'Just' had a case on #archlinux, where a new install (2008.06 iso) failed to boot, because the 'kernel /vmlinuz' line in menu.lst was split on 2 lines by nano, when the user opend and saved the file.


Proposed solution:
Make the installer use `nano -w` instead of `nano`
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Monday, 25 August 2008, 12:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  I disabled line wrapping in 2.0.8-1 release to prevent such issues for the future.
Comment by Glenn Matthys (RedShift) - Saturday, 23 August 2008, 13:47 GMT
+1 for this one

Loading...