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 1313098

Summary: liveinst does not work in Wayland (consolehelper)
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, dshea, g.kaviyarasu, jonathan, juliux.pigface, kparal, robatino, samuel-rhbugs, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: anaconda-24.13.1-1 anaconda-24.13.1-1.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-26 18:14:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Adam Williamson 2016-02-29 23:13:43 UTC
Recent F24 / Rawhide Workstation live images boot to Wayland (when they work at all). The live installer does not launch from the welcome screen or the overview. This is because the launcher runs /usr/bin/liveinst , which attempts to run /usr/sbin/liveinst through the consolehelper system. consolehelper (and most other methods for running GUI apps 'as root') does not work under Wayland: that is https://bugzilla.redhat.com/show_bug.cgi?id=1274451 . We are filing this issue separately because this *specific* case (the live installer) is a clear release blocking bug, and it may be possible to solve it in some way other than 'make consolehelper work on Wayland', so it's useful to have a specific bug. We could, for instance, elevate privileges via PolicyKit in some way.

I've actually tested and verified the bug, BTW, it's no longer theoretical - I booted the 2016-02-25 Rawhide Workstation nightly live on bare metal with enforcing=0. That booted to Wayland (I get X in VMs, for some reason) and indeed the installer fails to run. If you run /usr/bin/liveinst from a console you see a couple of "Unable to init server: Could not connect: Connection refused" errors, then anaconda gets very confused and dies in a sad pile of GTK+ errors.

Proposing as an Alpha blocker, this violates "The installer must run when launched normally from the release-blocking images." - https://fedoraproject.org/wiki/Fedora_24_Alpha_Release_Criteria#Installer_must_run

Comment 1 Adam Williamson 2016-03-02 16:22:30 UTC
Per today's workstation meeting:

https://meetbot.fedoraproject.org/fedora-meeting/2016-03-02/workstation.2016-03-02-15.00.html

it seems like Wayland-by-default is likely being delayed, but the decision doesn't appear *entirely* clear so I'm going to leave this as a proposed blocker at least until we see the default actually change back.

Comment 2 David Shea 2016-03-02 21:02:26 UTC
https://github.com/rhinstaller/anaconda/pull/537

If wayland continues to be the default in rawhide it'd be nice to have it fixed there anyway.

Comment 3 Giulio 'juliuxpigface' 2016-03-06 08:50:18 UTC
*** Bug 1310403 has been marked as a duplicate of this bug. ***

Comment 4 Kamil Páral 2016-03-07 17:18:48 UTC
Discussed at today's blocker review meeting [1]. Accepted as an Alpha blocker - as the bits currently stand, this is a clear blocker. switching the lives back to X (as will apparently happen) would be an acceptable resolution.

[1] https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2016-03-07/

Comment 5 Adam Williamson 2016-03-08 19:00:40 UTC
gnome-session-3.19.91-2 landed in F24 today and reverted to X11, which makes this bug no longer a blocker, per #c4. Dropping blocker status.

Comment 6 Fedora Update System 2016-03-09 16:32:09 UTC
anaconda-24.13.1-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d85d9ad927

Comment 7 Fedora Update System 2016-03-10 01:55:05 UTC
anaconda-24.13.1-1.fc24 has been pushed to the Fedora 24 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-2016-d85d9ad927

Comment 8 Fedora Update System 2016-03-26 18:14:45 UTC
anaconda-24.13.1-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.