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 882037
Summary: | race between adding liveuser and gdm autologin | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mads Kiilerich <mads> | ||||
Component: | spin-kickstarts | Assignee: | Jeroen van Meeuwen <vanmeeuwen+fedora> | ||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | admiller, awilliam, bruno, johannbg, kevin, kparal, mads, rdieter, rhughes, rstrode, vanmeeuwen+fedora | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-02-14 15:53:25 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 752665 | ||||||
Attachments: |
|
Description
Mads Kiilerich
2012-11-30 00:43:31 UTC
seems like gdm.service ( and probably other dm service too ) are missing After=livesys.service or livesys or the livesys lsb header is missing X-Start-Before: gdm or gdm.service This is the after order in F17 and probably should be the same in each *dm.service After=livesys-late.service rc-local.service systemd-user-sessions.service Doing # chkconfig: 345 00 99 # description: Init script for live image. +### BEGIN INIT INFO +# X-Start-Before: gdm.service +### END INIT INFO + . /etc/init.d/functions if ! strstr "\`cat /proc/cmdline\`" rd.live.image || [ "\$1" != "start" ]; then and +sed -i 's,^After=,After=livesys.service livesys-late.service rc-local.service systemd-user-sessions.service ,g' /lib/systemd/system/gdm.service worked for me. A change like that should be nth for f18, but it should probably be figured out exactly what is needed. A full conversion to systemd service would probably be too late for f18. probably better to use display-manager.service instead of gdm.service (which is an alias for gdm.service when appropriate and an alias for other display managers when appropriate) is the sed required? The X-Start-Before should be enough right? *** Bug 854722 has been marked as a duplicate of this bug. *** Richard did some testing and discovered the sed isn't required, but the the .service suffix on the X-Start-Before line is wrong. Created attachment 696962 [details]
patch to fix things
This is what I pushed.
confirmed fixed in f19, fwiw. |