# Boot stalled after latest update with "A start job is running for Create Static Device Nodes"

**URL:** <https://forums.rockylinux.org/t/boot-stalled-after-latest-update-with-a-start-job-is-running-for-create-static-device-nodes/5948>\
**Category:** Rocky Linux Help & Support\
**Created:** [May 2, 2022, 3:14am UTC](https://forums.rockylinux.org/t/boot-stalled-after-latest-update-with-a-start-job-is-running-for-create-static-device-nodes/5948 "2022-05-02T03:14:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ecf](https://avatars.discourse-cdn.com/v4/letter/e/e480ec/32.png) [@ecf](https://forums.rockylinux.org/u/ecf)\
**Post date:** [May 2, 2022, 3:14am UTC](https://forums.rockylinux.org/t/boot-stalled-after-latest-update-with-a-start-job-is-running-for-create-static-device-nodes/5948/1 "2022-05-02T03:14:23Z")

</div>

I am running RL 8.5 and just did a dnf update. When I rebooted I get the message indicated. I tried the previous kernel but that didn’t make a difference. I’ve waited for more than 20 minutes and the job doesn’t finish. Any suggestions on how to debug this?  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![ecf](https://avatars.discourse-cdn.com/v4/letter/e/e480ec/32.png) [@ecf](https://forums.rockylinux.org/u/ecf)\
**Post date:** [May 2, 2022, 1:31pm UTC](https://forums.rockylinux.org/t/boot-stalled-after-latest-update-with-a-start-job-is-running-for-create-static-device-nodes/5948/2 "2022-05-02T13:31:57Z")

</div>

I narrowed it down to systemd-tmpfiles-setup-dev.service  
I saw a post somewhere about someone having the problem when the root directory was no longer owned by root. I checked that with stat -c “%U %G” and the ownership is correct.

I thought it might be SELinux (which is enabled), so I appended enforcing=0 to the end of the command line.

---

<div class="post-metadata">

**Author:** ![ecf](https://avatars.discourse-cdn.com/v4/letter/e/e480ec/32.png) [@ecf](https://forums.rockylinux.org/u/ecf)\
**Post date:** [May 3, 2022, 12:28pm UTC](https://forums.rockylinux.org/t/boot-stalled-after-latest-update-with-a-start-job-is-running-for-create-static-device-nodes/5948/3 "2022-05-03T12:28:25Z")

</div>

I figured it out. This article describes the problem:

> **[System boot process hangs after "Starting udev Kernel Device Manager" being...](https://access.redhat.com/solutions/6317011)**
>
> System hangs during reboot with the following repeated errors. However, the system can boot eventually after 12~13 hours. \[FAILED\] Failed to start udev Kernel Device Manager. See \`systemctl status systemd-udevd.service' for dtails. \[OK \] Stopped...

It turns there is a problem with udev initialization that has to do with groups. I use NIS and had nis first for groups in nsswitch.conf. This causes a problem because at the time this service starts rpcbind is not yet started. This lead to a failure in starting udev Kernel Device Manager, which in turn led to a failure in creating the /dev static nodes. At least that is my understanding. I fixed it, as suggested in the above link, by putting files first in the group line of nsswitch.conf.

Debugging this was kind of hard. What ultimately helped was stepping through the spawned processes one-by-one and carefully looking at the log messages. It didn’t work to try to boot into emergency or rescue mode because the failure happened earlier in boot than those things.

To do that I added:  
plymouth.enable=0 systemd.confirm\_spawn=true systemd.debug-shell=1 systemd.log\_level=debug systemd.unit=multi-user.target  
to the end of my boot line. Having the debug shell and confirming what was happening step-by-step was helpful. These boot entries came from:  
[https://www.thegeekdiary.com/how-to-debug-systemd-boot-process-in-centos-rhel-7-and-8/](https://www.thegeekdiary.com/how-to-debug-systemd-boot-process-in-centos-rhel-7-and-8/)

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:50am UTC](https://forums.rockylinux.org/t/boot-stalled-after-latest-update-with-a-start-job-is-running-for-create-static-device-nodes/5948/4 "2023-08-25T03:50:24Z")

</div>

Closed on August 25, 2023, 3:50am UTC


