Bug 1250409 - Graphical initial setup fails to start on KDE
Summary: Graphical initial setup fails to start on KDE
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: initial-setup
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Kolman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: RejectedBlocker
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-05 10:35 UTC by Petr Schindler
Modified: 2016-02-08 11:04 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-08 11:04:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Schindler 2015-08-05 10:35:45 UTC
Description of problem:
Initial setup isn't started and system boots directly to sddm. No user is created.

Output of systemctl status initial-setup-graphical.service:
● initial-setup-graphical.service - Initial Setup configuration program
   Loaded: loaded (/usr/lib/systemd/system/initial-setup-graphical.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Wed 2015-08-05 11:38:57 CEST; 20min ago
  Process: 861 ExecStart=/bin/xinit /bin/firstboot-windowmanager /bin/initial-setup -- /bin/Xorg :9 -ac -nolisten tcp (code=exited, status=0/SUCCESS)
  Process: 833 ExecStartPre=/bin/plymouth quit (code=exited, status=0/SUCCESS)
 Main PID: 861 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/initial-setup-graphical.service

Aug 05 11:38:55 dhcp-28-126.brq.redhat.com org.a11y.atspi.Registry[1352]: after 21 requests (21 known processed) with 0 events remaining.
Aug 05 11:38:55 dhcp-28-126.brq.redhat.com xinit[861]: waiting for X server to shut down Service started, version:
Aug 05 11:38:55 dhcp-28-126.brq.redhat.com org.a11y.Bus[1274]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Aug 05 11:38:55 dhcp-28-126.brq.redhat.com xinit[861]: No ksycoca database available! Tried running kbuildsycoca5 ?
Aug 05 11:38:55 dhcp-28-126.brq.redhat.com xinit[861]: KServiceTypeTrader: serviceType "ActivityManager/Plugin" not found
Aug 05 11:38:55 dhcp-28-126.brq.redhat.com xinit[861]: The X11 connection broke (error 1). Did the X11 server die?
Aug 05 11:38:55 dhcp-28-126.brq.redhat.com xinit[861]: Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.Disconnected", "Connection is closed")
Aug 05 11:38:56 dhcp-28-126.brq.redhat.com xinit[861]: .error setting MTRR (base = 0xe0000000, size = 0x01000000, type = 1) Invalid argument (22)
Aug 05 11:38:56 dhcp-28-126.brq.redhat.com xinit[861]: (II) Server terminated successfully (0). Closing log file.
Aug 05 11:38:57 dhcp-28-126.brq.redhat.com systemd[1]: Started Initial Setup configuration program.

Version-Release number of selected component (if applicable):
initial-setup-0.3.35-1.fc23.x86_64

How reproducible:
always

Steps to Reproduce:
1. Install system with KDE without creating user
2. Boot

Actual results:
initial-setup fails to start

Expected results:
Initial-setup is provided

Additional info:
I propose this as alpha blocker as it violates the alpha criterion:
Expected installed system boot behavior - 
 A working mechanism to create a user account must be clearly presented during installation and/or first boot of the installed system.

Comment 1 Adam Williamson 2015-08-05 10:38:12 UTC
Note that "and/or" - it's specifically written *not* to require firstboot to work on paths where the installer user creation interface is shown. Basically firstboot is only *required* to work for ARM disk image deployments. (If this bug affects the ARM KDE image, though, that'd be blocker...)

Comment 2 Stephen Gallagher 2015-08-05 13:30:04 UTC
As written, I'm -1 blocker on this. The criteria only requires that at least one of Anaconda or initial-setup provides the option to create a user.

However, if the ARM image also doesn't run initial-setup, that would be a blocker as Adam says, because Anaconda isn't in play to offer user-creation.

Comment 3 Petr Schindler 2015-08-05 16:56:47 UTC
Thanks for clarification of that criterion, I missed that. Then I'm -1 for blocker (if it works on ARM).

Comment 4 Adam Williamson 2015-08-05 17:49:03 UTC
pwhalen is going to test whether this affects the ARM KDE image. I tried but hit too many issues getting some kind of ARM test environment running.

Comment 5 Paul Whalen 2015-08-05 17:58:16 UTC
The KDE Alpha RC1 image booted to initial-setup-text on the ARM, allowing me to create a user.

Comment 6 Stephen Gallagher 2015-08-05 18:20:48 UTC
Excellent! -1 blocker, no more conditions :)

Comment 7 Adam Williamson 2015-08-05 18:29:41 UTC
Marking as rejected blocker with pwhalen's report that the ARM case seems OK (he did try a few boots). Though I guess it could conceivably vary between platforms, if it's racy.

Comment 8 Vratislav Podzimek 2015-08-06 08:00:17 UTC
Seems to me like an issue with either DBus, the X server or kwin according to:

Aug 05 11:38:55 dhcp-28-126.brq.redhat.com org.a11y.Bus[1274]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Aug 05 11:38:55 dhcp-28-126.brq.redhat.com xinit[861]: No ksycoca database available! Tried running kbuildsycoca5 ?
Aug 05 11:38:55 dhcp-28-126.brq.redhat.com xinit[861]: KServiceTypeTrader: serviceType "ActivityManager/Plugin" not found
Aug 05 11:38:55 dhcp-28-126.brq.redhat.com xinit[861]: The X11 connection broke (error 1). Did the X11 server die?
Aug 05 11:38:55 dhcp-28-126.brq.redhat.com xinit[861]: Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.Disconnected", "Connection is closed")
Aug 05 11:38:56 dhcp-28-126.brq.redhat.com xinit[861]: .error setting MTRR (base = 0xe0000000, size = 0x01000000, type = 1) Invalid argument (22)

Comment 9 Giulio 'juliuxpigface' 2015-08-06 19:17:37 UTC
I've just installed a test system from Fedora-Live-KDE-i686-23_Alpha-2.iso, following https://fedoraproject.org/wiki/QA:Testcase_Partitioning_No_Swap.

Please note that I've used a qemu-kvm guest.

But I didn't hit this bug! Since I didn't create a user via Anaconda, initial-setup was correctly started during the first boot.

Strange enough, I remember the opposite scenario during the F22 testing cycle. I recall that initial-setup was working on bare metal but not on a virtual environment (bug #1202113, bug #1185447).

Comment 10 Adam Williamson 2015-08-06 19:22:16 UTC
As long as the bug's been around, it's been like that - there's a racy element to it, whichever of the two services starts up faster wins, it seems.

Comment 11 Vratislav Podzimek 2015-08-07 04:52:43 UTC
(In reply to Adam Williamson from comment #10)
> As long as the bug's been around, it's been like that - there's a racy
> element to it, whichever of the two services starts up faster wins, it seems.

The initial-setup-text.service has this:
Conflicts=initial-setup-graphical.service
After=initial-setup-graphical.service

which used to work like:
1) run GUI IS
2) if it fails, run TUI IS

But that was probably 100 major versions of systemd back so hard to say how it behaves now.

Comment 12 Vratislav Podzimek 2015-08-07 04:54:24 UTC
(In reply to Giulio 'juliuxpigface' from comment #9)
> I've just installed a test system from Fedora-Live-KDE-i686-23_Alpha-2.iso,
> following https://fedoraproject.org/wiki/QA:Testcase_Partitioning_No_Swap.
> 
> Please note that I've used a qemu-kvm guest.
> 
> But I didn't hit this bug! Since I didn't create a user via Anaconda,
> initial-setup was correctly started during the first boot.
> 
> Strange enough, I remember the opposite scenario during the F22 testing
> cycle. I recall that initial-setup was working on bare metal but not on a
> virtual environment (bug #1202113, bug #1185447).
Yes, and even our testing yesterday revealed that X server crashes in VMs when run for the Initial Setup -- segmentation fault in the qxl (SPICE) driver.

Comment 13 Fedora Admin XMLRPC Client 2016-01-11 08:01:00 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.


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