Bug 1325509

Summary: Conflicts parameter for plymouth-quit in gdm.service causes systemd startup process to slow down
Product: [Fedora] Fedora Reporter: Saurav <saurav1.net>
Component: gdmAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-20 19:53:21 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:

Description Saurav 2016-04-09 11:33:06 UTC
Description of problem:
The Conflicts=plymouth-quit.service setting in the [Unit] section of /usr/lib/systemd/system/gdm.service causes the startup process to slow down significantly (as timed manually and also as reported by systemd-analyze) and the GDM login screen to take a long time to appear. Disabling this Conflicts parameter shows a significant reduction in startup time, comparable to those of Fedora Spins which do not use GDM. Alternatively, using a different display manager (such as LightDM) also increases startup speed. On my system, there is a difference of about 10 seconds.

Version-Release number of selected component (if applicable):
gdm-1:3.18.2-2.fc23.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install a Fedora 23 Spin (such as Fedora Xfce or Fedora KDE), or install a display manager other than GDM (such as LightDM) on Fedora 23 Workstation and enable it (systemctl enable --force lightdm.service) so that it is used on the next boot.
2. After logging in, run systemd-analyze and note the total startup time. Also run systemd-analyze critical-chain and note the startup points of multi-user.target and graphical.target (i.e., at what time during the boot process they were started).
3. On the same machine, install Fedora 23 Workstation, or install GDM and enable it on a Fedora Spin (systemctl enable --force gdm.service), so that GDM is used as the display manager on the next boot. For a new installation, (re-)booting a couple of times may be necessary to rule out (apparently) fast initial startups.
4. Wait for the GDM login screen to appear, then after logging in, run systemd-analyze and systemd-analyze critical-chain.

Actual results:
Total startup time is significantly more than comparable startups not using GDM. Verify that multi-user.target and graphical.target start up much later than the other services, and also as compared to a startup not using GDM. Compare the readings to those taken in step 2 above.

NB: Total startup time may be a few seconds more on Fedora 23 Workstation than on a Fedora Spin because of the time taken by libvirtd.service which is enabled by default on Workstation.

Expected results:
Total startup time should be similar to a startup not using GDM. All other distributions on which I have tried GDM have low startup times satisfying this condition.

Additional info:
Disable the Conflicts=plymouth-quit.service line in /usr/lib/systemd/system/gdm.service, reboot and repeat step 4 from above. Verify that the total startup time and the times at which multi-user.target and graphical.target are started have come down and become similar to those for non-GDM startups.
NB: Using a gdm.service file from /etc/systemd/system/ may cause the Plymouth splash to not appear during the shutdown process.

Disabling the Conflicts parameter causes a disruption in the transition from the Plymouth splash screen to the (GDM) login screen instead of allowing the direct transition seen when it is in place. This behaviour (with the disruption) is the same as that on Fedora Spins and also on other distributions which use GDM.

The converse of this situation is true to some extent. Adding a Conflicts=plymouth-quit.service line to another display manager's service unit configuration which is then used may cause some delay in startup (I have seen an increase of about 3 seconds in total startup time in the case of LightDM).

Comment 1 Fedora End Of Life 2016-11-25 07:18:45 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2016-12-20 19:53:21 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.