<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - every boot hangs for ~20s at a random stage"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71277">71277</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>every boot hangs for ~20s at a random stage
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>yzb3@wp.pl
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>Recently I noticed that my boot has become much slower than before. I ran
systemd-analyze, which reports a silly value:
Startup finished in 584542y 2w 2d 20h 1min 44.604s (loader) + 2.007s (kernel) +
28.255s (userspace) = 30.262s
I tried to identify the culprit service by running systemd-analyze
critical-chain, but it hangs for around 20s at random stages of boot (this time
at sysinit.target, but on previous boot it was systemd-tmpfiles-setup.service,
sometimes it is timers.target or basic.target... you get the point):
multi-user.target @28.255s
└─systemd-logind.service @28.037s +217ms
└─basic.target @28.036s
└─timers.target @28.035s
└─systemd-tmpfiles-clean.timer @28.035s
└─sysinit.target @2.443s
└─systemd-update-utmp.service @2.306s +136ms
└─systemd-tmpfiles-setup.service @2.219s +87ms
└─local-fs.target @2.218s
└─home.mount @2.148s +70ms
└─dev-disk-by\x2duuid-c26e6d9a\x2d0bbb\x2d436a\x2da217\x2d95c738b5b9c6.device
@2.148s
#journalctl -b also doesn't help, not even with the systemd debug kernel
parameter - the point at which the boot pauses for around 20s is random and
debug provides no additional [relevant] information.
systemd-analyze blame reports no service that would explain this pause:
439ms systemd-udev-trigger.service
434ms systemd-sysctl.service
433ms systemd-vconsole-setup.service
433ms sys-kernel-debug.mount
217ms systemd-logind.service
206ms kmod-static-nodes.service
136ms systemd-update-utmp.service
88ms sys-kernel-config.mount
88ms dev-hugepages.mount
87ms systemd-tmpfiles-setup.service
86ms systemd-remount-fs.service
86ms tmp.mount
70ms home.mount
54ms systemd-user-sessions.service
46ms systemd-tmpfiles-setup-dev.service
37ms <a href="mailto:user@1000.service">user@1000.service</a>
27ms <a href="mailto:systemd-backlight@acpi_video0.service">systemd-backlight@acpi_video0.service</a>
20ms systemd-journal-flush.service
17ms systemd-udevd.service
15ms systemd-random-seed.service
5ms dev-mqueue.mount
5ms alsa-restore.service
Please advise whether I can provide any additional information that could help
resolve this.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>