Bug #315

Newlines slipping into dynamic partition table layouts

Added by Frank Sweetser over 1 year ago. Updated over 1 year ago.

Status:Closed Start:06/07/2010
Priority:Normal Due date:
Assigned to:Ohad Levy % Done:

100%

Category:Web Interface
Target version:0.1-6
Backlog: Difficulity:
Votes: 0

Description

I'm not sure where they slipped in, but custom partition tables are ending up with DOS style line endings. This causes kickstart to fail miserably, since this command:

echo foo > /tmp/diskpart.cfg

ends up becoming:

echo foo > /tmp/diskpart.cfg\r

which creates diskpart.cfg\r instead of diskpart.cfg. I couldn't figure out where in the path they're appearing (web browser, rails, mysql, etc), but I did a simple patch to filter them out of the generated kickstart script.

0001-Protect-against-r-slipping-into-kickstart-pre-script.patch (785 Bytes) Frank Sweetser, 06/07/2010 09:09 pm

Associated revisions

Revision 2a06208d4b7770329f2cf1f3602e703e5c1cb5f5
Added by Ohad Levy over 1 year ago

fixes #315 - Newlines slipping into dynamic partition table layouts

History

Updated by Ohad Levy over 1 year ago

  • Status changed from New to Ready For Testing
  • % Done changed from 0 to 100

Updated by Ohad Levy over 1 year ago

  • Category set to Web Interface
  • Status changed from Ready For Testing to Closed
  • Assigned to set to Ohad Levy
  • Target version set to 0.1-6

Also available in: Atom PDF