0

I've had this issue for quite some time now, even before Juno. So I installed Juno last night, everything went smoothly. The first couple of boots were pretty fast. But then after doing all the updates and everything, it went back to a slow boot time. It takes about two minutes to boot the system.

And it's not that it just takes a long time, I could probably live with that, but something odd is happening as well. So every time I boot, the PC beeps (as it usually does, once) - then I have a black screen for over a minute, then it's almost as if the PC reboots itself and beeps again, and after the second beep the PC boots up pretty fast. So it's almost as if it's rebooting every single time I start the system.

Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               60
Model name:          Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
Stepping:            3
CPU MHz:             2197.156
CPU max MHz:         3600,0000
CPU min MHz:         800,0000
BogoMIPS:            6384.85
Virtualization:      VT-x
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            6144K
NUMA node0 CPU(s):   0-3
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts flush_l1d

.

$ systemd-analyze critical-chain


graphical.target @27.024s
└─multi-user.target @27.024s
└─getty.target @27.023s
└─getty@tty1.service @27.023s
  └─system-getty.slice @27.023s
    └─setvtrgb.service @26.973s +49ms
      └─systemd-user-sessions.service @1.227s +3ms
        └─network.target @1.227s
          └─NetworkManager.service @512ms +714ms
            └─dbus.service @487ms
              └─basic.target @420ms
                └─paths.target @420ms
                  └─cups.path @420ms
                    └─sysinit.target @413ms
                      └─systemd-timesyncd.service @283ms +129ms
                        └─systemd-tmpfiles-setup.service @270ms +11ms
                          └─systemd-journal-flush.service @164ms +104ms
                            └─systemd-journald.service @117ms +46ms
                              └─syslog.socket @111ms
                                └─system.slice @110ms
                                  └─-.slice @109ms

.

$ sudo systemd-analyze

Startup finished in 2.350s (kernel) + 27.344s (userspace) = 29.695s
graphical.target reached after 27.340s in userspace

Edit: I have pretty much narrowed it down now. And it seems like it's the org.freedesktop.login1 and org.freedesktop.hostname1 service that are having a hard time getting started at boot:

Mar 20 00:12:11 johan systemd[1]: Starting Hostname Service...
Mar 20 00:12:11 johan dbus-daemon[694]: [system] Activating via systemd: service name='org.freedesktop.login1' unit='dbus-org.freedesktop.login1.service' requested by ':1.7' (uid=0 pid=688 comm="/usr/bin/pantheon-parental-controls-daemon " label="unconfined")
Mar 20 00:12:12 johan avahi-daemon[685]: Server startup complete. Host name is johan.local. Local service cookie is 2228312584.
Mar 20 00:12:17 johan set-cpufreq[677]: Setting powersave scheduler for all CPUs
Mar 20 00:12:37 johan NetworkManager[715]: <info>  [1553037156.8072] hostname: hostname: hostnamed not used as proxy creation failed with: Error calling StartServiceByName for org.freedesktop.hostname1: Timeout was reached
Mar 20 00:12:37 johan NetworkManager[715]: <info>  [1553037156.8073] hostname: hostname changed from (none) to "johan"
Mar 20 00:12:37 johan dbus-daemon[694]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.14' (uid=0 pid=715 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Mar 20 00:12:37 johan pantheon-parent[688]: file src/daemon/src@daemon@@pantheon-parental-controls-daemon@exe/SessionManager.c: line 275: unexpected error: Error calling StartServiceByName for org.freedesktop.login1: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.freedesktop.login1': timed out (service_start_timeout=25000ms) (g-dbus-error-quark, 20)
Mar 20 00:12:37 johan pantheon-parent[688]: pc_daemon_session_manager_start: assertion 'self != NULL' failed

I sadly have no idea how to sort this out however.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.