Avoid boot time stall due to udev rules
The script deployed by the displaylink installer at /opt/displaylink/udev.sh is triggered by udev rules and will run:
systemctl start displaylink-driver
Under certain conditions this will trigger "udevadm settle" to block forever as it leaved processes left and can't return.
I found https://github.com/NixOS/nixpkgs/pull/51760/commits/c72bb28b9cb5138d39647f8fa12394443fea682d which fixes the issue for them.
Applying the same to /opt/displaylink/udev.sh in Ubuntu 20.04 works just fine, the boot is fast again and functionality had no negative impact.
So please could you change this line in your code to be like:
systemctl start --no-block displaylink-driver
-
Peter
commented
Thanks for documenting this issue. I experienced a very similar problem on Ubuntu 24.04 after installing the latest DisplayLink driver.
Boot time increased significantly whenever the DisplayLink dock was connected.
Modifying the udev rule to use systemctl start https://khaleejcalculators.com/
the boot delay while the DisplayLink functionality continued to work normally after login.
It would be great if this change could be included in the official installer, as it appears to improve the user experience without introducing any noticeable side effec -
Ronaldo Ronaldo commented
Gianni Bini brings the perfect balance of style and comfort, so you never have to compromise again. From elegant heels to chic dresses and accessories, every piece is thoughtfully designed for real-life wear without sacrificing beauty. for more information you can visit https://giannibinico.com/gianni-bini-purse-collection-stylish-handbags-for-every-occasion/
-
Noah
commented
Boot stalls from udev rules are often tied to blocking calls or waiting on devices that never initialize. I’ve seen setups improve just by switching to non blocking rules and adding proper timeouts. Keeping track of timing really helps diagnose delays kind of like using simple counters or trackers such as https://www.yawminow.com/ to stay aware of what’s lagging behind in a process.
-
Nixia Silfia commented
শুনুন, আমি অনেকদিন ধরেই ইন্টারন্যাশনালি স্বীকৃত কোনো নিউজ পোর্টাল খুঁজছিলাম যা স্থানীয় সংবাদের ওপরও গুরুত্ব দেয়। অনেক খোঁজাখুঁজির পর আমি https://www.newsroom24bd.org/ সাইটটি খুঁজে পাই এবং এটি আমার পড়ার অভিজ্ঞতা বদলে দিয়েছে। আগে আমি অনেক অগভীর সংবাদ পড়ে সময় নষ্ট করেছি কিন্তু এখানে বিষয়গুলো অনেক আলাদা। বিশেষ করে বাংলাদেশ অঞ্চলের জন্য তাদের যে ডেডিকেটেড কভারেজ রয়েছে তা সত্যিই তথ্যবহুল। যারা সংবাদ নিয়ে নিয়মিত গবেষণা করেন তাদের জন্য এটি একটি ভরসার জায়গা।
-
HexZero
commented
Hey, after being out of school for a while, jumping back into writing tasks felt overwhelming and I kept struggling with every draft. I was browsing student threads about adjusting to coursework when I saw professional writing services https://www.reddit.com/r/BackToClass/comments/1mbhg88/writing_papers_after_being_out_of_school_for_a/ mentioned in a real context, which made me curious enough to try it. I used it during a particularly tight week and finally saw steady progress instead of constant rewrites. That shift gave me confidence again, and I’d suggest it if you’re in the same boat.
-
Jonathan Motzfelt
commented
This.
Thanks for the fix - spend a couple of hours getting frustrated with not being able to boot my Lenovo T14 docked into a DisplayLink dock also from Lenovo. Applied this fix manually and not it worked.Please get this patched into the upstream drivers.
I'm on Ubuntu 21.10 with driver version 5.4.1-55.174, using Lenovo T14 and ThinkPad USB-C Hybrid Dock, version A40.
