Bug 28540 - Missing dependency on a polkit agent under default iceWM only session.
Summary: Missing dependency on a polkit agent under default iceWM only session.
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: Mageia 9
Assignee: All Packagers
QA Contact:
URL:
Whiteboard: MGA8TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-06 08:07 CET by Sébastien Morin
Modified: 2021-05-08 16:47 CEST (History)
4 users (show)

See Also:
Source RPM: icewm-2.0.1-2.mga8.src.rpm, afterstep-2.2.12-19.mga8.src.rpm
CVE:
Status comment: When user select Other Desktops, and later choose afterstep or any other one, there is no polkit agent installed


Attachments
Screenshot showing the error message in a terminal (349.69 KB, image/png)
2021-03-06 08:08 CET, Sébastien Morin
Details
Afterstep VM session (652.54 KB, image/png)
2021-05-08 16:23 CEST, Aurelien Oudelet
Details

Description Sébastien Morin 2021-03-06 08:07:02 CET
Description of problem:

Installing Afterstep from IceWM makes the MCC icon (in IceWM) inactive.

Version-Release number of selected component (if applicable):
afterstep-2.2.12-19.mga8

How reproducible: From 2 different installs.


Steps to Reproduce (1st method):
1. Install Mageia 8 from Mageia-8-x86_64.iso
2. When you reach Desktop Selection, choose Custom, then untick Plasma and tick Other Graphical Desktop. Finish the install without updates.
3. Reboot to IceWM after the install and see that the MCC icon in the taskbar launches the program correctly.
4. Install online media, then install afterstep.
5. Try to reboot to Afterstep and fall back to IceWM.
6. See that the MCC icon in the IceWM taskbar has become unresponsive.
7. Run drakconf in a terminal and see the same error message as in the screenshot attached (sorry, I couldn't copy/paste that).


2nd method :
Do the same, except when you reach Desktop Selection: go a step further and tick Individual package selection to select afterstep directly from the list.
When the install is finished and you reboot to IceWM, the MCC icon is already unresponsive.
Comment 1 Sébastien Morin 2021-03-06 08:08:54 CET
Created attachment 12426 [details]
Screenshot showing the error message in a terminal

Running MCC from a terminal with afterstep package installed.
Comment 2 Aurelien Oudelet 2021-03-06 11:49:51 CET
Hi, thanks reporting this.

As far as I see, I think that only root owned Applications are unresponsive under Afterstep.

Do other Applications run well under Afterstep session? Or they are also broken?

Status: NEW => NEEDINFO
Summary: Afterstep messes up with MCC => Mageia Control Centre unresponsive under Afterstep VM
CC: (none) => ouaurelien

Aurelien Oudelet 2021-03-06 11:54:01 CET

Summary: Mageia Control Centre unresponsive under Afterstep VM => Mageia Control Centre unresponsive under Afterstep Window Manager

Morgan Leijström 2021-03-06 13:00:13 CET

CC: (none) => fri

Comment 3 Sébastien Morin 2021-03-07 09:06:17 CET
I'm not familiar with afterstep, but it seems all the applications installed by default are working, except the MCC.
Also, I'm not convinced that I'm actually running afterstep… it looks like this is still IceWM, but I may be wrong.
Aurelien Oudelet 2021-03-21 18:06:33 CET

Assignee: bugsquad => ouaurelien
Status: NEEDINFO => NEW

Comment 4 Aurelien Oudelet 2021-05-08 16:23:11 CEST
Created attachment 12707 [details]
Afterstep VM session

Screenshot of AfterStep session.

MCC is *not* in any Menu section to be find under AfterStep.

(Remark: in order to get this session, I have to install lightdm and select it to be the preferred Desktop Manager, and to be able to have AfterStep session. XDM seems to not let user to select graphically the session to log on).


Going back to the root of this bug report, it seems there is missing graphical polkit elevator to be able to run GUI apps as root.

But, you can run them as soon as you type their name under a terminal GUI as root.
Under iceWM and AfterStep I am able to launch MCC.

The way to get it running is FAR from being user-friendly. But, these "Desktops/WM" are also non user-friendly at their origins.
Comment 5 Aurelien Oudelet 2021-05-08 16:38:01 CEST
On a Plasma installation, there is a iceWM fallback session available.
Under this session, I am able to load MCC with a polkit dialog asking for credentials. This is polkit-mate-authentication-agent-1...

polkit-mate-authentication-agent is missing when you install only 
afterstep and default selection of packages with no other major Desktop.

So, this is a missing dependency on mate-polkit-1.24.0-4 package which should always be installed with iceWM session.

A polkit agent is mandatory to launch MCC with desktop icon.

Assigning this to Cauldron, with MGA8TOO, to maintainers.

Target Milestone: --- => Mageia 9
Summary: Mageia Control Centre unresponsive under Afterstep Window Manager => Missing dependency on a polkit agent under default iceWM only session.
Source RPM: afterstep-2.2.12-19.mga8 => icewm-2.0.1-2.mga8.src.rpm, mate-polkit-1.24.0-4.mga8.src.rpm
CC: (none) => luigiwalser, smelror
Whiteboard: (none) => MGA8TOO
Status comment: (none) => When user select Other Desktops, and later choose afterstep or any other one, there is no polkit agent installed
Version: 8 => Cauldron
Assignee: ouaurelien => pkg-bugs

David Walser 2021-05-08 16:44:57 CEST

Source RPM: icewm-2.0.1-2.mga8.src.rpm, mate-polkit-1.24.0-4.mga8.src.rpm => icewm-2.0.1-2.mga8.src.rpm, afterstep-2.2.12-19.mga8.src.rpm

Comment 6 David Walser 2021-05-08 16:47:41 CEST
Note that icewm-light already does require mate-polkit.  Check installation logs to see why it's not getting installed.

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