Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1509496 - gnome-shell seems to require libnm-gtk; should require
Summary: gnome-shell seems to require libnm-gtk; should require
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-shell
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Owen Taylor
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedBlocker
: 1503864 1518619 1525779 (view as bug list)
Depends On:
Blocks: F28BetaBlocker
TreeView+ depends on / blocked
 
Reported: 2017-11-04 01:09 UTC by W. Michael Petullo
Modified: 2018-11-19 10:59 UTC (History)
10 users (show)

Fixed In Version: gnome-shell-3.26.2-3.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-28 02:51:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description W. Michael Petullo 2017-11-04 01:09:01 UTC
Description of problem:
I performed a minimal Fedora install, and then I installed Wayland and GNOME. I found that gnome-shell would not start until I installed libnm-gtk. I suggest the gnome-shell package should depend on libnm-gtk if it will not start without it.

Version-Release number of selected component (if applicable):
gnome-shell-3.26.1-1.fc27.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. Perform a minimal install of Fedora 27
2. Install Wayland and gnome-shell
3. Try to login

Actual results:
Login fails with following log:

Nov 03 20:17:11 dragon.flyn.org gnome-shell[686]: JS ERROR: Error: Requiring NMGtk, version none: Typelib file for namespace 'NMGtk' (any version) not found
@resource:///org/gnome/shell/ui/status/network.js:11:7
AggregateMenu<._init@resource:///org/gnome/shell/ui/panel.js:705:13
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_Base.prototype._construct@resource:///org/gnome/gjs/modules/_legacy.js:18:5
Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/_legacy.js:117:20
Panel<._ensureIndicator@resource:///org/gnome/shell/ui/panel.js:1099:25
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
Panel<._updateBox@resource:///org/gnome/shell/ui/panel.js:1110:29
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
Panel<._updatePanel@resource:///org/gnome/shell/ui/panel.js:1021:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
Panel<._init@resource:///org/gnome/shell/ui/panel.js:822:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_Base.prototype._construct@resource:///org/gnome/gjs/modules/_legacy.js:18:5
Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/_legacy.js:117:20
_initializeUI@resource:///org/gnome/shell/ui/main.js:172:13
start@resource:///org/gnome/shell/ui/main.js:126:5
@<main>:1:31
Nov 03 20:17:11 dragon.flyn.org gnome-shell[686]: Execution of main.js threw exception: JS_EvaluateScript() failed

Expected results:
Login should succeed.

Additional info:

Comment 1 braylynn 2017-12-13 23:12:57 UTC
I discovered this today as well. I was trying to do a minimal install of Fedora with GNOME like so:

1.  Use the netinstall ISO "Minimal install" option
2.  dnf install gnome-shell @base-x
3.  systemctl enable gdm.service
4.  systemctl set-default graphical.target

After bootup all I would get is a black screen and a cursor.

Upon installing libnm-gtk, everything works fine.

Comment 2 Adam Williamson 2017-12-19 22:44:28 UTC
This is actually preventing Rawhide Workstation live images from booting ever since Fedora-Rawhide-20171201.n.0. Composes before that one pulled libnm-gtk into the Workstation live images somehow, but composes from that date onwards do not, and sure enough, GNOME fails to start on boot with the same error reported here:

Dec 19 04:07:20 localhost-live gnome-shell[1329]: JS ERROR: Error: Requiring NMGtk, version none: Typelib file for namespace 'NMGtk' (any version) not found
                                                  @resource:///org/gnome/shell/ui/status/network.js:11:7

Looking at an F27 Workstation live, libnm-gtk seems to have been pulled in by some NetworkManager plugins - NetworkManager-openvpn-gnome , NetworkManager-pptp-gnome and NetworkManager-vpnc-gnome . It seems that the dropping of libnm-glib also somehow results in those packages no longer depending on libnm-gtk , and since gnome-shell is missing the dependency, it is left out of the live image entirely.

This is an automatic F28 Beta blocker, per "Complete failure of any release-blocking TC/RC image to boot at all under any circumstance - "DOA" image (conditional failure is not an automatic blocker)" - https://fedoraproject.org/wiki/QA:SOP_blocker_bug_process#Automatic_blockers

Comment 3 Adam Williamson 2017-12-19 22:46:55 UTC
<kalev> should be fixed in gnome-shell-3.27.1-3.fc28

so for Rawhide purposes this is MODIFIED, but for F27 we'd need an update.

Comment 4 Fedora Update System 2017-12-19 23:07:37 UTC
gnome-shell-3.26.2-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-85b6c8a430

Comment 5 lnie 2017-12-20 06:59:21 UTC
*** Bug 1525779 has been marked as a duplicate of this bug. ***

Comment 6 Yanko Kaneti 2017-12-20 07:44:12 UTC
*** Bug 1503864 has been marked as a duplicate of this bug. ***

Comment 7 Fedora Update System 2017-12-21 20:24:59 UTC
gnome-shell-3.26.2-3.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-85b6c8a430

Comment 8 Fedora Update System 2017-12-28 02:51:52 UTC
gnome-shell-3.26.2-3.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Cristian Ciupitu 2018-11-19 10:59:39 UTC
*** Bug 1518619 has been marked as a duplicate of this bug. ***


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