Bug 24933 - after adding online media sources via Mageia Welcome, mgaapplet reports "no medium found" on GDM
Summary: after adding online media sources via Mageia Welcome, mgaapplet reports "no m...
Status: RESOLVED DUPLICATE of bug 24636
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: release_blocker normal
Target Milestone: Mageia 7
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: 7RC
Depends on:
Blocks:
 
Reported: 2019-06-07 23:49 CEST by Ben McMonagle
Modified: 2019-06-10 10:04 CEST (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Ben McMonagle 2019-06-07 23:49:00 CEST
Description of problem: at first run, using Mageia Welcome , if "Media sources" tab is used to add online media, after a few minutes mgaapplet reports "no medium found...,".
running #urpmi --auto-update will list all enabled media
after a reboot the same.
clicking mga applet (and entering admin password) brings up the list of enabled on-line media. if you now remove the on-line media and re-add on-line media, and exit the window, the mgaapplet does a recheck and disappears.
reboot and it is still ok.
if you now remove the on-line media (method of your choice) and again re-use the Mageia Welcome "Media Sources", the issue reccurs  

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

How reproducible: different installs, different hardware


Steps to Reproduce:
1. install all DE from x86_64 RC CI .iso
2.setup online media via Mageia Welcome "Media Sources" tab
3.wait for mgaapplet to report "no medium found"
Ben McMonagle 2019-06-07 23:49:19 CEST

Keywords: (none) => 7RC
Priority: Normal => release_blocker
Target Milestone: --- => Mageia 7

Ben McMonagle 2019-06-07 23:49:35 CEST

Summary: when adding online media sources via Mageia Welcome, mgaapplet reports "no medium found" => after adding online media sources via Mageia Welcome, mgaapplet reports "no medium found"

Ben McMonagle 2019-06-08 02:49:52 CEST

Summary: after adding online media sources via Mageia Welcome, mgaapplet reports "no medium found" => after adding online media sources via Mageia Welcome, mgaapplet reports "no medium found" on Wayland

Ben McMonagle 2019-06-08 08:20:21 CEST

Summary: after adding online media sources via Mageia Welcome, mgaapplet reports "no medium found" on Wayland => after adding online media sources via Mageia Welcome, mgaapplet reports "no medium found" on GDM

Comment 1 Martin Whitaker 2019-06-09 22:03:52 CEST
Already reported in bug 24636. I was uncertain whether to make it a release blocker, but if you want to raise its priority, please do.

*** This bug has been marked as a duplicate of bug 24636 ***

CC: (none) => mageia
Resolution: (none) => DUPLICATE
Status: NEW => RESOLVED

Comment 2 Ben McMonagle 2019-06-09 22:18:53 CEST
24636 is different, and seems to be resolved.
this one seems to be hardware related, in that 2 of my test laptops (hp 8510w and compaq c700) exhibit the issue, my toshiba and chromebooks do not.
the issue only seems to occur when adding on-line media from Mageia Welcome.


more info:
right clicking the mgaapplet to bring up the on-line media list and then closing it again is enough to fix the issue.
Comment 3 Martin Whitaker 2019-06-09 22:29:19 CEST
Can you check the permissions in /var/lib/urpmi when the issue occurs. If the directories are all world readable/executable, then it is indeed a different bug, and you should reopen this one. But in trying to reproduce it, all I see is bug 24636.
Comment 4 Ben McMonagle 2019-06-09 22:38:21 CEST
sorry Martin, not sure how.

command for that would be?
Comment 5 Martin Whitaker 2019-06-09 22:57:36 CEST
Command is

  ls -l /var/lib/urpmi

If the permissions are

  drwxr-x---

then mgaapplet won't be able to read them.

Note that bug 24636 only occurs if you run MageiaWelcome or MCC from the menu. If you start them from the command line, all is OK.
Comment 6 Ben McMonagle 2019-06-10 08:36:52 CEST
(In reply to Martin Whitaker from comment #5)
> Command is
> 
>   ls -l /var/lib/urpmi
> 
> If the permissions are
> 
>   drwxr-x---
> 
sorry for the long reply:
this is after adding on-line media via Mageia Welcome.
(I deleted them prior via MCC)

$ ls -l /var/lib/urpmi
total 180
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Core 32bit Backports (distrib34)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Core 32bit Backports Testing (distrib35)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Core 32bit Release (distrib31)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Core 32bit Updates (distrib32)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Core 32bit Updates Testing (distrib33)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Core Backports Debug (distrib8)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Core Backports (distrib7)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Core Backports Testing Debug (distrib10)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Core Backports Testing (distrib9)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Core Release Debug (distrib2)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Core Release (distrib1)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Core Updates Debug (distrib4)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Core Updates (distrib3)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Core Updates Testing Debug (distrib6)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Core Updates Testing (distrib5)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Nonfree 32bit Backports (distrib39)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Nonfree 32bit Backports Testing (distrib40)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Nonfree 32bit Release (distrib36)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Nonfree 32bit Updates (distrib37)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Nonfree 32bit Updates Testing (distrib38)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Nonfree Backports Debug (distrib18)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Nonfree Backports (distrib17)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Nonfree Backports Testing Debug (distrib20)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Nonfree Backports Testing (distrib19)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Nonfree Release Debug (distrib12)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Nonfree Release (distrib11)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Nonfree Updates Debug (distrib14)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Nonfree Updates (distrib13)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Nonfree Updates Testing Debug (distrib16)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Nonfree Updates Testing (distrib15)'/
drwxr-x--- 2 root root 4096 Jun 10 06:32 'Tainted 32bit Backports (distrib44)'/
drwxr-x--- 2 root root 4096 Jun 10 06:32 'Tainted 32bit Backports Testing (distrib45)'/
drwxr-x--- 2 root root 4096 Jun 10 06:32 'Tainted 32bit Release (distrib41)'/
drwxr-x--- 2 root root 4096 Jun 10 06:32 'Tainted 32bit Updates (distrib42)'/
drwxr-x--- 2 root root 4096 Jun 10 06:32 'Tainted 32bit Updates Testing (distrib43)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Tainted Backports Debug (distrib28)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Tainted Backports (distrib27)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Tainted Backports Testing Debug (distrib30)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Tainted Backports Testing (distrib29)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Tainted Release Debug (distrib22)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Tainted Release (distrib21)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Tainted Updates Debug (distrib24)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Tainted Updates (distrib23)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Tainted Updates Testing Debug (distrib26)'/
drwxr-x--- 2 root root 4096 Jun 10 06:31 'Tainted Updates Testing (distrib25)'/
Comment 7 Ben McMonagle 2019-06-10 08:41:18 CEST
this is a few minutes later after removing and adding the on-line media via mgaapplet

$ ls -l /var/lib/urpmi
total 180
drwxr-xr-x 2 root root 4096 Jun 10 06:40 'Core 32bit Backports (distrib34)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:40 'Core 32bit Backports Testing (distrib35)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:40 'Core 32bit Release (distrib31)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:40 'Core 32bit Updates (distrib32)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:40 'Core 32bit Updates Testing (distrib33)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Core Backports Debug (distrib8)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Core Backports (distrib7)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Core Backports Testing Debug (distrib10)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Core Backports Testing (distrib9)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Core Release Debug (distrib2)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Core Release (distrib1)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Core Updates Debug (distrib4)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Core Updates (distrib3)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Core Updates Testing Debug (distrib6)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Core Updates Testing (distrib5)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:40 'Nonfree 32bit Backports (distrib39)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:40 'Nonfree 32bit Backports Testing (distrib40)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:40 'Nonfree 32bit Release (distrib36)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:40 'Nonfree 32bit Updates (distrib37)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:40 'Nonfree 32bit Updates Testing (distrib38)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Nonfree Backports Debug (distrib18)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Nonfree Backports (distrib17)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Nonfree Backports Testing Debug (distrib20)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Nonfree Backports Testing (distrib19)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Nonfree Release Debug (distrib12)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Nonfree Release (distrib11)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Nonfree Updates Debug (distrib14)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Nonfree Updates (distrib13)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Nonfree Updates Testing Debug (distrib16)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Nonfree Updates Testing (distrib15)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:40 'Tainted 32bit Backports (distrib44)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:40 'Tainted 32bit Backports Testing (distrib45)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:40 'Tainted 32bit Release (distrib41)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:40 'Tainted 32bit Updates (distrib42)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:40 'Tainted 32bit Updates Testing (distrib43)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Tainted Backports Debug (distrib28)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Tainted Backports (distrib27)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Tainted Backports Testing Debug (distrib30)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Tainted Backports Testing (distrib29)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Tainted Release Debug (distrib22)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Tainted Release (distrib21)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Tainted Updates Debug (distrib24)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Tainted Updates (distrib23)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Tainted Updates Testing Debug (distrib26)'/
drwxr-xr-x 2 root root 4096 Jun 10 06:39 'Tainted Updates Testing (distrib25)'/
Comment 8 Ben McMonagle 2019-06-10 08:58:42 CEST
sorry for doubting you.

just added online-media via MCC and same problem.

the question is, why when added via mgaapplet does it work correctly?
Comment 9 Martin Whitaker 2019-06-10 10:04:06 CEST
(In reply to ben mcmonagle from comment #8)
> sorry for doubting you.

No worries. It's a confusing bug, because the behaviour changes depending on how the tool was started.

> just added online-media via MCC and same problem.
> 
> the question is, why when added via mgaapplet does it work correctly?

The bug is occurring because the user file-creation mask (umask) is set differently for programs started via the menu than for programs started via the command line. mgaapplet is run as a startup application, so I guess that gets the same umask as when started from the command line.

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