Advertisement
ChrisLAS

Mike systemd udev fix

Dec 7th, 2018
529
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. Subject: systemd-udevd 100% fix
  2.  
  3. Message: Hey C,The only proper workaround for 100% systemd-udevd.I'm so awesome its almost ridiculous.
  4.  
  5. cat<<'EOF'>bugfix-1759836.service[Unit]Description=Fix for https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1759836
  6.  
  7. [Service]Type=oneshotExecStart=/bin/bash -c "services='systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket';systemctl stop $services;systemctl start $services"
  8.  
  9. [Install]WantedBy=multi-user.targetEOF
  10.  
  11. sudo cp bugfix-1759836.service /etc/systemd/systemsudo systemctl enable bugfix-1759836.service
  12.  
  13. systemctl status bugfix-1759836.service
  14.  
  15. Permission: I grant permission to read or post this feedback on-air and/or on the website.
  16.  
  17.  
  18.  
  19. Public pastebin link: https://pastebin.com/RLnMZnkV created 12/7/2018, 8:54:35 AM
  20.  
  21. Public pastebin link: https://pastebin.com/ncN76SBW created 12/7/2018, 8:54:49 AM
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement