Bug 924031 - initial-setup-graphical.service fails
Summary: initial-setup-graphical.service fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: initial-setup
Version: 19
Hardware: All
OS: All
unspecified
high
Target Milestone: ---
Assignee: Martin Sivák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedBlocker
: 924032 (view as bug list)
Depends On:
Blocks: F19Alpha, F19AlphaBlocker
TreeView+ depends on / blocked
 
Reported: 2013-03-21 01:06 UTC by Adam Williamson
Modified: 2013-04-04 21:05 UTC (History)
4 users (show)

Fixed In Version: initial-setup-0.3.1-1.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-04 21:05:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Adam Williamson 2013-03-21 01:06:08 UTC
I just tried installing initial-setup and enabling initial-setup-graphical.service in a fresh live image compose (with no gnome-initial-setup) and rebooting. initial-setup fails to run. Here's the error output:

-- Logs begin at Wed 2013-03-20 20:50:19 EDT, end at Wed 2013-03-20 21:00:02 EDT. --
Mar 20 20:58:26 localhost.localdomain xinit[540]: X.Org X Server 1.14.0
Mar 20 20:58:26 localhost.localdomain xinit[540]: Release Date: 2013-03-05
Mar 20 20:58:26 localhost.localdomain xinit[540]: X Protocol Version 11, Revision 0
Mar 20 20:58:26 localhost.localdomain xinit[540]: Build Operating System:  2.6.32-279.19.1.el6.x86_64
Mar 20 20:58:26 localhost.localdomain xinit[540]: Current Operating System: Linux localhost.localdomain 3.9.0-0.rc3.git0.4.fc19.x86_64 #1 SMP Tue Mar 19 23:11:33 UTC 2013 x86_64
Mar 20 20:58:26 localhost.localdomain xinit[540]: Kernel command line: BOOT_IMAGE=/vmlinuz-3.9.0-0.rc3.git0.4.fc19.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/swap rd.md=0 rd.dm=0 rd.luks=0 vconsole.keymap=us rd.lvm.lv=fedora/root rhgb quiet
Mar 20 20:58:26 localhost.localdomain xinit[540]: Build Date: 07 March 2013  12:43:52AM
Mar 20 20:58:26 localhost.localdomain xinit[540]: Build ID: xorg-x11-server 1.14.0-1.fc19
Mar 20 20:58:26 localhost.localdomain xinit[540]: Current version of pixman: 0.28.0
Mar 20 20:58:26 localhost.localdomain xinit[540]: Before reporting problems, check http://wiki.x.org
Mar 20 20:58:26 localhost.localdomain xinit[540]: to make sure that you have the latest version.
Mar 20 20:58:26 localhost.localdomain xinit[540]: Markers: (--) probed, (**) from config file, (==) default setting,
Mar 20 20:58:26 localhost.localdomain xinit[540]: (++) from command line, (!!) notice, (II) informational,
Mar 20 20:58:26 localhost.localdomain xinit[540]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Mar 20 20:58:26 localhost.localdomain xinit[540]: (==) Log file: "/var/log/Xorg.9.log", Time: Wed Mar 20 20:58:26 2013
Mar 20 20:58:26 localhost.localdomain xinit[540]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Mar 20 20:58:26 localhost.localdomain xinit[540]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Mar 20 20:58:26 localhost.localdomain xinit[540]: Initializing built-in extension Generic Event Extension
Mar 20 20:58:26 localhost.localdomain xinit[540]: Initializing built-in extension SHAPE
Mar 20 20:58:26 localhost.localdomain xinit[540]: Initializing built-in extension MIT-SHM
Mar 20 20:58:26 localhost.localdomain xinit[540]: Initializing built-in extension XInputExtension
Mar 20 20:58:26 localhost.localdomain xinit[540]: Initializing built-in extension XTEST
Mar 20 20:58:26 localhost.localdomain xinit[540]: Initializing built-in extension BIG-REQUESTS
Mar 20 20:58:26 localhost.localdomain xinit[540]: Initializing built-in extension SYNC
Mar 20 20:58:26 localhost.localdomain xinit[540]: Initializing built-in extension XKEYBOARD
Mar 20 20:58:26 localhost.localdomain xinit[540]: Initializing built-in extension XC-MISC
Mar 20 20:58:26 localhost.localdomain xinit[540]: Initializing built-in extension XINERAMA
Mar 20 20:58:26 localhost.localdomain xinit[540]: Initializing built-in extension XFIXES
Mar 20 20:58:26 localhost.localdomain xinit[540]: Initializing built-in extension RENDER
Mar 20 20:58:26 localhost.localdomain xinit[540]: Initializing built-in extension RANDR
Mar 20 20:58:26 localhost.localdomain xinit[540]: Initializing built-in extension COMPOSITE
Mar 20 20:58:27 localhost.localdomain xinit[540]: Initializing built-in extension DAMAGE
Mar 20 20:58:27 localhost.localdomain xinit[540]: Initializing built-in extension MIT-SCREEN-SAVER
Mar 20 20:58:27 localhost.localdomain xinit[540]: Initializing built-in extension DOUBLE-BUFFER
Mar 20 20:58:27 localhost.localdomain xinit[540]: Initializing built-in extension RECORD
Mar 20 20:58:27 localhost.localdomain xinit[540]: Initializing built-in extension DPMS
Mar 20 20:58:27 localhost.localdomain xinit[540]: Initializing built-in extension X-Resource
Mar 20 20:58:27 localhost.localdomain xinit[540]: Initializing built-in extension XVideo
Mar 20 20:58:27 localhost.localdomain xinit[540]: Initializing built-in extension XVideo-MotionCompensation
Mar 20 20:58:27 localhost.localdomain xinit[540]: Initializing built-in extension SELinux
Mar 20 20:58:27 localhost.localdomain xinit[540]: Initializing built-in extension XFree86-VidModeExtension
Mar 20 20:58:27 localhost.localdomain xinit[540]: Initializing built-in extension XFree86-DGA
Mar 20 20:58:27 localhost.localdomain xinit[540]: Initializing built-in extension XFree86-DRI
Mar 20 20:58:27 localhost.localdomain xinit[540]: Initializing built-in extension DRI2
Mar 20 20:58:27 localhost.localdomain xinit[540]: Loading extension GLX
Mar 20 20:58:27 localhost.localdomain xinit[540]: (II) [KMS] drm report modesetting isn't supported.
Mar 20 20:58:27 localhost.localdomain xinit[540]: Ignoring monitor config, device revision < 4
Mar 20 20:58:27 localhost.localdomain xinit[540]: resizing surface0 to 16777216
Mar 20 20:58:27 localhost.localdomain xinit[540]: memory space from 0x7fa0950e6000 to 0x7fa0980e3000
Mar 20 20:58:27 localhost.localdomain xinit[540]: memory space from 0x7fa0900e6000 to 0x7fa0940e6000
Mar 20 20:58:27 localhost.localdomain xinit[540]: skipping mode 2560x2048 not fitting in surface0skipping mode 2800x2100 not fitting in surface0skipping mode 3200x2400 not fitting in surface0resizing surface0 to 16777216
Mar 20 20:58:27 localhost.localdomain xinit[540]: memory space from 0x7fa095902000 to 0x7fa0988ff000
Mar 20 20:58:27 localhost.localdomain xinit[540]: memory space from 0x7fa090902000 to 0x7fa094902000
Mar 20 20:58:28 localhost.localdomain xinit[540]: slots start: 1, slots end: 7
Mar 20 20:58:28 localhost.localdomain xinit[540]: done reset
Mar 20 20:58:28 localhost.localdomain xinit[540]: resizing primary to 1024x768
Mar 20 20:58:28 localhost.localdomain xinit[540]: primary is 0x1076600
Mar 20 20:58:28 localhost.localdomain xinit[540]: qxl_surface_create: Bad bpp: 1 (1)
Mar 20 20:58:28 localhost.localdomain xinit[540]: qxl_surface_create: Bad bpp: 1 (1)
Mar 20 20:58:28 localhost.localdomain xinit[540]: qxl_surface_create: Bad bpp: 1 (1)
Mar 20 20:58:30 localhost.localdomain xinit[540]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Mar 20 20:58:30 localhost.localdomain xinit[540]: > Warning:          Compat map for group 2 redefined
Mar 20 20:58:30 localhost.localdomain xinit[540]: >                   Using new definition
Mar 20 20:58:30 localhost.localdomain xinit[540]: > Warning:          Compat map for group 3 redefined
Mar 20 20:58:30 localhost.localdomain xinit[540]: >                   Using new definition
Mar 20 20:58:30 localhost.localdomain xinit[540]: > Warning:          Compat map for group 4 redefined
Mar 20 20:58:30 localhost.localdomain xinit[540]: >                   Using new definition
Mar 20 20:58:30 localhost.localdomain xinit[540]: Errors from xkbcomp are not fatal to the X server
Mar 20 20:58:31 localhost.localdomain abrt[672]: detected unhandled Python exception in '/usr/lib/python2.7/site-packages/initial_setup/__main__.py'
Mar 20 20:58:31 localhost.localdomain xinit[540]: Traceback (most recent call last):
Mar 20 20:58:31 localhost.localdomain xinit[540]: File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
Mar 20 20:58:31 localhost.localdomain xinit[540]: "__main__", fname, loader, pkg_name)
Mar 20 20:58:31 localhost.localdomain xinit[540]: File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
Mar 20 20:58:31 localhost.localdomain xinit[540]: exec code in run_globals
Mar 20 20:58:31 localhost.localdomain xinit[540]: File "/usr/lib/python2.7/site-packages/initial_setup/__main__.py", line 49, in <module>
Mar 20 20:58:31 localhost.localdomain xinit[540]: data = kickstart.AnacondaKSHandler(addon_module_paths["ks"], commandUpdates=commandMap)
Mar 20 20:58:31 localhost.localdomain xinit[540]: TypeError: __init__() got an unexpected keyword argument 'commandUpdates'
Mar 20 20:58:31 localhost.localdomain xinit[540]: /bin/xinit: connection to X server lost
Mar 20 20:58:32 localhost.localdomain xinit[540]: waiting for X server to shut down Disabling FB access for 0
Mar 20 20:58:32 localhost.localdomain xinit[540]: .Server terminated successfully (0). Closing log file.
Mar 20 20:58:33 localhost.localdomain systemctl[964]: rm '/etc/systemd/system/graphical.target.wants/initial-setup-graphical.service'

Comment 1 Adam Williamson 2013-03-21 01:09:38 UTC
*** Bug 924032 has been marked as a duplicate of this bug. ***

Comment 2 Adam Williamson 2013-03-21 01:11:31 UTC
Proposing as Alpha blocker - if this is confirmed in a straightforward KDE image case, it would violate "A system installed with a graphical package set must boot to the 'firstboot' utility on the first boot after installation. The firstboot utility must be able to create a working user account."

Comment 3 Martin Sivák 2013-03-21 09:34:25 UTC
What is the version of installed anaconda package?

Comment 4 Martin Sivák 2013-03-21 10:01:49 UTC
Ah, now I see it, it needs newer anaconda. It should be fixed when anaconda-19.13 gets built.

Comment 5 Adam Williamson 2013-03-21 17:01:57 UTC
clearing needinfo, then.

Comment 6 Martin Sivák 2013-03-22 10:02:30 UTC
I fixed one more bug related to the anaconda changes that caused this failure and updated the spec file dependencies.

Comment 7 Adam Williamson 2013-03-27 17:15:24 UTC
Discussed at 2013-03-27 blocker review meeting: http://meetbot.fedoraproject.org/fedora-blocker-review/2013-03-27/f19alpha-blocker-review-3.2013-03-27-16.01.log.txt . Accepted as a blocker per criterion cited in comment #2. Note that bcl was not a fan of the idea of initial-setup having a package dependency on anaconda, which seems to have been the 'fix' for this: we might want to change that.

Comment 8 Adam Williamson 2013-04-03 01:38:21 UTC
As of 0.3.4-1.fc19, the fix for this is still:

Requires: anaconda >= 19.13

bcl, are you happy with that as a fix? If so, we should close this. If not, we need to fix the fix.

Comment 9 Adam Williamson 2013-04-03 23:40:14 UTC
The problem with requiring anaconda at run-time is it'll mean any graphical install will pull in all of anaconda's package deps; it's kind of messy and unnecessary. I'd suggest we can actually just live without an explicit 'fix' for this; we can just assume any image with initial-setup in it will be built with a new-enough anaconda, the dep really isn't necessary.

Comment 10 Martin Sivák 2013-04-04 09:16:06 UTC
The dependency is necessary. Initial-setup uses  a lot of anaconda code. dlehman worked on splitting the package into two smaller ones though.

Comment 11 Adam Williamson 2013-04-04 21:04:05 UTC
ah, I see. in that case, yeah, it'd be good to split it up so we don't have to drag the whole of anaconda into installed systems.

Comment 12 Adam Williamson 2013-04-04 21:05:55 UTC
this is fixed, per above: improving things so we don't need the anaconda dep would be a different bug.


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