udev - Wait for Complete Device Initialization - drive that doesn't exist

Was working with an external drive connected via USB.

Since then, OpenSUSE is slow to boot, hanging for 90 seconds at a udev message regarding “Wait for Complete Device Initialization” searching for a drive UUID that no longer exists.

How to fix?


systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @1min 38.942s
└─**display-manager.service @1min 38.307s +635ms**
  └─time-sync.target @1min 38.296s
    └─**chronyd.service @1min 38.243s +52ms**
      └─network.target @1min 38.241s
        └─**wicked.service @1min 32.322s +5.918s**
          └─**wickedd-nanny.service @1min 32.283s +38ms**
            └─**wickedd.service @1min 31.970s +310ms**
              └─**wickedd-dhcp6.service @1min 31.930s +38ms**
                └─network-pre.target @1min 31.925s
                  └─**firewalld.service @1min 31.722s +202ms**
                    └─**polkit.service @1min 31.664s +55ms**
                      └─basic.target @1min 31.657s
                        └─sockets.target @1min 31.656s
                          └─virtlogd.socket @1min 31.656s
                            └─sysinit.target @1min 31.647s
                              └─**systemd-update-utmp.service @1min 31.603s +44ms**
                                └─**auditd.service @1min 31.572s +28ms**
                                  └─**systemd-tmpfiles-setup.service @1min 31.531**>
                                    └─local-fs.target @1min 31.523s
                                      └─**tmp.mount @1min 31.518s +4ms**
                                        └─local-fs-pre.target @1.509s
                                          └─**lvm2-monitor.service @1.363s +145ms**
                                            └─dm-event.socket @1.358s
                                              └─system.slice
                                                └─-.slice


It is in your /ect/fstab?

No. That was the first thing I checked.

Although that was the first thing I checked, I checked it again on your suggestion. I spotted what I missed before; that there was a second entry for swap. I didn’t spot it the first time. I don’t know why YaST Partitioner added a second swap entry to fstab for the USB external drive, but that was the issue.

Well, you said “Was working with …”, which rather vague, so I have no idea what all you did.

Nice it is solved now!