Bug 27776

Summary: Draklive2 does not support https in the repository URL
Product: Mageia Reporter: Morgan Leijström <fri>
Component: RPM PackagesAssignee: Martin Whitaker <mageia>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: mageia
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA7TOO
Source RPM: drakiso-1.12-1.mga7 CVE:
Status comment: fixed in drakiso-1.16 and drakx-installler-stage2-18.38

Description Morgan Leijström 2020-12-07 16:40:57 CET
Description of problem:

Getting to know this wonderful tool, i started with
https://wiki.mageia.org/en/Draklive2#Example_1_:_Xfce_Live_ISO

I only changed, in settings.cfg, to i586, and the repo to my favourite:

repository=http://ftp.acc.umu.se/mirror/mageia/distrib/7

But that fail on an unexpected way:
$ LC_ALL=C draklive2 --clean --all
Using /home/morgan/LiveISO/xfce as directory root
Loaded /home/morgan/LiveISO/xfce/config/build.cfg as config file
=== proceeding with region "all"
* entering step "clean"
* step "clean" done
* entering step "root"
Installing Live system
mount: /home/morgan/LiveISO/xfce/Mageia-7-Live-Xfce-i586/chroot/tmp/stage2: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.
ERROR: failed to mount /home/morgan/LiveISO/xfce/Mageia-7-Live-Xfce-i586/chroot/tmp/mdkinst.sqfs on /home/morgan/LiveISO/xfce/Mageia-7-Live-Xfce-i586/chroot/tmp/stage2

----

Also tsinghua mirror make it fail, but with another error:

repository=https://mirrors.tuna.tsinghua.edu.cn/mageia/distrib/7

* step "clean" done
* entering step "root"
Installing Live system
ERROR: failed to find installer stage2

But i can download https://mirrors.tuna.tsinghua.edu.cn/mageia/distrib/7/i586/install/stage2/mdkinst.sqfs

---

For reference, the following all works
# repository=http://mirrors.kernel.org/mageia/distrib/7
# repository=http://ftp5.gwdg.de/pub/linux/mageia/distrib/7
# repository=http://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/7
# repository=http://mageia.mirror.triple-it.nl/distrib/7/
# repository=http://mirror.rise.ph/mageia/distrib/7/

I have not tried the rest


Version-Release number of selected component (if applicable):
drakiso-1.12-1.mga7.src.rpm

How reproducible: tried twice both problematic mirror URLs
Morgan Leijström 2020-12-07 16:41:54 CET

CC: (none) => mageia

Comment 1 Martin Whitaker 2020-12-07 18:21:27 CET
I'll try to fix this.

Whiteboard: (none) => MGA7TOO
Summary: Draklive2 errors out strangely using some mirrors => Draklive2 does not support https in the repository URL
Version: 7 => Cauldron
Assignee: bugsquad => mageia

Comment 2 Martin Whitaker 2022-08-09 23:34:39 CEST
This was fixed before Mageia 8 was released, but not backported to Mageia 7. I've just confirmed this using https://mirrorservice.org/sites/mageia.org/pub/mageia/distrib/8

Status comment: (none) => fixed in drakiso-1.16 and drakx-installler-stage2-18.38
Resolution: (none) => FIXED
Status: NEW => RESOLVED