Bug 4471

Summary: Mageia 2 A3 install pulls in unwanted services
Product: Mageia Reporter: Juergen Harms <juergen.harms>
Component: InstallerAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: dmorganec, mageia, marja11
Version: CauldronKeywords: NEEDINFO
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: /root/drakx/report.bug.gz from my system
file with list of required packages
file illustrating the presence of the unwanted services during the boot process

Description Juergen Harms 2012-02-10 21:09:02 CET
Description of problem:

Cauldron sysinstall brings in packages that are not needed and have not been asked for: the result of a discussion in the Mageia-discuss ML, trying to understand why a Mageia 2 A3 system takes 60 seconds to boot, while Mageia 1 does it in 20.

In the course of this ML discussion, it was suggested that I produce a systemd-boot-plot.svg (see attachment). Conclusion: network-up.service and mandriva-everytime.service are the main time consumers; some non-necessary services installed - the issue of this report:
- speech-dispatcherd.service
- portreserve.service
both have not been explicitly required

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


How reproducible:
each time I do a fresh install


Steps to Reproduce:
1. Fresh install of Mageia 2 from the Alpha 3 dvd iso
2. boot the system
3. use rpm -q to check presence of "speech-dispatcher" and "portreserve"

The package-list in my system has been configured in a reproducible way:  
- custom install from an DVD boot-iso (no supplementary media)
- all groups except "KDE workstation" unchecked
- additional packages were installed during the initial session - 1st boot after system install (and after updating the already installed packages): the list of packages to be additionally installed was produced by a script that compares the output of "rpm -qa" with a file containing a list of "required packages" (see attachment).

Sorry if this sounds tiresome - but bootstrapping time appears to be a serious issue in Mageia 2.

Attachments:
- /root/drakx/report.bug.gz
- "package_list.pl" my file that contains the list of required packages (this is not the one at /root/drakx, resp. has been edited way back from such a file)
- output of systemd-analyze plot > systemd-boot-plot.svg
Comment 1 Juergen Harms 2012-02-10 21:23:20 CET
Created attachment 1523 [details]
/root/drakx/report.bug.gz from my system
Comment 2 Juergen Harms 2012-02-10 21:27:12 CET
Created attachment 1524 [details]
file with list of required packages

This file uses the format of /root/drakx/package_list.pl, but has been edited to contain only those files I want to be sure to have on my system. It uses pragmas (the format is evident) to allow using it with different platforms/ releases.
Comment 3 Juergen Harms 2012-02-10 21:29:53 CET
Created attachment 1525 [details]
file illustrating the presence of the unwanted services during the boot process
Comment 4 Marja Van Waes 2012-03-29 21:37:17 CEST
@ Jürgen,

Sorry we missed this bug :/

Is it still valid for Mga2b2?

Keywords: (none) => NEEDINFO
CC: (none) => dmorganec, mageia, marja11

Comment 5 Juergen Harms 2012-03-30 09:04:10 CEST
Will do, but might take some time (using what rests of this splendid pre-summer to put my garden up to speed ...)
Comment 6 Marja Van Waes 2012-04-14 22:07:49 CEST
(In reply to comment #4)
> @ Jürgen,
> 
> Sorry we missed this bug :/
> 
> Is it still valid for Mga2b2?

(In reply to comment #5)
> Will do, but might take some time (using what rests of this splendid pre-summer
> to put my garden up to speed ...)

Please wait a few days and try Mga2b3, then
Comment 7 Juergen Harms 2012-04-19 10:12:34 CEST
I now watched closely what happens when I install/customize my Beta 3 system:
Both packages are not included by the installer, but are pulled in as dependencies when I post-load my additional packages

- portreserve is pulled is by cups - hence, it is really needed
- speech-dispatcherd.service is pulled in by "konversation" which I in fact do require to be post loaded - I will kick that out.

Hence: (a) this is not at all an installer problem, (b) a user problem and not a bug, and (c) sorry - I should have done more exploring before submitting this bug - it can be closed.
Comment 8 Colin Guthrie 2012-04-19 11:04:34 CEST
FWIW, portreserve is not really needed by cups under systemd. It's only used under sysvinit. We sadly don't really have a packaging mechanism to deal with that tho'. 

It should now be a masked service under systemd. i.e. portreserve will not run.

It will likely be completely dropped as a package from mga3 (systemd can do this sort of thing natively and in a much more useful way).

Technically speech-dispatcher is not needed by konversation. it's likely brought in by jovie which I belive konversation can to do text-to-speech stuff.

Anyway, like you say it's resolved.

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