{"id":1651,"date":"2016-01-28T22:38:26","date_gmt":"2016-01-28T22:38:26","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=1651"},"modified":"2016-01-31T08:23:19","modified_gmt":"2016-01-31T08:23:19","slug":"fedora-getting-rid-of-unwanted-virtbr0","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=1651","title":{"rendered":"Fedora &#8211; Getting Rid of Unwanted &#8216;virtbr0&#8217;"},"content":{"rendered":"<p>I did a clean install of <strong>Fedora 23<\/strong> on my new &#8216;<em>built from recycled components<\/em>&#8216; crash-and-burn test system recently, and all went reasonably well &#8211; apart from &#8211; apparently &#8211; having to re-partition an already-partitioned drive (!)&#8230;<\/p>\n<p>After booting for the first time, I found that a &#8216;bridged&#8217; network link &#8211; <strong>virtbr0<\/strong> &#8211; was active..\u00a0\u00a0\u00a0 As I did not want\/need this, I tried deactivating\/deleting it, using the usual network commands (<span style=\"font-family: courier new,courier;\"><strong>ifdown<\/strong>, <strong>ifconfig&#8230;down<\/strong><\/span>&#8230;) only to have it reactivated each time..<\/p>\n<p>After a bit of research, this is one way to get rid of it..<\/p>\n<p>Check to see if it is running:<\/p>\n<pre><strong><span style=\"font-family: courier new,courier;\">systemctl status libvirtd.service<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\u25cf libvirtd.service - Virtualization daemon\r\n................etc....<\/span><\/strong><\/pre>\n<p>Kill it (as root):<\/p>\n<pre><strong><span style=\"font-family: courier new,courier;\">systemctl disable libvirt-guests.service<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">systemctl disable libvirtd.service<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">systemctl stop libvirtd.service<\/span><\/strong><\/pre>\n<p>Get rid of all the libvirt stuff:<\/p>\n<pre><strong><span style=\"font-family: courier new,courier;\"># rpm -qa |grep libvirt<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">libvirt-daemon-driver-qemu-1.2.18.2-2.fc23.x86_64<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">libvirt-client-1.2.18.2-2.fc23.x86_64<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">libvirt-gobject-0.2.2-1.fc23.x86_64<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">libvirt-daemon-driver-nodedev-1.2.18.2-2.fc23.x86_64<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">libvirt-daemon-driver-storage-1.2.18.2-2.fc23.x86_64<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">libvirt-daemon-kvm-1.2.18.2-2.fc23.x86_64<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">libvirt-glib-0.2.2-1.fc23.x86_64<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">libvirt-daemon-1.2.18.2-2.fc23.x86_64<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">libvirt-gconfig-0.2.2-1.fc23.x86_64<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">libvirt-daemon-driver-nwfilter-1.2.18.2-2.fc23.x86_64<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">libvirt-daemon-driver-interface-1.2.18.2-2.fc23.x86_64<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">libvirt-daemon-driver-secret-1.2.18.2-2.fc23.x86_64<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">libvirt-daemon-config-network-1.2.18.2-2.fc23.x86_64<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">libvirt-daemon-driver-network-1.2.18.2-2.fc23.x86_64<\/span><\/strong><\/pre>\n<p>But &#8211; <span style=\"text-decoration: underline;\">be careful<\/span>..\u00a0\u00a0 I tried this by just using <strong><span style=\"font-family: courier new,courier;\"># dnf erase libvirt*<\/span><\/strong> but found that this would have also de-installed other software &#8211; including parts of <strong>qemu<\/strong> and <strong>xen<\/strong> &#8211; as well..\u00a0\u00a0 This was unwarranted, as I confirmed by using <strong>rpm<\/strong> to de-install all of libvirt, and this command completed successfully, without needing to use the <strong><span style=\"font-family: courier new,courier;\">&#8211;nodeps<\/span><\/strong> parameter..\u00a0\u00a0\u00a0 The rpm command I used to do this was <strong><span style=\"font-family: courier new,courier;\">#\u00a0rpm -e $(rpm -qa |grep libvirt) gnome-boxes $(rpm -qa |grep virt-)<\/span><\/strong>&#8230;to get rid of associated utilities as well&#8230;<\/p>\n<p>Then just re-start the network..<\/p>\n<pre><strong><span style=\"font-family: courier new,courier;\">systemctl restart network.service<\/span><\/strong><\/pre>\n<p><em>Robert Gadsdon.\u00a0\u00a0 January 28, 2016.<br \/>\n(rpm command example updated &#8211; Jan 30)<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I did a clean install of Fedora 23 on my new &#8216;built from recycled components&#8216; crash-and-burn test system recently, and all went reasonably well &#8211; apart from &#8211; apparently &#8211; having to re-partition an already-partitioned drive (!)&#8230; After booting for the first time, I found that a &#8216;bridged&#8217; network link &#8211; virtbr0 &#8211; was active..\u00a0\u00a0\u00a0 As I <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=1651\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[6,10,1238,11,15,19,20],"tags":[1216,1265,242,1267,1175,1268,1266],"class_list":["post-1651","post","type-post","status-publish","format-standard","hentry","category-crash-and-burn","category-fedora","category-fix","category-hacks","category-linux-2","category-opinion","category-performance-2","tag-fedora-23","tag-libvirt","tag-linux","tag-removal","tag-success","tag-use-rpm","tag-virtbr0"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1651","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1651"}],"version-history":[{"count":3,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1651\/revisions"}],"predecessor-version":[{"id":1655,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1651\/revisions\/1655"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}