Bug 27046 - Drakxservices shows only stopped services since systemd 246
Summary: Drakxservices shows only stopped services since systemd 246
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: release_blocker critical
Target Milestone: Mageia 8
Assignee: Mageia tools maintainers
QA Contact:
: 27087 27109 (view as bug list)
Depends on:
Blocks: 27109
  Show dependency treegraph
Reported: 2020-08-05 10:35 CEST by Aurelien Oudelet
Modified: 2020-08-20 08:57 CEST (History)
3 users (show)

See Also:
Source RPM: drakxtools-18.32-1.mga8.src.rpm
Status comment:

only stopped services shown (96.82 KB, image/png)
2020-08-05 10:35 CEST, Aurelien Oudelet

Description Aurelien Oudelet 2020-08-05 10:35:54 CEST
Created attachment 11786 [details]
only stopped services shown

In current updated Mageia 8 Cauldron,

Drakxservices does not show all services units in GUI. It lists only stopped services.

See attached screenshot.

How to reproduce:
1. Run MCC on Cauldron with all packages updated.
2. Run Services in System tab.
3. See only current stopped services units.

I think this bug appears after systemd 246 was installed on this system.
but I am not 100% sure.

Installed Mageia 8 from Alpha 1 (without updating it) was not affected.
Comment 1 Aurelien Oudelet 2020-08-05 11:12:40 CEST
Edition: Reinstalling freshly with Mageia 8 beta 1 Classic ISO

Bug is not present. Packages are not updated. They are in beta ISO state.

urpmq -i systemd :

David Walser 2020-08-05 17:40:53 CEST

Assignee: bugsquad => mageiatools

Comment 2 Aurelien Oudelet 2020-08-07 21:31:10 CEST
I managed to install all available updates in mgaapplet without:


Bug is not present.
I will backup my root partition and apply it to retest.
Comment 3 Pascal Terjan 2020-08-07 21:49:26 CEST
Looking at the code it does:

/bin/systemctl --no-legend --no-pager --full --all list-units

Looking at changes in systemd 246 it says:

        * "systemctl list-units" and "systemctl list-machines" no longer hide
          their first output column with --no-legend. To hide the first column,
          use --plain.

So I guess it broke the parsing of the output

CC: (none) => pterjan

Comment 4 Pascal Terjan 2020-08-07 22:15:41 CEST
I can confirm --plain restores old output , else we now get either some spaces or some orange or red dots in case of problems with the services.

The code looks like it should allow spaces, so I am not sure why it breaks, but adding --plain seems like a good idea if this is not for human consumption.
Comment 5 Pascal Terjan 2020-08-07 22:29:26 CEST
This should be fixed in next drakx by https://gitweb.mageia.org/software/drakx/commit/?id=4846df45d24880a8b4d0ca82b2d179b17b4e80c2
Comment 6 Aurelien Oudelet 2020-08-10 15:39:36 CEST
This new version will be proposed in Cauldron before beta 2?
David Walser 2020-08-12 17:06:04 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=27087

Comment 7 Aurelien Oudelet 2020-08-12 17:10:15 CEST
*** Bug 27087 has been marked as a duplicate of this bug. ***

CC: (none) => wilcal.int

Comment 8 Aurelien Oudelet 2020-08-14 15:29:52 CEST
*** Bug 27109 has been marked as a duplicate of this bug. ***

Blocks: (none) => 27109
CC: (none) => alfredo.vogel

Comment 9 Aurelien Oudelet 2020-08-20 08:57:01 CEST
This is resolved by latest drakxtools-18.33-1.mga8

Services are well displayed and also configure them.
No longer latency on display tools that require listing systemd units.
Closing this.

Resolution: (none) => FIXED

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