Created
October 30, 2021 15:40
-
-
Save n0toose/2c593c1f4f25f58f579fda8d9c9e30c9 to your computer and use it in GitHub Desktop.
Remove libvirtd and all of its sockets out of existence
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I know this is dirty, but come on, starting my Windows virtual machine | |
# just freezes everything and the whole thing won't even respond to `systemctl`. | |
# | |
# Use with root privileges, not my responsibility if you mess things up. | |
pkill -9 libvirt | |
rm -rf /run/libvirtd.pid | |
rm -rf /run/libvirt/interface/driver.pid | |
rm -rf /run/libvirt/secrets/driver.pid | |
rm -rf /run/libvirt/nodedev/driver.pid | |
rm -rf /run/libvirt/network/driver.pid | |
rm -rf /run/libvirt/storage/driver.pid | |
rm -rf /run/libvirt/nwfilter/driver.pid | |
rm -rf /run/libvirt/qemu/driver.pid | |
rm -rf /run/libvirt/lxc/driver.pid | |
rm -rf /run/user/1000/libvirt/network/lib/driver.pid | |
rm -rf /run/user/1000/libvirt/storage/run/driver.pid | |
rm -rf /run/user/1000/libvirt/nodedev/run/driver.pid | |
rm -rf /run/user/1000/libvirt/qemu/run/driver.pid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment