Bug 18494

Summary: Error during installation from boot-nonfree.iso: "ERROR: 'script' failed for memtest86+-5.01-10.mag6.x86_64"
Product: Mageia Reporter: PC LX <mageia>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Normal CC: cae, lists.jjorge, thierry.vignaud
Version: CauldronKeywords: 6dev1
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: memtest86+-5.01-10.mga6.src.rpm CVE:
Status comment:
Attachments: Mageia 6 dev1 screenshot boot_nonfree.iso install error
install.log
ddebug.log

Description PC LX 2016-05-20 15:38:48 CEST
Description of problem:

During the installation from boot-nonfree.iso the following message is shown (screen shot attached):
"ERROR: 'script' failed for memtest86+-5.01-10.mag6.x86_64"

The memtest86+ package seems to be installed correctly. At least memtest86+ can be run from grub2 boot menu and "rpm -V" does not complain. The consequences seem to be benign but the error message may confuse some users. 

The installation was done in a VirtualBox VM.



Version-Release number of selected component (if applicable):

$ rpm -q memtest86+
memtest86+-5.01-10.mga6



How reproducible:

Only installed once, for now.



Steps to Reproduce:
1. Install Mageia 6 dev1 from boot-nonfree.iso on a VirtualBox VM.

I'm not certain how dependent this bug is on the installation parameters.
Comment 1 PC LX 2016-05-20 15:42:05 CEST
Created attachment 7818 [details]
Mageia 6 dev1 screenshot boot_nonfree.iso install error
PC LX 2016-05-20 15:42:19 CEST

Keywords: (none) => 6dev1

Comment 2 Rémi Verschelde 2016-05-20 15:53:01 CEST
Assigning to packagers collectively as memtest86+ has no registered maintainer yet.

Assignee: bugsquad => pkg-bugs

Comment 3 José Jorge 2016-05-20 23:21:26 CEST
Please attach the log of the install : it is in /root/

Status: NEW => ASSIGNED
CC: (none) => lists.jjorge
Assignee: pkg-bugs => lists.jjorge

Comment 4 PC LX 2016-05-21 00:15:45 CEST
Created attachment 7820 [details]
install.log
Comment 5 PC LX 2016-05-21 00:16:36 CEST
Created attachment 7821 [details]
ddebug.log
Comment 6 Charles Edwards 2016-05-21 01:14:10 CEST
Here is the %post for memtest86+

%post
if [ -x /usr/sbin/bootloader-config ]; then
    /usr/sbin/bootloader-config --action add-entry --label memtest --image /boot/memtest.bin
fi

It is used to add an EFI grub2 boot menu entry for memtest86+

That error is going to happen on All clean UEFI installs

The script is dependent upon a bootloader being installed and present on the system.

On a clean install the bootloader will not be installed until the end of the Configuration stage of the install well after the install on memtest86+.

CC: (none) => cae

Comment 7 Thierry Vignaud 2016-05-31 14:04:57 CEST
Fixed

Status: ASSIGNED => RESOLVED
CC: (none) => thierry.vignaud
Resolution: (none) => FIXED
Assignee: lists.jjorge => thierry.vignaud