Bug 18316

Summary: [6sta1] initial boot/help screen of net-installer shows short hexadecimal numbers around strings instead of coloring/highlighting them
Product: Mageia Reporter: Ben McMonagle <westel>
Component: InstallerAssignee: Anne Nicolas <ennael1>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: release_blocker CC: LpSolit, ennael1, ftg, isobuild, marja11, mkare, stormi-mageia, sysadmin-bugs, thierry.vignaud, tmb
Version: CauldronKeywords: 6sta1
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: syslinux CVE:
Status comment:
Bug Depends on: 19323    
Bug Blocks:    
Attachments: net installere introduction pagr

Description Ben McMonagle 2016-04-30 23:54:47 CEST
Description of problem: initial boot screen / information of net-installer has irregular characters, real hardware and virtual box.
It appears before and after where colour highlighted text would normally be


Version-Release number of selected component (if applicable):
Mageia 6 dev1 Boot Nonfree 32bit CD ISO 


How reproducible:every time


Steps to Reproduce:
1.boot above .iso from USB, DVD or in Virtual box
2.note no colour highlighted text and irregular chartacters on introduction / info page 
3.
Comment 1 Ben McMonagle 2016-04-30 23:57:06 CEST
Created attachment 7719 [details]
net installere introduction pagr
Ben McMonagle 2016-04-30 23:57:29 CEST

Keywords: (none) => 6sta1

Marja Van Waes 2016-05-03 16:59:08 CEST

Assignee: bugsquad => thierry.vignaud
CC: (none) => marja11, tmb
Summary: [6sta1] initial boot screen / information of net-installer has irregular characters => [6sta1] initial boot/help screen of net-installer shows short hexadecimal numbers around strings instead of coloring/highlighting them

Comment 2 Marja Van Waes 2016-06-07 14:20:21 CEST
*** Bug 18636 has been marked as a duplicate of this bug. ***

CC: (none) => ftg

Comment 3 Thierry Vignaud 2016-06-07 14:21:24 CEST
Anne & Thomas are the ones that plays most with that part

CC: (none) => ennael1
Assignee: thierry.vignaud => bugsquad

Comment 4 Ben McMonagle 2016-06-09 11:38:57 CEST
valid for 09 jun
David Walser 2016-08-10 00:29:27 CEST

Blocks: (none) => 15527
Priority: Normal => release_blocker
Component: Release (media or process) => Installer

Comment 5 Anne Nicolas 2016-09-06 09:14:02 CEST
I'm having a look at this one. Looks like a problem on syslinux stage
Comment 6 Marja Van Waes 2016-09-07 16:03:24 CEST
(In reply to Anne Nicolas from comment #5)
> I'm having a look at this one. Looks like a problem on syslinux stage

Thanks, Anne :-)

Assigning to you, then ;-)

CC: (none) => isobuild
Source RPM: (none) => syslinux

Marja Van Waes 2016-09-07 16:03:40 CEST

Assignee: bugsquad => ennael1

Comment 7 David Walser 2016-09-08 19:01:06 CEST
On IRC, Ady said the reason for this issue is there are isolinux/advanced.msg and isolinux/help.msg files (drakx-installer-images) that have color codes (pairs of digit values) that are missing an ASCII 15 character before them.

Those .msg files are generated from xml files (which themselves have not changed) by this script:
http://gitweb.mageia.org/software/drakx/tree/images/make_boot_img

I think this commit broke it:
http://gitweb.mageia.org/software/drakx/commit/images/make_boot_img?id=141b9c7439b8bcc926b640cd524c7d09733159f0

See the line 68 chunk.
Comment 8 David Walser 2016-09-08 19:03:40 CEST
Thierry,

Please see Comment 7.  Ady has confirmed that it was indeed your commit that caused this breakage.  Maybe there is something in the text editor you were using that stripped out non-printable ASCII characters from that file?

CC: (none) => thierry.vignaud

Comment 9 David Walser 2016-09-08 19:13:05 CEST
Alternatively, perhaps there is a more robust way in Perl to print a non-printable character, as opposed to embedding the character itself in the script.  In Python, I believe it would be chr(15).
Comment 10 Mageia Robot 2016-09-08 19:20:24 CEST
commit faa380c2ed0ce9b5094750897db086e058225f2b
Author: Rémi Verschelde <rverschelde@...>
Date:   Thu Sep 8 19:19:49 2016 +0200

    Restore ascii 15 (<SI>) character in syslinux color codes
    
    This was a regression from 141b9c7439b8bcc926b640cd524c7d09733159f0
    which broke color codes in syslinux (mga#18316).
    
    Thanks to Ady and David Walser for finding the fix.
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=faa380c2ed0ce9b5094750897db086e058225f2b
Comment 11 Rémi Verschelde 2016-09-08 19:21:21 CEST
Should be fixed by the above commit (but I did not make a new drakx release, so it won't be fixed in ISOs yet).
Comment 12 Thierry Vignaud 2016-09-08 19:53:20 CEST
(In reply to David Walser from comment #8)
Yeah that line is very sensible and has already had the same very issue in the past.
We often have to patch -2 -R that change before committing....

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 13 David Walser 2016-09-08 21:44:10 CEST
drakx-installer-images builds are breaking lately with this "Disk full" error:
http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20160908191257.tv.duvel.45948/log/drakx-installer-images-2.39-1.mga6/build.0.20160908193320.log

Is this because of the disk space issue on rabbit?

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 14 Thierry Vignaud 2016-09-09 09:38:48 CEST
1) no
2) this is a different issue so please don't reopen that one

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED

Comment 15 Marja Van Waes 2016-09-09 10:10:56 CEST
(In reply to Thierry Vignaud from comment #14)

> 2) this is a different issue so please don't reopen that one

As long as a fix doesn't hit the mirrors, from a user pov it isn't fixed, even if to us it is ;-)

@ LpSolit
@ Stormi

Does it make any sense to open a bug report for an automated way to update a bug report from and to e.g. (when applicable):
   RESOLVED - FIX waits in git
   RESOLVED - FIX waits in svn
   RESOLVED - FIXED 
(and use the latter only when the fix hits the mirrors) ?

If technically possible, would it be worth the extra noise on bugs ml?

CC: (none) => LpSolit, stormi

Comment 16 Frédéric "LpSolit" Buclin 2016-09-09 13:15:46 CEST
(In reply to Marja van Waes from comment #15)
> If technically possible, would it be worth the extra noise on bugs ml?

Adding more resolutions brings more confusion IMO. Per https://bugs.mageia.org/page.cgi?id=fields.html, you should set the bug status to VERIFIED when the QA team confirms the fix is deployed and working fine. So the workflow would be:

RESOLVED FIXED -> VERIFIED FIXED
Comment 17 David Walser 2016-09-09 14:04:53 CEST
No, it is incorrect to mark a bug as fixed when a fix is only committed in git and not packaged and successfully built.  We've got to stop doing that.
Comment 18 Mageia Robot 2016-09-09 14:20:35 CEST
commit fc255781e56bbddf3859e8941e4a3e93eee637fa
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Fri Sep 9 09:41:24 2016 +0200

    add extra space b/c of build issue (mga#18316)
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=fc255781e56bbddf3859e8941e4a3e93eee637fa
Marja Van Waes 2016-09-09 19:33:58 CEST

Depends on: (none) => 19323

Comment 19 Marja Van Waes 2016-09-09 19:36:07 CEST
We have bug 19323 for the build issue, now
Comment 20 Renato Dali 2016-12-12 01:05:35 CET
*** Bug 19923 has been marked as a duplicate of this bug. ***

CC: (none) => mkare

Comment 21 Mageia Robot 2016-12-12 10:12:33 CET
commit 8f904fa664b953e2f81759dd7597067c8a0a7242
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Mon Dec 12 10:08:41 2016 +0100

    make sure we won't again lost the special char
    
    The ascii 15 (<SI>) special character in syslinux color codes is
    regularly lost b/c of some commands (eg: diff/patch), which broke color
    codes in syslinux (mga#18316).
    
    Just use chr() so that it'll never happen again
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=8f904fa664b953e2f81759dd7597067c8a0a7242
Comment 22 Mageia Robot 2016-12-22 18:06:07 CET
commit 28ba5d2561fb982ccac1cc7bf10d4dc6298ecac2
Author: Thomas Backlund <tmb@...>
Date:   Thu Dec 22 18:57:10 2016 +0200

    Revert "add extra space b/c of build issue (mga#18316)"
    
    This reverts commit fc255781e56bbddf3859e8941e4a3e93eee637fa.
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=28ba5d2561fb982ccac1cc7bf10d4dc6298ecac2
Samuel Verschelde 2017-01-17 10:29:39 CET

Blocks: 15527 => (none)