| Summary: | xorg session starts and hides firstboot at hardware profile page | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Need Real Name <karlcz> |
| Component: | ntp | Assignee: | Miroslav Lichvar <mlichvar> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | bcl, lpoetter, mgracik, mlichvar, nphilipp, pertusus |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-04-07 15:23:52 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Need Real Name
2011-04-06 21:08:02 UTC
Yes, I found about this myself yesterday, so I did already some investigations. The gdm is run during the execution of code in scdMainWindow.py apply() method from system-config-date. I don't know which part exactly causes systemd to run gdm, even though firstboot is not finished yet. Obviously s-c-date doesn't do anything with gdm, I imagine that gdm is started as a side-effect of starting or stopping ntpd in the apply() method. Here are the relevant parts, I've added comments describing the resulting /sbin/service or /sbin/chkconfig calls:
class scdMainWindow(object):
[...]
def apply (self):
[...]
if ntpEnabled == False:
# We're not using ntp, so stop the service
self.dateBackend.stopNtpService ()
# --> /sbin/service ntpd stop
[...]
self.dateBackend.chkconfigOff ()
# --> /sbin/chkconfig --level 2345 ntpd off
elif ntpEnabled == True:
# We want to use NTP
[...]
pid = os.fork ()
if pid == 0:
[...]
retval = self.dateBackend.startNtpService (None)
# --> /sbin/service ntpd (re)start
[...]
os._exit (0)
[...]
self.dateBackend.chkconfigOn ()
# --> /sbin/chkconfig --level 2345 ntpd on
[...]
I'll change the component to ntp for further examination and add Lennart to Cc. Lennart, do you have an idea how starting/stopping ntpd this way can cause gdm to start prematurely?
It's a bug in systemd. Nothing wrong in firstboot. *** This bug has been marked as a duplicate of bug 694079 *** |