[Bug 1131076] New: Gnome applications fail to start after zypper update and gets fixed by forcing gsettings-desktop-schemas
http://bugzilla.opensuse.org/show_bug.cgi?id=1131076 Bug ID: 1131076 Summary: Gnome applications fail to start after zypper update and gets fixed by forcing gsettings-desktop-schemas Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: bnc-team-gnome@forge.provo.novell.com Reporter: mail@aitorpazos.es QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0 Build Identifier: This is an issue I've been seeing in my installation for some months now. It is one I don't have an explanation for but I do have a consistent workaround to fix it when it happens. Last time it happened, I spent the time on gathering logs and info that may help getting to the bottom of it. So this is what happens: - After some zypper updates, Firefox and any other apps that use Gnome libraries fail to start (I use KDE as my desktop environment). The reported error is: ``` (firefox:11159): GLib-GIO-ERROR **: 16:28:47.893: No GSettings schemas are installed on the system ExceptionHandler::GenerateDump cloned child 11168 ExceptionHandler::SendContinueSignalToChild sent continue signal to child ExceptionHandler::WaitForContinueSignal waiting for continue signal... (crashreporter:11170): GLib-GIO-ERROR **: 16:28:47.984: No GSettings schemas are installed on the system ``` - See the zypper log attached for that update - From experience on other instances of this error, I knew that reinstalling gsettings-desktop-schemas package will solve the issue and therefore, I took a look at the package to see if there was any difference between the contents of the package and the files in my filesystem. There were no differences and I couldn't see any script on the package that will trigger any system change other than replacing the files. - So I proceeded with the re-installation of gsettings-desktop-schemas package (`sudo zypper in --force gsettings-desktop-schemas`) - As expected, Firefox started working again - Checking at the filesystem changes on the `gsettings-desktop-schemas` reinstall using `snapper diff`, there were only rpm database related file changes: ``` Binary files /.snapshots/757/snapshot/usr/lib/sysimage/rpm/Basenames and /.snapshots/758/snapshot/usr/lib/sysimage/rpm/Basenames differ Binary files /.snapshots/757/snapshot/usr/lib/sysimage/rpm/Dirnames and /.snapshots/758/snapshot/usr/lib/sysimage/rpm/Dirnames differ Binary files /.snapshots/757/snapshot/usr/lib/sysimage/rpm/Group and /.snapshots/758/snapshot/usr/lib/sysimage/rpm/Group differ Binary files /.snapshots/757/snapshot/usr/lib/sysimage/rpm/Installtid and /.snapshots/758/snapshot/usr/lib/sysimage/rpm/Installtid differ Binary files /.snapshots/757/snapshot/usr/lib/sysimage/rpm/Name and /.snapshots/758/snapshot/usr/lib/sysimage/rpm/Name differ Binary files /.snapshots/757/snapshot/usr/lib/sysimage/rpm/Packages and /.snapshots/758/snapshot/usr/lib/sysimage/rpm/Packages differ Binary files /.snapshots/757/snapshot/usr/lib/sysimage/rpm/Providename and /.snapshots/758/snapshot/usr/lib/sysimage/rpm/Providename differ Binary files /.snapshots/757/snapshot/usr/lib/sysimage/rpm/Recommendname and /.snapshots/758/snapshot/usr/lib/sysimage/rpm/Recommendname differ Binary files /.snapshots/757/snapshot/usr/lib/sysimage/rpm/Sha1header and /.snapshots/758/snapshot/usr/lib/sysimage/rpm/Sha1header differ Binary files /.snapshots/757/snapshot/usr/lib/sysimage/rpm/Sigmd5 and /.snapshots/758/snapshot/usr/lib/sysimage/rpm/Sigmd5 differ ``` Restarting the system doesn't fix it. Some googling suggests it may be related with the value of `XDG_DATA_DIRS`, but some other reports for other distros seem to suggest the same workaround (reinstalling gsettings-desktop-schemas): https://stackoverflow.com/questions/28953925/glib-gio-error-no-gsettings-sch... https://stackoverflow.com/questions/37510261/ubuntu-meld-no-gsettings-schema... https://forums.freebsd.org/threads/mate-not-starting-with-message-no-gsettin... My `XDG_DATA_DIRS` environment variable (no change between before and after the error): XDG_DATA_DIRS=/home/aitor/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share Any advice would be greatly appreciated. Reproducible: Sometimes Steps to Reproduce: 1. Perform a packages upgrade (`zypper up` or `zypper dup`) Actual Results: Sometimes, after the update, Firefox and other applications using Gnome libraries fail to start: ``` (firefox:11159): GLib-GIO-ERROR **: 16:28:47.893: No GSettings schemas are installed on the system ExceptionHandler::GenerateDump cloned child 11168 ExceptionHandler::SendContinueSignalToChild sent continue signal to child ExceptionHandler::WaitForContinueSignal waiting for continue signal... (crashreporter:11170): GLib-GIO-ERROR **: 16:28:47.984: No GSettings schemas are installed on the system ``` Expected Results: Start Firefox or any other Gnome app as usual Forcing the reinstall of `gsettings-desktop-schemas` package fixes the issue: (`sudo zypper in --force gsettings-desktop-schemas`) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1131076
http://bugzilla.opensuse.org/show_bug.cgi?id=1131076#c1
--- Comment #1 from Aitor Pazos
http://bugzilla.opensuse.org/show_bug.cgi?id=1131076
http://bugzilla.opensuse.org/show_bug.cgi?id=1131076#c2
Dominique Leuenberger
Any advice would be greatly appreciated.
Similar issues have been reported by users running zypper dup while UMASK is not set to a default, which in turn resutls in gsettings-schema-compile to produce a schema.compiled file with too restricted permissions - not allowing users to access the file. Could that be your issue? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1131076
http://bugzilla.opensuse.org/show_bug.cgi?id=1131076#c3
--- Comment #3 from Aitor Pazos
http://bugzilla.opensuse.org/show_bug.cgi?id=1131076
http://bugzilla.opensuse.org/show_bug.cgi?id=1131076#c4
Dominique Leuenberger
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com