Bug 4680

Summary: In a standard installation msec is missed
Product: Mageia Reporter: Kamil Rytarowski <n54>
Component: InstallerAssignee: D Morgan <dmorganec>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: msec CVE:
Status comment:
Attachments: ddebug.log of the network (beta1) installation
report.bug.gz from minimal install with beta 2 where msec did not get installed.

Description Kamil Rytarowski 2012-02-24 15:52:26 CET
Description of problem:
I have just done a standard installation for a server, selected packages:
- console tools
- documentation
- work station
- configuration
- manual selection of packages -> openssh-server

Then there is a configuration window for msec (security levels), and I can't select the server one, there is an error of a missing msec file.

Steps to Reproduce:
1. Put boot.iso from Cauldron
2. Install selected (groups of) packages
3. Try to configure msec
Comment 1 Manuel Hiebel 2012-02-24 19:48:00 CET
You mean in the summary ?
Comment 2 Kamil Rytarowski 2012-02-24 20:27:04 CET
The package is absent.
Comment 3 Manuel Hiebel 2012-02-24 20:43:26 CET
no [1] so can you explain a bit more ?

http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/iso/cauldron/Mageia-2-beta1-x86_64/Mageia-2-beta1-x86_64-DVD.idx

Keywords: (none) => NEEDINFO

Comment 4 Kamil Rytarowski 2012-02-27 14:52:44 CET
Created attachment 1648 [details]
ddebug.log of the network (beta1) installation
Comment 5 Kamil Rytarowski 2012-02-27 14:56:52 CET
* requested mgaonline, msec-gui, transfugdrake, rpmdrake, system-config-printer, drakguard, drakmenustyle suggested by drakconf-12.22.1-2.mga2.noarch
* selecting msec-gui-0.80.10-10.mga2.x86_64
* requiring msec for msec-gui-0.80.10-10.mga2.x86_64
* selecting msec-0.80.10-10.mga2.x86_64

....

* requested kjots-handbook suggested by kjots-4.8.0-1.mga2.x86_64
* requested kleopatra-handbook suggested by kleopatra-4.8.0-1.mga2.x86_64
* requested sudo, nss_wins suggested by cifs-utils-4.9-1.mga2.x86_64
* selecting sudo-1.8.3p2-1.mga2.x86_64
* selecting nss_wins-3.6.3-1.mga2.x86_64
* requested scim-bridge-gtk suggested by scim-bridge-0.4.16-6.mga1.x86_64
* selecting scim-bridge-gtk-0.4.16-6.mga1.x86_64
* requested scim-gtk suggested by scim-1.4.11-1.mga2.x86_64
* selecting scim-gtk-1.4.11-1.mga2.x86_64
* ERROR: selection failed: 
* unselecting ksnapshot-4.8.0-1.mga2.x86_64
* unselecting kipi-common-4.8.0-1.mga2.noarch
* unselecting lib64xfixes3-5.0-2.mga2.x86_64

...

* unselecting msec-gui-0.80.10-10.mga2.x86_64
* unselecting msec-0.80.10-10.mga2.x86_64

...

* packageCallbackChoices: default choice ('msec-gui') from msec-gui,msec-gui for msec-gui

...
Comment 6 Kamil Rytarowski 2012-02-27 14:57:42 CET
I will check if this is reproductable.
Comment 7 Manuel Hiebel 2012-02-27 15:06:41 CET
What was your choice (DE or groups) ?

with gnome and the iso of the beta, here both msec & msec-gui is installed

(and msec is in the rpmsrate so should be installed)
Comment 8 Dave Hodgins 2012-02-27 21:24:10 CET
Looks like msec was not installed due to a urpmi cascade error.

The initial error is the attempt to select plasma-applet-kimpanel-backend-scim
which is not listed in
http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/iso/cauldron/Mageia-2-beta1-x86_64/Mageia-2-beta1-x86_64-DVD.idx

There are no packages listed with scim in the name.

Once that selection fails, all remaining packages in that urpmi transaction
also fail to install.

CC: (none) => davidwhodgins

Comment 9 Dave Hodgins 2012-03-14 08:12:17 CET
Created attachment 1758 [details]
report.bug.gz from minimal install with beta 2 where msec did not get installed.

Wile trying out a workaround for Bug 4919, I did an install where I
only selected Configuration and Console tools.

During the summary, I clicked on the graphics card configuration,
which installed the x server.

In the security config, I entered a login id, and it failed with
error: output in file /mnt/etc/security/msec/security.conf failed: No such file or directory

While msecgui should not be installed if there is no x server, msec
should be installed, as I understand it.
Comment 10 Manuel Hiebel 2012-03-15 00:00:31 CET
indeed, and according to the rpmsrate msec should be installed:
INSTALL
  NOCOPY
    5 ...
      i8kutils perl-Hal-Cdroms msec 

or I don't understand this part

Keywords: NEEDINFO => (none)
CC: (none) => thierry.vignaud
Assignee: bugsquad => dmorganec

Comment 11 Thierry Vignaud 2012-03-15 06:24:25 CET
You don't :-)
INSTALL's packages are only ensured to be on the install CD but won't be automatically selected.
That's the job of other package requires
msec is pulled by drakconf through msec-gui
Comment 12 Kamil Rytarowski 2012-03-15 15:33:43 CET
(In reply to comment #7)
> What was your choice (DE or groups) ?
- console tools
- documentation
- work station
- configuration
- manual selection of packages -> openssh-server

without DE
> 
> with gnome and the iso of the beta, here both msec & msec-gui is installed
It was from boot.iso
> 
> (and msec is in the rpmsrate so should be installed)
Comment 13 Thierry Vignaud 2012-03-15 17:32:03 CET
Again there's nothing in rpmsrate that would result in msec to be installed.
Reread what I wrote in comment #11: this only make it to _be_ on the install DVD, not to be autoselected for install.
Comment 14 Thierry Vignaud 2012-03-15 17:34:42 CET
Most of it is later selected depending on HW, if network is set up, ...
BTW I thin we miss sg to install msec when altering security.
Comment 15 Kamil Rytarowski 2012-03-20 14:38:54 CET
(In reply to comment #13)
> Again there's nothing in rpmsrate that would result in msec to be installed.
> Reread what I wrote in comment #11: this only make it to _be_ on the install
> DVD, not to be autoselected for install.

Hi! But why there is a msec configuration tool in the installer? Even if it's not installed.
Comment 16 Thierry Vignaud 2012-04-05 16:11:55 CEST
that's point is fixed in git
Comment 17 Kamil Rytarowski 2012-04-05 20:45:24 CEST
(In reply to comment #16)
> that's point is fixed in git

OK, then it can be closed as resolved. Thank you!
Comment 18 Thierry Vignaud 2012-04-05 23:41:07 CEST
Note that itt's solved as in "not offering to select the security level" if msec is not installed, not as "installing msec if needed" which would be better
Comment 19 Kamil Rytarowski 2012-04-06 01:31:08 CEST
(In reply to comment #18)
> Note that itt's solved as in "not offering to select the security level" if
> msec is not installed, not as "installing msec if needed" which would be better

For me it's sufficient.

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