Bug 1599066 - Slow boot - system waits for some timeouts
Summary: Slow boot - system waits for some timeouts
Keywords:
Status: CLOSED DUPLICATE of bug 1559281
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-08 12:41 UTC by Vít Ondruch
Modified: 2018-07-18 12:34 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-07-18 12:34:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
journalctl output (656.87 KB, text/plain)
2018-07-08 12:43 UTC, Vít Ondruch
no flags Details
AVC (36.06 KB, text/plain)
2018-07-09 11:17 UTC, Vít Ondruch
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1559281 0 unspecified CLOSED systemd services with DynamicUser=yes fail: avc: denied { create } for pid=1465 comm="(imesyncd)" name=".pwd.lock 2021-02-22 00:41:40 UTC

Internal Links: 1559281

Description Vít Ondruch 2018-07-08 12:41:36 UTC
Description of problem:
With the update to systemd 239, I started to experience really slow boot. It appears the boot waits several times for some timeouts. First it waits before the GMD is shown, then it waits probably twice after login. That way, the boot takes like 3 minutes instead of 30 seconds I was used to.

Version-Release number of selected component (if applicable):
systemd-239-1.fc29.x86_64


How reproducible:
Always


Steps to Reproduce:
1. Reboot computer
2.
3.

Actual results:
The boot is slow, it seems it is waiting several times for some timeout.


Expected results:
Boot is smooth and quick.


Additional info:
For the time being, I have reverted to older systemd:

$ rpm -q systemd
systemd-238-8.git0e0aa59.fc29.x86_64

Comment 1 Vít Ondruch 2018-07-08 12:43:42 UTC
Created attachment 1457273 [details]
journalctl output

For example, see the first ~20s gap in the attached log between Jul 08 14:17:58 and Jul 08 14:18:20 or another between Jul 08 14:20:30 and Jul 08 14:20:54

Comment 2 Vít Ondruch 2018-07-09 11:16:43 UTC
It seems this helps:

~~~
$ diff -u nsswitch.conf.bak /etc/nsswitch.conf
--- nsswitch.conf.bak	2018-07-09 13:12:54.015334860 +0200
+++ /etc/nsswitch.conf	2018-07-09 13:14:14.720222274 +0200
@@ -30,9 +30,9 @@
 #shadow:    db files nisplus nis
 #group:     db files nisplus nis
 
-passwd:      sss files systemd
+passwd:      sss files
 shadow:     files sss
-group:       sss files systemd
+group:       sss files
 
 #hosts:     db files nisplus nis dns
 hosts:      files mdns4_minimal [NOTFOUND=return] dns myhostname
~~~

Comment 3 Vít Ondruch 2018-07-09 11:17:48 UTC
Created attachment 1457439 [details]
AVC

And there is lot of AVCs, so this seems to be related to bug 1559281

Comment 4 Zbigniew Jędrzejewski-Szmek 2018-07-18 12:34:37 UTC
Seems to be the same indeed, let's track this there.

*** This bug has been marked as a duplicate of bug 1559281 ***


Note You need to log in before you can comment on or make changes to this bug.