Forgot the quotes around 'EOF', tested and it works for me.
Make sure you check if the service is enabled

Run the following commands:
---
cat<<'EOF'>bugfix-1759836.service
[Unit]
Description=Fix for 
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1759836

[Service]
Type=oneshot
ExecStart=/bin/bash -c "services='systemd-udevd systemd-udevd-kernel.socket 
systemd-udevd-control.socket';systemctl stop $services;systemctl start 
$services"

[Install]
WantedBy=multi-user.target
EOF

sudo cp bugfix-1759836.service /etc/systemd/system
sudo systemctl enable bugfix-1759836.service

systemctl status bugfix-1759836.service
---
It should display something like:
  Loaded: loaded (/etc/systemd/system/bugfix-1759836.service; enabled; vendor 
preset: enabled)

After a reboot again run:
systemctl status bugfix-1759836.service

Hopefully they get this fixed soon.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1759836

Title:
  systemd-udevd consumes 100% of CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/kernel/+bug/1759836/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to