Bug 27648 - DrakX should not enable DM/LVM services by default after installation if not required
Summary: DrakX should not enable DM/LVM services by default after installation if not ...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: Mageia 8
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 26901
  Show dependency treegraph
 
Reported: 2020-11-22 16:40 CET by Aurelien Oudelet
Modified: 2021-02-23 15:07 CET (History)
1 user (show)

See Also:
Source RPM: drakx-installer-stage2-18.45-1.mga8
CVE:
Status comment:


Attachments

Description Aurelien Oudelet 2020-11-22 16:40:04 CET
DrakX should not enable DM/LVM service by default after installation if not required.

When installing Mageia, if no dmraid/LVM device has been set, detected, found,
all services related to dmraid, lvm,... should be disabled.

List:
Name:                        STATE           VENDOR-PRESET
dmraid-activation.service    enabled         enabled
lvm2-monitor.service         enabled         enabled    
mdadm.service                alias           -            
mdmonitor-takeover.service   enabled         enabled      
mdmonitor.service            enabled         enabled

These unnecessary services should be disabled after installation.

Efficiency:
no more Bug 26901.
no delayed boot to look for what doesn't exist.


Assigning to Mageia Tools Maintainers.
Comment 1 Thierry Vignaud 2020-12-31 10:48:06 CET
The installer only installs lvm2 if needed.
However some other packages might pull it as dependencies…
I've a local patch for that though, which I'll test
Comment 2 Aurelien Oudelet 2021-01-08 17:54:05 CET Comment hidden (obsolete)
Comment 3 Aurelien Oudelet 2021-02-23 15:06:11 CET
I am not against having tools like lvm2, dmraid installed.

I think that only matter is to have the minimum of service launched at boot time.
I do think a solution could be to only activate such services if they are required.

dmraid-activation.service    enabled         enabled
lvm2-monitor.service         enabled         enabled    
mdadm.service                alias           -            
mdmonitor-takeover.service   enabled         enabled      
mdmonitor.service            enabled         enabled

It could be done at installation time as the "resumé" of installation purposes a list of already activated service. Per administrator-basis (the user who installs Mageia) he can already deactivate such unnecessary services but this is beyond the scope of average user.
Aurelien Oudelet 2021-02-23 15:07:34 CET

Blocks: (none) => 26901
Source RPM: drakx-installer-images-2.75-5.mga8.src.rpm => drakx-installer-stage2-18.45-1.mga8


Note You need to log in before you can comment on or make changes to this bug.