Bug 17236 - drakconf crashes in Live Plasma5 desktop b/c gsettings-desktop-schemas is not pulled by libgtk+[23]
Summary: drakconf crashes in Live Plasma5 desktop b/c gsettings-desktop-schemas is not...
Status: RESOLVED DUPLICATE of bug 17217
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: High major
Target Milestone: ---
Assignee: Olav Vitters
QA Contact:
URL:
Whiteboard: 6dev1
Keywords:
: 17247 17382 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-11-27 01:05 CET by Len Lawrence
Modified: 2015-12-23 10:15 CET (History)
8 users (show)

See Also:
Source RPM: gtk+2.0, gtk+3.0
CVE:
Status comment:


Attachments
mga6-dev1_Package installation screen in installer (97.12 KB, image/png)
2015-12-07 18:03 CET, Atilla ÖNTAŞ
Details
a method for fixing Live Plasma5 x86 MCC crash (1.67 KB, text/plain)
2015-12-08 20:03 CET, Ben McMonagle
Details

Description Len Lawrence 2015-11-27 01:05:22 CET
Description of problem:
6dev1 : x86_64 : Live Plasma5 : Legacy boot

MCC crashes with the following report:
"/usr/sbin/drakmenustyle" is not executable [Menus] at /usr/libexec/drakconf line 831
"/usr/sbin/drakbackup" is not executable [Backups] at /usr/libexec/drakconf line 831
"/usr/sbin/tomoyo-gui" is not executable [Tomoyo Policy] at /usr/libexec/drakconf line 831

(drakconf:20762): Glib-GIO-ERROR xx: No GSettings schemas are installed on the system


Version-Release number of selected component (if applicable):
drakconf-12.60-2.mga6

How reproducible:


Steps to Reproduce:
1.
2.
3.


Reproducible: 

Steps to Reproduce:
Comment 1 Len Lawrence 2015-11-27 01:07:39 CET
Not sure if that should have been labelled critical given that mcc is a wrapper for system utilities.
Comment 2 Len Lawrence 2015-11-27 11:38:03 CET
benmc has pointed out that this problem has to do with the necessity of starting the desktop as root in the absence of a login/display manager in the 6dev1 Plasma Live install.  His fix was to urpme drakconf, update the media and reinstall drakconf.  That somehow gets past the Glib-GIO-ERROR.

Not sure what the status of this bug is now.
Comment 3 Thierry Vignaud 2015-11-30 13:07:17 CET
This must be fixed in lib{,64}gtk+[23].
Both should pulls the needed glib stuff.
Else pulling gimp on Plasma5 would fail too...

CC: (none) => thierry.vignaud
Assignee: bugsquad => olav
Source RPM: drakconf-12.60-2.mga6.src.rpm => gtk+3.0

Comment 4 Thierry Vignaud 2015-12-02 08:35:28 CET
*** Bug 17247 has been marked as a duplicate of this bug. ***

CC: (none) => westel

Thierry Vignaud 2015-12-02 08:36:00 CET

Component: Release (media or process) => RPM Packages
Source RPM: gtk+3.0 => gtk+2.0, gtk+3.0

Comment 5 Thierry Vignaud 2015-12-02 08:39:53 CET
Actually lib{64,}gtk+{2.0_0,3_0} do pull glib2.0-common
So sg must be fishy in the gtk+ stack.
Do you have a /usr/share/glib-2.0/schemas/gschemas.compiled files?

Keywords: (none) => NEEDINFO

Comment 6 Thierry Vignaud 2015-12-02 08:42:45 CET
But gsettings-desktop-schemas is not pulled by gtk+.
Only by gnome-session/gnome-shell & a couple gtk+ apps (such as gitg or nautilus).

It should be pulled by lib(64)gtk+[23] if it's mandated for any gtk+[23] application!!!

Keywords: NEEDINFO => (none)
Summary: drakconf crashes in Live Plasma5 desktop in absence of GSettings schemas => drakconf crashes in Live Plasma5 desktop b/c gsettings-desktop-schemas is not pulled by libgtk+[23]

Thierry Vignaud 2015-12-02 08:45:55 CET

Priority: Normal => High
Severity: normal => major

William Kenney 2015-12-02 13:47:17 CET

CC: (none) => wilcal.int

Comment 7 Thierry Vignaud 2015-12-02 19:59:16 CET
Should be fixed in latest gtk+[23]

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

Comment 8 Ben McMonagle 2015-12-02 21:23:28 CET
valid for Mageia-6-dev1-i586-DVD.iso: Sun Nov 29 21:42:03 CET 2015 LXDE install
Comment 9 Olav Vitters 2015-12-02 21:54:24 CET
GTK+2.0 doesn't make use of gsettings. Do a grep -r g_setting and you'll se

GTK+3.0 delivers the gsettings/schemas it needs with the package.

This is not fixed properly.

Status: RESOLVED => UNCONFIRMED
Resolution: FIXED => (none)
Ever confirmed: 1 => 0

Comment 10 psyca 2015-12-03 00:26:53 CET
Same here

[root@localhost nutzer]# mcc
Vector smash protection is enabled.
"/usr/sbin/drakmenustyle" is not executable [Menus] at /usr/libexec/drakconf line 831.
"/usr/sbin/drakbackup" is not executable [Backups] at /usr/libexec/drakconf line 831.
"/usr/sbin/tomoyo-gui" is not executable [Tomoyo Policy] at /usr/libexec/drakconf line 831.
openjdk version "1.8.0_65"
OpenJDK Runtime Environment (build 1.8.0_65-b17)
OpenJDK 64-Bit Server VM (build 25.65-b01, mixed mode)

(drakconf:2379): GLib-GIO-ERROR **: No GSettings schemas are installed on the system

CC: (none) => linux

Comment 11 psyca 2015-12-03 00:33:56 CET
btw: Deskopmanager : LXDE
Comment 12 psyca 2015-12-03 16:46:09 CET
For me MCC works now.
Comment 13 psyca 2015-12-03 16:57:55 CET
Sry. No it doesnt. I installed some packages/programs and it installed the missing lib/schemas (as dependency for those packages) too.
Comment 14 Ben McMonagle 2015-12-03 19:54:55 CET
valid for Mageia-6-dev1-x86_64-DVD.iso: Sun Nov 29 21:51:31 CET 2015 LXDE after updates as part of installation.

current work-a-round is to urpmi nautilus + dependencies
Comment 15 Atilla ÖNTAŞ 2015-12-06 01:38:12 CET
Today i tested Mageia-6-dev1-i586-DVD.iso on VM. Selected MATE De only. Lightdm refused to start Mate, X restarts instead. Journalctl logs show me that there are "No Gsettings schemas installed".

Upon installing this iso, there are lots of script failed messages but they did not show which packages script failed.

I went to tty2 and compiled gschemas my self:
glib-compile-schemas /usr/share/glib-2.0/schemas

Then i can log into a working Mate session.So, it is likely that schemas installed but rpm filetriggers failing to compile schemas.

CC: (none) => tarakbumba

Dick Gevers 2015-12-06 01:51:43 CET

Whiteboard: (none) => 6dev1

Atilla ÖNTAŞ 2015-12-06 21:48:05 CET

Status: UNCONFIRMED => NEW
Ever confirmed: 0 => 1

Comment 16 Thierry Vignaud 2015-12-07 09:00:28 CET
What's the report of "rpm -qf /usr/share/glib-2.0/schemas/*|sort -u" on affected machines?
Comment 17 Atilla ÖNTAŞ 2015-12-07 17:33:28 CET
(In reply to Thierry Vignaud from comment #16)
> What's the report of "rpm -qf /usr/share/glib-2.0/schemas/*|sort -u" on
> affected machines?

[atilla@localhost ~]$ rpm -qf /usr/share/glib-2.0/schemas/*|sort -u
atril-1.12.0-1.mga6
caja-schemas-1.12.0-1.mga6
cheese-3.18.1-1.mga6
dconf-editor-3.19.2-1.mga6
empathy-3.12.11-1.mga6
engrampa-1.12.0-1.mga6
evolution-data-server-3.19.2-1.mga6
folks-common-0.11.2-1.mga6
gcr-3.18.0-1.mga6
glib2.0-common-2.47.3-1.mga6
gnome-keyring-3.18.3-1.mga6
gnome-online-accounts-3.19.2-1.mga6
gnome-packagekit-common-3.18.0-1.mga6
gsettings-desktop-schemas-3.19.2-1.mga6
gthumb-3.4.1-1.mga6
gtk+3.0-3.19.3-2.mga6
gucharmap-3.18.2-1.mga6
gvfs-1.26.2-1.mga6
libgweather-3.18.1-1.mga6
libmatekbd-1.12.0-1.mga6
libmateweather-1.12.0-1.mga6
marco-1.12.0-1.mga6
mate-control-center-1.12.0-1.mga6
mate-desktop-schemas-1.12.0-1.mga6
mate-notification-daemon-1.12.0-1.mga6
mate-panel-1.12.0-1.mga6
mate-power-manager-1.12.0-1.mga6
mate-screensaver-1.12.0-1.mga6
mate-session-manager-1.12.0-1.mga6
mate-settings-daemon-1.12.0-1.mga6
mate-terminal-1.12.0-1.mga6
mousetweaks-3.12.0-3.mga5
pluma-1.12.0-1.mga6
telepathy-logger-0.8.2-1.mga6
telepathy-mission-control-5.16.3-4.mga5
totem-3.18.1-1.mga6
yelp-3.19.1-1.mga6


As you can see that gsetings-desktop-schemas already installed. Thus your fix is unneeded. We must fix rpm filetriggers.
Comment 18 Atilla ÖNTAŞ 2015-12-07 18:03:29 CET
Created attachment 7269 [details]
mga6-dev1_Package installation screen in installer

This screen shows the scripts failed errors on installer.
Comment 19 psyca 2015-12-07 18:29:03 CET
Because of the "script failed for" we habe Bug #17217
Comment 20 Ben McMonagle 2015-12-07 19:49:36 CET
valid for : Mageia-6-dev1-LiveDVD-PLASMA5-x86_64-DVD.iso: Sun Dec  6 13:30:00 CET 2015

workaround: urpmi:addmedia....
urpme drakconf
urpmi drakconf [ 31 packages install ]
Comment 21 Atilla ÖNTAŞ 2015-12-07 20:30:38 CET
(In reply to psyca from comment #19)
> Because of the "script failed for" we habe Bug #17217

So, this may in close relation with #17217.
Note that this problem not only occurs with drakconf but applications those use gsettings.
Comment 22 Olav Vitters 2015-12-07 22:55:41 CET
Note that mageia-theme-gnome used to still manually run/call glib-compile-schemas. As this should be handled by file triggers I removed that in mageia-theme mageia-theme-1.5.0.44-3.mga6. Another indicator that something could be up with the filetrigger during install.
Comment 23 Ben McMonagle 2015-12-08 20:03:11 CET
Created attachment 7273 [details]
a method for fixing Live Plasma5 x86 MCC crash

At launch of desktop Plasma5 x86 dvd live system, while in live mode, I check if MCC or Mageia Welcome crash- if so, I open konsole and add online media, urpmi.addmedia --distrib --mirrorlist'......etc, when added I then remove drakconf: urpme drakconf. Orphans are reported, but I don't remove them, and then urpmi drakconf,which pulls in these packages.
Neal Gompa 2015-12-14 21:59:31 CET

CC: (none) => ngompa13
Whiteboard: 6dev1 => (none)

Neal Gompa 2015-12-14 21:59:40 CET

Whiteboard: (none) => 6dev1

Comment 24 Atilla ÖNTAŞ 2015-12-15 15:39:01 CET
(In reply to ben mcmonagle from comment #23)
> Created attachment 7273 [details]
> a method for fixing Live Plasma5 x86 MCC crash
> 
> At launch of desktop Plasma5 x86 dvd live system, while in live mode, I
> check if MCC or Mageia Welcome crash- if so, I open konsole and add online
> media, urpmi.addmedia --distrib --mirrorlist'......etc, when added I then
> remove drakconf: urpme drakconf. Orphans are reported, but I don't remove
> them, and then urpmi drakconf,which pulls in these packages.

This also indicates that it is a rpm-filetrigger issue at distro install time. It is obvious that removing and reinstalling drakconf triggers glib-compile-schemas and thus workarounds the issue. Problem is finding why scriplets failed at installing Mageia. May be a missed configuration at installer?
Comment 25 Olav Vitters 2015-12-15 18:07:17 CET
IMO this is because of bug 17217.

I'm fairly sure that ldconfig is ran too late as explained in bug 17217 comment 9. Loads of filetriggers fail with error 127. The schema update filetrigger specifically checks if the command it runs exists. No way it can fail with error 127 other than some problem with the command itself.

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

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

Comment 26 Thierry Vignaud 2015-12-23 10:15:30 CET
*** Bug 17382 has been marked as a duplicate of this bug. ***

CC: (none) => bittwister2


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