<div dir="auto">Thanks! That helped a lot.</div><div dir="auto"><br></div><div dir="auto">Reinstalling udev fixed the problem.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 16 Sep 2023 at 07:07, Mantas Mikulėnas <<a href="mailto:grawity@gmail.com">grawity@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>.device units wait for <b>udev</b> to broadcast the uevent about that device being added, which happens after udev has 1. received the initial kernel uevent (either real or produced by systemd-udev-trigger.service) and 2. finished processing all its .rules for that device (which means everything that rules launched from RUN= must have exited, etc).<div dir="auto"><br></div><div dir="auto">Only devices that udev rules have tagged with TAG+="systemd" will produce .device units; generally 99-systemd.rules will add that to disk devices.<br><div dir="auto"><br></div><div dir="auto">If any of the rules have marked the device with ENV{SYSTEMD_READY}="0", the .device unit will keep waiting until another event removes that.</div></div></div></div><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Sep 16, 2023, 07:54 Philip Couling <<a href="mailto:couling@gmail.com" target="_blank">couling@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><span style="color:rgb(0,0,0);font-family:-apple-system,HelveticaNeue;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;display:inline!important;float:none">I'm trying to understand what a system is timing out waiting for a device in /etc/fstab when a simple "mount -av" will succeed.</span><div dir="auto" style="color:rgb(0,0,0);font-family:-apple-system,HelveticaNeue;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br></div><div dir="auto" style="color:rgb(0,0,0);font-family:-apple-system,HelveticaNeue;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">To reach systemd, initramfs has already mounted the device as the base layer to an overlay mount used as the root file system, so it's definitely ready to use in the Linux kernel. In /etc/fstab, fsck is set to 0.</div><div dir="auto" style="color:rgb(0,0,0);font-family:-apple-system,HelveticaNeue;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br></div><div dir="auto" style="color:rgb(0,0,0);font-family:-apple-system,HelveticaNeue;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">What condition does systemd wait for that could be timing out on a device that's already mounted?</div><br></div>
</blockquote></div></div></div>
</blockquote></div></div>