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
-
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.
