Bug 8335

Summary: After live cd install, on first reboot, adding repositories fails on real HW (Undefined subroutine &services::start called at /usr/sbin/finish-install line 109)
Product: Mageia Reporter: Dave Hodgins <davidwhodgins>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: mageia
Version: CauldronKeywords: PATCH
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: 3beta1
Source RPM: drakxtools-14.50-1.mga3 CVE:
Status comment:
Attachments: Patch to add require services to finish-install

Description Dave Hodgins 2012-12-09 01:25:21 CET
If I'm reading the code correctly,
/usr/sbin/finish-install
needs to have a line added with
require services;

In a vb install, where it works, journalctl shows ...
Dec 08 18:53:11 localhost finish-install[1791]: calling ask_network
Dec 08 18:53:11 localhost finish-install[1791]: calling ask_urpmi

On a real hardware install, where it fails, journalctl shows ...
Dec 08 18:35:05 localhost finish-install[1845]: calling ask_network
Dec 08 18:35:05 localhost finish-install[1845]: ask_network failed: Undefined subroutine &services::start called at /usr/sbin/finish-install line 109.
Dec 08 18:35:05 localhost finish-install[1845]: calling ask_urpmi

Why it's working in a vb install, I have no idea.
Dave Hodgins 2012-12-09 01:25:41 CET

Whiteboard: (none) => 3beta1

Comment 1 Dave Hodgins 2012-12-09 03:15:54 CET
Created attachment 3217 [details]
Patch to add require services to finish-install

I've confirmed that applying the attached patch, while running from a live iso,
before installing to the hard drive, fixes the problem.
Manuel Hiebel 2012-12-09 12:45:03 CET

Keywords: (none) => PATCH
Source RPM: drakx-finish-install-14.50-1.mga3 => drakxtools-14.50-1.mga3

Thierry Vignaud 2012-12-09 15:20:43 CET

CC: (none) => mageia
Summary: After live cd install, on first reboot, adding repositories fails on real hardware. => After live cd install, on first reboot, adding repositories fails on real HW (Undefined subroutine &services::start called at /usr/sbin/finish-install line 109)

Comment 2 Thierry Vignaud 2012-12-09 15:25:24 CET
Thx!!! Fixed in SVN (and credited to you)

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